Thu Apr 17 23:14:19 UTC 2025 I: starting to build ansible-lint/unstable/armhf on jenkins on '2025-04-17 23:14' Thu Apr 17 23:14:19 UTC 2025 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_27/14407/console.log Thu Apr 17 23:14:19 UTC 2025 I: Downloading source for unstable/ansible-lint=25.2.1-1 --2025-04-17 23:14:19-- http://deb.debian.org/debian/pool/main/a/ansible-lint/ansible-lint_25.2.1-1.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2608 (2.5K) [text/prs.lines.tag] Saving to: ‘ansible-lint_25.2.1-1.dsc’ 0K .. 100% 374M=0s 2025-04-17 23:14:19 (374 MB/s) - ‘ansible-lint_25.2.1-1.dsc’ saved [2608/2608] Thu Apr 17 23:14:19 UTC 2025 I: ansible-lint_25.2.1-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: ansible-lint Binary: ansible-lint Architecture: all Version: 25.2.1-1 Maintainer: Debian Python Team Uploaders: Samuel Henrique , Gregory Colpart Homepage: https://github.com/ansible-community/ansible-lint Standards-Version: 4.7.0 Vcs-Browser: https://salsa.debian.org/python-team/packages/ansible-lint Vcs-Git: https://salsa.debian.org/python-team/packages/ansible-lint.git Testsuite: autopkgtest-pkg-pybuild Build-Depends: black (>= 24.3.0) , debhelper-compat (= 13), dh-sequence-python3, git , pybuild-plugin-pyproject, python3-all, python3-ansible-compat (>= 25.1.5) , python3-filelock (>= 3.3.0) , python3-importlib-metadata , python3-jmespath , python3-license-expression (>= 30.3.0) , python3-pytest , python3-pytest-mock , python3-pytest-xdist , python3-ruamel.yaml (>= 0.18.5) , python3-setuptools, python3-setuptools-scm, python3-wcmatch , yamllint (>= 1.30.0) Package-List: ansible-lint deb misc optional arch=all Checksums-Sha1: 5c346cc615e16a827b87152408c78f4cd439ee92 498617 ansible-lint_25.2.1.orig.tar.gz d1c6117b6e586d9fc143c9bd4bfe688d58e00c04 10388 ansible-lint_25.2.1-1.debian.tar.xz Checksums-Sha256: e674c211a5c0591843ec1db65142238ac809eaa7f57b2161439b82f306d5b9a3 498617 ansible-lint_25.2.1.orig.tar.gz faeb2412fa930832dbe4d43795c29647b5d0995185f041d336ad1b722b05321a 10388 ansible-lint_25.2.1-1.debian.tar.xz Files: 6589d0f8fb5ef4daf3bf2fba13df8f95 498617 ansible-lint_25.2.1.orig.tar.gz 10ea01bfa0903b7883e5286ede4031d6 10388 ansible-lint_25.2.1-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEBdtqg34QX0sdAsVfu6n6rcz7RwcFAmfy7BoACgkQu6n6rcz7 RwfwsBAAjYT2zrk7/xhm9KbGpsdse6SMQAcNCFkZq2JoIXs3H8Ns9dZfIILs2NLg GSPz/A2oebHx3oZj2OOrHgKBnggPxMccNDIyQuD2/Mp5Jjk+lPTqPYOCfYqLF1Bk wNUa4X91NtjK64p0WpEMY47X1w2fX2sBFg9oTtKjQ5MCWrbo8Go0ACmAaChavmPv 0iVaksz+jrawjRsepyeDO7tTnHRMg3DDzoU7MOitFLn4rU9J0mlltLtKwZg4fJX+ 5NiankjFisWPDsoXTCE6/2i5m3F0kY1Q70P1CvlyBBRtQdM/JXMBV1DBxhEyq3Xw AD6gvW4hKKWZT8wOmgR8d3UyLd+G8B9Xz4i6+9/dyVe15rG/FkCqdmzPvCT2/kNO thwSL5EPvWpXmBMD3Hf8hLv9sF1Gs4/eSqC62Uls8FDMYDlolRY9XdHldKHl8AT2 31jFMzQhX6y8y2A/SJrWPcO0KZFuATo+1Nt6SRTbgH4B+EJ49YM7fcOIhWal0zjx DjvbVdv10qjOTRF+g0lYK4q8vMWwIbtVICa9I6mvnAHTeguPuvtZkwJYvqKT4Jy9 Q43KZpiIfuGIqh7ZgnMher5phJuUDRCCdFQ4JtPCNE9FgmaaM77EwC2WQbDgoHur m2JaNssRV582VbijqA+Kd7uYde3zGSed9g7WWsn4XyvwoD74cOU= =OW6M -----END PGP SIGNATURE----- Thu Apr 17 23:14:19 UTC 2025 I: Checking whether the package is not for us Thu Apr 17 23:14:19 UTC 2025 I: Starting 1st build on remote node virt64z-armhf-rb.debian.net. Thu Apr 17 23:14:19 UTC 2025 I: Preparing to do remote build '1' on virt64z-armhf-rb.debian.net. Thu Apr 17 23:17:05 UTC 2025 I: Deleting $TMPDIR on virt64z-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Apr 17 11:14:24 -12 2025 I: pbuilder-time-stamp: 1744931664 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [ansible-lint_25.2.1-1.dsc] I: copying [./ansible-lint_25.2.1.orig.tar.gz] I: copying [./ansible-lint_25.2.1-1.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./ansible-lint_25.2.1-1.dsc: unsupported subcommand dpkg-source: info: extracting ansible-lint in ansible-lint-25.2.1 dpkg-source: info: unpacking ansible-lint_25.2.1.orig.tar.gz dpkg-source: info: unpacking ansible-lint_25.2.1-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying remove_version_check.patch dpkg-source: info: applying deb-testing.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/5793/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='f146cca3fd1a4be3a89fb42d23890c41' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='5793' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.wbQoyB1W/pbuilderrc_6pcs --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.wbQoyB1W/b1 --logfile b1/build.log ansible-lint_25.2.1-1.dsc' SUDO_GID='110' SUDO_UID='103' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux virt64z 6.1.0-33-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin I: user script /srv/workspace/pbuilder/5793/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: black (>= 24.3.0), debhelper-compat (= 13), dh-sequence-python3, git, pybuild-plugin-pyproject, python3-all, python3-ansible-compat (>= 25.1.5), python3-filelock (>= 3.3.0), python3-importlib-metadata, python3-jmespath, python3-license-expression (>= 30.3.0), python3-pytest, python3-pytest-mock, python3-pytest-xdist, python3-ruamel.yaml (>= 0.18.5), python3-setuptools, python3-setuptools-scm, python3-wcmatch, yamllint (>= 1.30.0) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19566 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on black (>= 24.3.0); however: Package black is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on git; however: Package git is not installed. pbuilder-satisfydepends-dummy depends on pybuild-plugin-pyproject; however: Package pybuild-plugin-pyproject is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-ansible-compat (>= 25.1.5); however: Package python3-ansible-compat is not installed. pbuilder-satisfydepends-dummy depends on python3-filelock (>= 3.3.0); however: Package python3-filelock is not installed. pbuilder-satisfydepends-dummy depends on python3-importlib-metadata; however: Package python3-importlib-metadata is not installed. pbuilder-satisfydepends-dummy depends on python3-jmespath; however: Package python3-jmespath is not installed. pbuilder-satisfydepends-dummy depends on python3-license-expression (>= 30.3.0); however: Package python3-license-expression is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-mock; however: Package python3-pytest-mock is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-xdist; however: Package python3-pytest-xdist is not installed. pbuilder-satisfydepends-dummy depends on python3-ruamel.yaml (>= 0.18.5); however: Package python3-ruamel.yaml is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools-scm; however: Package python3-setuptools-scm is not installed. pbuilder-satisfydepends-dummy depends on python3-wcmatch; however: Package python3-wcmatch is not installed. pbuilder-satisfydepends-dummy depends on yamllint (>= 1.30.0); however: Package yamllint is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: ansible-core{a} autoconf{a} automake{a} autopoint{a} autotools-dev{a} black{a} bsdextrautils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} git{a} git-man{a} groff-base{a} ieee-data{a} intltool-debian{a} libarchive-zip-perl{a} libbrotli1{a} libcbor0.10{a} libcom-err2{a} libcurl3t64-gnutls{a} libdebhelper-perl{a} libedit2{a} libelf1t64{a} liberror-perl{a} libexpat1{a} libffi8{a} libfido2-1{a} libfile-stripnondeterminism-perl{a} libgnutls30t64{a} libgssapi-krb5-2{a} libidn2-0{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libldap2{a} libmagic-mgc{a} libmagic1t64{a} libnghttp2-14{a} libnghttp3-9{a} libngtcp2-16{a} libngtcp2-crypto-gnutls8{a} libp11-kit0{a} libpipeline1{a} libpsl5t64{a} libpython3-stdlib{a} libpython3.13-minimal{a} libpython3.13-stdlib{a} libreadline8t64{a} librtmp1{a} libsasl2-2{a} libsasl2-modules-db{a} libssh2-1t64{a} libtasn1-6{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2{a} libyaml-0-2{a} m4{a} man-db{a} media-types{a} netbase{a} openssh-client{a} openssl{a} po-debconf{a} pybuild-plugin-pyproject{a} python3{a} python3-all{a} python3-ansible-compat{a} python3-attr{a} python3-autocommand{a} python3-bcrypt{a} python3-boolean{a} python3-bracex{a} python3-build{a} python3-cffi-backend{a} python3-click{a} python3-cryptography{a} python3-dnspython{a} python3-execnet{a} python3-filelock{a} python3-httplib2{a} python3-importlib-metadata{a} python3-inflect{a} python3-iniconfig{a} python3-installer{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-jinja2{a} python3-jmespath{a} python3-jsonschema{a} python3-jsonschema-specifications{a} python3-license-expression{a} python3-markupsafe{a} python3-minimal{a} python3-more-itertools{a} python3-mypy-extensions{a} python3-netaddr{a} python3-packaging{a} python3-pathspec{a} python3-pkg-resources{a} python3-platformdirs{a} python3-pluggy{a} python3-pyparsing{a} python3-pyproject-hooks{a} python3-pytest{a} python3-pytest-mock{a} python3-pytest-xdist{a} python3-referencing{a} python3-resolvelib{a} python3-rpds-py{a} python3-ruamel.yaml{a} python3-ruamel.yaml.clib{a} python3-setuptools{a} python3-setuptools-scm{a} python3-subprocess-tee{a} python3-toml{a} python3-typeguard{a} python3-typing-extensions{a} python3-wcmatch{a} python3-wheel{a} python3-yaml{a} python3-zipp{a} python3.13{a} python3.13-minimal{a} readline-common{a} sensible-utils{a} tzdata{a} wget{a} yamllint{a} The following packages are RECOMMENDED but will NOT be installed: ansible krb5-locales less libarchive-cpio-perl libldap-common libltdl-dev libmail-sendmail-perl libsasl2-modules publicsuffix python3-argcomplete python3-babel python3-fqdn python3-h2 python3-httpcore python3-httpx python3-idna python3-isoduration python3-json-pointer python3-kerberos python3-libcloud python3-passlib python3-pygments python3-rfc3339-validator python3-rfc3986-validator python3-rfc3987 python3-selinux python3-uritemplate python3-webcolors python3-winrm python3-xmltodict xauth 0 packages upgraded, 138 newly installed, 0 to remove and 0 not upgraded. Need to get 43.3 MB of archives. After unpacking 181 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libpython3.13-minimal armhf 3.13.3-2 [847 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.7.1-1 [85.6 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf python3.13-minimal armhf 3.13.3-2 [1844 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.13.3-1 [27.2 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf media-types all 13.0.0 [29.3 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf netbase all 6.5 [12.4 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf tzdata all 2025b-2 [260 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf libffi8 armhf 3.4.7-1 [20.3 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-6 [69.4 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-6 [146 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf libpython3.13-stdlib armhf 3.13.3-2 [1828 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf python3.13 armhf 3.13.3-2 [751 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.13.3-1 [10.2 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.13.3-1 [28.2 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.24 [24.8 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf openssl armhf 3.5.0-1 [1456 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf ca-certificates all 20241223 [164 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.46-5 [338 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.46-5 [100 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.46-5 [42.8 kB] Get: 21 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.23.1-1 [238 kB] Get: 22 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b2 [65.6 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-7 [1095 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.41-4 [86.5 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.8-1 [35.0 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.13.0-1 [1382 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf libedit2 armhf 3.1-20250104-1 [78.0 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf libcbor0.10 armhf 0.10.2-2 [24.3 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf libfido2-1 armhf 1.15.0-1+b1 [71.2 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.21.3-5 [30.4 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.2-1+b1 [23.6 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.21.3-5 [76.0 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-6 [8568 B] Get: 34 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.21.3-5 [284 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.21.3-5 [116 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf openssh-client armhf 1:10.0p1-2 [896 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf libunistring5 armhf 1.3-2 [441 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf libidn2-0 armhf 2.3.8-2 [105 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf libp11-kit0 armhf 0.25.5-3 [385 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libtasn1-6 armhf 4.20.0-2 [44.4 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf libgnutls30t64 armhf 3.8.9-2 [1382 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf libpsl5t64 armhf 0.21.2-1.1+b1 [55.8 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf wget armhf 1.25.0-2 [962 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf python3-bcrypt armhf 4.2.0-2.1+b1 [197 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf python3-cffi-backend armhf 1.17.1-2+b2 [84.8 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf python3-cryptography armhf 43.0.0-2 [828 kB] Get: 47 http://deb.debian.org/debian unstable/main armhf python3-markupsafe armhf 2.1.5-1+b3 [13.6 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf python3-jinja2 all 3.1.6-1 [107 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf python3-packaging all 24.2-3 [55.7 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf python3-resolvelib all 1.1.0-1 [28.9 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf libyaml-0-2 armhf 0.2.5-2 [45.4 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf python3-yaml armhf 6.0.2-1+b2 [126 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf python3-dnspython all 2.7.0-1 [164 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf python3-pyparsing all 3.1.2-1 [146 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf python3-httplib2 all 0.22.0-1 [36.1 kB] Get: 56 http://deb.debian.org/debian unstable/main armhf ieee-data all 20240722 [2221 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf python3-netaddr all 1.3.0-1 [356 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf ansible-core all 2.19.0~beta1-2 [1344 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-7 [272 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3.1 [494 kB] Get: 61 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20240727.1 [60.2 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf automake all 1:1.17-4 [862 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf autopoint all 0.23.1-1 [770 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf python3-click all 8.2.0+0.really.8.1.8-1 [95.4 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf python3-mypy-extensions all 1.0.0-1 [6064 B] Get: 66 http://deb.debian.org/debian unstable/main armhf python3-pathspec all 0.12.1-1 [28.1 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf python3-platformdirs all 4.3.7-1 [16.6 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf python3-typing-extensions all 4.13.2-1 [90.5 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf black armhf 25.1.0-2 [1351 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.24.2 [90.9 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf libtool all 2.5.4-4 [539 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 76 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.192-4 [184 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 78 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.4 [604 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.23.1-1 [1560 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf debhelper all 13.24.2 [919 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20250414 [116 kB] Get: 84 http://deb.debian.org/debian unstable/main armhf libbrotli1 armhf 1.1.0-2+b7 [284 kB] Get: 85 http://deb.debian.org/debian unstable/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-9 [18.5 kB] Get: 86 http://deb.debian.org/debian unstable/main armhf libsasl2-2 armhf 2.1.28+dfsg1-9 [50.4 kB] Get: 87 http://deb.debian.org/debian unstable/main armhf libldap2 armhf 2.6.9+dfsg-2 [168 kB] Get: 88 http://deb.debian.org/debian unstable/main armhf libnghttp2-14 armhf 1.64.0-1.1 [63.0 kB] Get: 89 http://deb.debian.org/debian unstable/main armhf libnghttp3-9 armhf 1.8.0-1 [59.9 kB] Get: 90 http://deb.debian.org/debian unstable/main armhf libngtcp2-16 armhf 1.11.0-1 [127 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf libngtcp2-crypto-gnutls8 armhf 1.11.0-1 [26.7 kB] Get: 92 http://deb.debian.org/debian unstable/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2+b5 [53.2 kB] Get: 93 http://deb.debian.org/debian unstable/main armhf libssh2-1t64 armhf 1.11.1-1 [227 kB] Get: 94 http://deb.debian.org/debian unstable/main armhf libcurl3t64-gnutls armhf 8.13.0-2 [324 kB] Get: 95 http://deb.debian.org/debian unstable/main armhf liberror-perl all 0.17030-1 [26.9 kB] Get: 96 http://deb.debian.org/debian unstable/main armhf git-man all 1:2.49.0-1 [2236 kB] Get: 97 http://deb.debian.org/debian unstable/main armhf git armhf 1:2.49.0-1 [6645 kB] Get: 98 http://deb.debian.org/debian unstable/main armhf python3-zipp all 3.21.0-1 [10.6 kB] Get: 99 http://deb.debian.org/debian unstable/main armhf python3-importlib-metadata all 8.6.1-1 [21.4 kB] Get: 100 http://deb.debian.org/debian unstable/main armhf python3-pyproject-hooks all 1.2.0-1 [11.7 kB] Get: 101 http://deb.debian.org/debian unstable/main armhf python3-toml all 0.10.2-1 [16.2 kB] Get: 102 http://deb.debian.org/debian unstable/main armhf python3-wheel all 0.46.1-2 [21.7 kB] Get: 103 http://deb.debian.org/debian unstable/main armhf python3-build all 1.2.2-1 [36.0 kB] Get: 104 http://deb.debian.org/debian unstable/main armhf python3-installer all 0.7.0+dfsg1-3 [18.6 kB] Get: 105 http://deb.debian.org/debian unstable/main armhf pybuild-plugin-pyproject all 6.20250414 [11.8 kB] Get: 106 http://deb.debian.org/debian unstable/main armhf python3-all armhf 3.13.3-1 [1048 B] Get: 107 http://deb.debian.org/debian unstable/main armhf python3-attr all 25.3.0-1 [69.5 kB] Get: 108 http://deb.debian.org/debian unstable/main armhf python3-rpds-py armhf 0.21.0-2+b1 [231 kB] Get: 109 http://deb.debian.org/debian unstable/main armhf python3-referencing all 0.36.2-1 [23.7 kB] Get: 110 http://deb.debian.org/debian unstable/main armhf python3-jsonschema-specifications all 2023.12.1-2 [9020 B] Get: 111 http://deb.debian.org/debian unstable/main armhf python3-jsonschema all 4.19.2-6 [71.4 kB] Get: 112 http://deb.debian.org/debian unstable/main armhf python3-subprocess-tee all 0.4.2-1 [6272 B] Get: 113 http://deb.debian.org/debian unstable/main armhf python3-ansible-compat all 25.1.5-1 [23.3 kB] Get: 114 http://deb.debian.org/debian unstable/main armhf python3-autocommand all 2.2.2-3 [13.6 kB] Get: 115 http://deb.debian.org/debian unstable/main armhf python3-boolean all 4.0-4 [22.6 kB] Get: 116 http://deb.debian.org/debian unstable/main armhf python3-bracex all 2.4-1 [10.5 kB] Get: 117 http://deb.debian.org/debian unstable/main armhf python3-execnet all 2.1.1-1 [40.2 kB] Get: 118 http://deb.debian.org/debian unstable/main armhf python3-filelock all 3.18.0-1 [12.8 kB] Get: 119 http://deb.debian.org/debian unstable/main armhf python3-more-itertools all 10.6.0-1 [65.3 kB] Get: 120 http://deb.debian.org/debian unstable/main armhf python3-typeguard all 4.4.2-1 [37.3 kB] Get: 121 http://deb.debian.org/debian unstable/main armhf python3-inflect all 7.3.1-2 [32.4 kB] Get: 122 http://deb.debian.org/debian unstable/main armhf python3-iniconfig all 1.1.1-2 [6396 B] Get: 123 http://deb.debian.org/debian unstable/main armhf python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 124 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 78.1.0-1.1 [224 kB] Get: 125 http://deb.debian.org/debian unstable/main armhf python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 126 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 78.1.0-1.1 [738 kB] Get: 127 http://deb.debian.org/debian unstable/main armhf python3-jaraco.context all 6.0.1-1 [8276 B] Get: 128 http://deb.debian.org/debian unstable/main armhf python3-jmespath all 1.0.1-1 [21.1 kB] Get: 129 http://deb.debian.org/debian unstable/main armhf python3-license-expression all 30.4.1-1 [96.9 kB] Get: 130 http://deb.debian.org/debian unstable/main armhf python3-pluggy all 1.5.0-1 [26.9 kB] Get: 131 http://deb.debian.org/debian unstable/main armhf python3-pytest all 8.3.5-2 [250 kB] Get: 132 http://deb.debian.org/debian unstable/main armhf python3-pytest-mock all 3.14.0-2 [18.3 kB] Get: 133 http://deb.debian.org/debian unstable/main armhf python3-pytest-xdist all 3.6.1-1 [44.4 kB] Get: 134 http://deb.debian.org/debian unstable/main armhf python3-ruamel.yaml.clib armhf 0.2.12+ds-1+b1 [118 kB] Get: 135 http://deb.debian.org/debian unstable/main armhf python3-ruamel.yaml all 0.18.10+ds-1 [147 kB] Get: 136 http://deb.debian.org/debian unstable/main armhf python3-setuptools-scm all 8.2.1-1 [41.2 kB] Get: 137 http://deb.debian.org/debian unstable/main armhf python3-wcmatch all 10.0-1 [32.1 kB] Get: 138 http://deb.debian.org/debian unstable/main armhf yamllint all 1.37.0-1 [49.0 kB] Fetched 43.3 MB in 5s (9018 kB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:armhf. (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 ... 19566 files and directories currently installed.) Preparing to unpack .../libpython3.13-minimal_3.13.3-2_armhf.deb ... Unpacking libpython3.13-minimal:armhf (3.13.3-2) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.7.1-1_armhf.deb ... Unpacking libexpat1:armhf (2.7.1-1) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../python3.13-minimal_3.13.3-2_armhf.deb ... Unpacking python3.13-minimal (3.13.3-2) ... Setting up libpython3.13-minimal:armhf (3.13.3-2) ... Setting up libexpat1:armhf (2.7.1-1) ... Setting up python3.13-minimal (3.13.3-2) ... Selecting previously unselected package python3-minimal. (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 ... 19900 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.13.3-1_armhf.deb ... Unpacking python3-minimal (3.13.3-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_13.0.0_all.deb ... Unpacking media-types (13.0.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.5_all.deb ... Unpacking netbase (6.5) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2025b-2_all.deb ... Unpacking tzdata (2025b-2) ... Selecting previously unselected package libffi8:armhf. Preparing to unpack .../4-libffi8_3.4.7-1_armhf.deb ... Unpacking libffi8:armhf (3.4.7-1) ... Selecting previously unselected package readline-common. Preparing to unpack .../5-readline-common_8.2-6_all.deb ... Unpacking readline-common (8.2-6) ... Selecting previously unselected package libreadline8t64:armhf. Preparing to unpack .../6-libreadline8t64_8.2-6_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-6) ... Selecting previously unselected package libpython3.13-stdlib:armhf. Preparing to unpack .../7-libpython3.13-stdlib_3.13.3-2_armhf.deb ... Unpacking libpython3.13-stdlib:armhf (3.13.3-2) ... Selecting previously unselected package python3.13. Preparing to unpack .../8-python3.13_3.13.3-2_armhf.deb ... Unpacking python3.13 (3.13.3-2) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../9-libpython3-stdlib_3.13.3-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.13.3-1) ... Setting up python3-minimal (3.13.3-1) ... Selecting previously unselected package python3. (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 ... 20912 files and directories currently installed.) Preparing to unpack .../000-python3_3.13.3-1_armhf.deb ... Unpacking python3 (3.13.3-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../001-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package openssl. Preparing to unpack .../002-openssl_3.5.0-1_armhf.deb ... Unpacking openssl (3.5.0-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../003-ca-certificates_20241223_all.deb ... Unpacking ca-certificates (20241223) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../004-libmagic-mgc_1%3a5.46-5_armhf.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../005-libmagic1t64_1%3a5.46-5_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../006-file_1%3a5.46-5_armhf.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../007-gettext-base_0.23.1-1_armhf.deb ... Unpacking gettext-base (0.23.1-1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../008-libuchardet0_0.0.8-1+b2_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../009-groff-base_1.23.0-7_armhf.deb ... Unpacking groff-base (1.23.0-7) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../010-bsdextrautils_2.41-4_armhf.deb ... Unpacking bsdextrautils (2.41-4) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../011-libpipeline1_1.5.8-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../012-man-db_2.13.0-1_armhf.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package libedit2:armhf. Preparing to unpack .../013-libedit2_3.1-20250104-1_armhf.deb ... Unpacking libedit2:armhf (3.1-20250104-1) ... Selecting previously unselected package libcbor0.10:armhf. Preparing to unpack .../014-libcbor0.10_0.10.2-2_armhf.deb ... Unpacking libcbor0.10:armhf (0.10.2-2) ... Selecting previously unselected package libfido2-1:armhf. Preparing to unpack .../015-libfido2-1_1.15.0-1+b1_armhf.deb ... Unpacking libfido2-1:armhf (1.15.0-1+b1) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../016-libkrb5support0_1.21.3-5_armhf.deb ... Unpacking libkrb5support0:armhf (1.21.3-5) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../017-libcom-err2_1.47.2-1+b1_armhf.deb ... Unpacking libcom-err2:armhf (1.47.2-1+b1) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../018-libk5crypto3_1.21.3-5_armhf.deb ... Unpacking libk5crypto3:armhf (1.21.3-5) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../019-libkeyutils1_1.6.3-6_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-6) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../020-libkrb5-3_1.21.3-5_armhf.deb ... Unpacking libkrb5-3:armhf (1.21.3-5) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../021-libgssapi-krb5-2_1.21.3-5_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.21.3-5) ... Selecting previously unselected package openssh-client. Preparing to unpack .../022-openssh-client_1%3a10.0p1-2_armhf.deb ... Unpacking openssh-client (1:10.0p1-2) ... Selecting previously unselected package libunistring5:armhf. Preparing to unpack .../023-libunistring5_1.3-2_armhf.deb ... Unpacking libunistring5:armhf (1.3-2) ... Selecting previously unselected package libidn2-0:armhf. Preparing to unpack .../024-libidn2-0_2.3.8-2_armhf.deb ... Unpacking libidn2-0:armhf (2.3.8-2) ... Selecting previously unselected package libp11-kit0:armhf. Preparing to unpack .../025-libp11-kit0_0.25.5-3_armhf.deb ... Unpacking libp11-kit0:armhf (0.25.5-3) ... Selecting previously unselected package libtasn1-6:armhf. Preparing to unpack .../026-libtasn1-6_4.20.0-2_armhf.deb ... Unpacking libtasn1-6:armhf (4.20.0-2) ... Selecting previously unselected package libgnutls30t64:armhf. Preparing to unpack .../027-libgnutls30t64_3.8.9-2_armhf.deb ... Unpacking libgnutls30t64:armhf (3.8.9-2) ... Selecting previously unselected package libpsl5t64:armhf. Preparing to unpack .../028-libpsl5t64_0.21.2-1.1+b1_armhf.deb ... Unpacking libpsl5t64:armhf (0.21.2-1.1+b1) ... Selecting previously unselected package wget. Preparing to unpack .../029-wget_1.25.0-2_armhf.deb ... Unpacking wget (1.25.0-2) ... Selecting previously unselected package python3-bcrypt. Preparing to unpack .../030-python3-bcrypt_4.2.0-2.1+b1_armhf.deb ... Unpacking python3-bcrypt (4.2.0-2.1+b1) ... Selecting previously unselected package python3-cffi-backend:armhf. Preparing to unpack .../031-python3-cffi-backend_1.17.1-2+b2_armhf.deb ... Unpacking python3-cffi-backend:armhf (1.17.1-2+b2) ... Selecting previously unselected package python3-cryptography. Preparing to unpack .../032-python3-cryptography_43.0.0-2_armhf.deb ... Unpacking python3-cryptography (43.0.0-2) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../033-python3-markupsafe_2.1.5-1+b3_armhf.deb ... Unpacking python3-markupsafe (2.1.5-1+b3) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../034-python3-jinja2_3.1.6-1_all.deb ... Unpacking python3-jinja2 (3.1.6-1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../035-python3-packaging_24.2-3_all.deb ... Unpacking python3-packaging (24.2-3) ... Selecting previously unselected package python3-resolvelib. Preparing to unpack .../036-python3-resolvelib_1.1.0-1_all.deb ... Unpacking python3-resolvelib (1.1.0-1) ... Selecting previously unselected package libyaml-0-2:armhf. Preparing to unpack .../037-libyaml-0-2_0.2.5-2_armhf.deb ... Unpacking libyaml-0-2:armhf (0.2.5-2) ... Selecting previously unselected package python3-yaml. Preparing to unpack .../038-python3-yaml_6.0.2-1+b2_armhf.deb ... Unpacking python3-yaml (6.0.2-1+b2) ... Selecting previously unselected package python3-dnspython. Preparing to unpack .../039-python3-dnspython_2.7.0-1_all.deb ... Unpacking python3-dnspython (2.7.0-1) ... Selecting previously unselected package python3-pyparsing. Preparing to unpack .../040-python3-pyparsing_3.1.2-1_all.deb ... Unpacking python3-pyparsing (3.1.2-1) ... Selecting previously unselected package python3-httplib2. Preparing to unpack .../041-python3-httplib2_0.22.0-1_all.deb ... Unpacking python3-httplib2 (0.22.0-1) ... Selecting previously unselected package ieee-data. Preparing to unpack .../042-ieee-data_20240722_all.deb ... Unpacking ieee-data (20240722) ... Selecting previously unselected package python3-netaddr. Preparing to unpack .../043-python3-netaddr_1.3.0-1_all.deb ... Unpacking python3-netaddr (1.3.0-1) ... Selecting previously unselected package ansible-core. Preparing to unpack .../044-ansible-core_2.19.0~beta1-2_all.deb ... Unpacking ansible-core (2.19.0~beta1-2) ... Selecting previously unselected package m4. Preparing to unpack .../045-m4_1.4.19-7_armhf.deb ... Unpacking m4 (1.4.19-7) ... Selecting previously unselected package autoconf. Preparing to unpack .../046-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../047-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../048-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../049-autopoint_0.23.1-1_all.deb ... Unpacking autopoint (0.23.1-1) ... Selecting previously unselected package python3-click. Preparing to unpack .../050-python3-click_8.2.0+0.really.8.1.8-1_all.deb ... Unpacking python3-click (8.2.0+0.really.8.1.8-1) ... Selecting previously unselected package python3-mypy-extensions. Preparing to unpack .../051-python3-mypy-extensions_1.0.0-1_all.deb ... Unpacking python3-mypy-extensions (1.0.0-1) ... Selecting previously unselected package python3-pathspec. Preparing to unpack .../052-python3-pathspec_0.12.1-1_all.deb ... Unpacking python3-pathspec (0.12.1-1) ... Selecting previously unselected package python3-platformdirs. Preparing to unpack .../053-python3-platformdirs_4.3.7-1_all.deb ... Unpacking python3-platformdirs (4.3.7-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../054-python3-typing-extensions_4.13.2-1_all.deb ... Unpacking python3-typing-extensions (4.13.2-1) ... Selecting previously unselected package black. Preparing to unpack .../055-black_25.1.0-2_armhf.deb ... Unpacking black (25.1.0-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../056-libdebhelper-perl_13.24.2_all.deb ... Unpacking libdebhelper-perl (13.24.2) ... Selecting previously unselected package libtool. Preparing to unpack .../057-libtool_2.5.4-4_all.deb ... Unpacking libtool (2.5.4-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../058-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../059-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../060-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../061-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:armhf. Preparing to unpack .../062-libelf1t64_0.192-4_armhf.deb ... Unpacking libelf1t64:armhf (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../063-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../064-libxml2_2.12.7+dfsg+really2.9.14-0.4_armhf.deb ... Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.4) ... Selecting previously unselected package gettext. Preparing to unpack .../065-gettext_0.23.1-1_armhf.deb ... Unpacking gettext (0.23.1-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../066-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../067-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../068-debhelper_13.24.2_all.deb ... Unpacking debhelper (13.24.2) ... Selecting previously unselected package dh-python. Preparing to unpack .../069-dh-python_6.20250414_all.deb ... Unpacking dh-python (6.20250414) ... Selecting previously unselected package libbrotli1:armhf. Preparing to unpack .../070-libbrotli1_1.1.0-2+b7_armhf.deb ... Unpacking libbrotli1:armhf (1.1.0-2+b7) ... Selecting previously unselected package libsasl2-modules-db:armhf. Preparing to unpack .../071-libsasl2-modules-db_2.1.28+dfsg1-9_armhf.deb ... Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-9) ... Selecting previously unselected package libsasl2-2:armhf. Preparing to unpack .../072-libsasl2-2_2.1.28+dfsg1-9_armhf.deb ... Unpacking libsasl2-2:armhf (2.1.28+dfsg1-9) ... Selecting previously unselected package libldap2:armhf. Preparing to unpack .../073-libldap2_2.6.9+dfsg-2_armhf.deb ... Unpacking libldap2:armhf (2.6.9+dfsg-2) ... Selecting previously unselected package libnghttp2-14:armhf. Preparing to unpack .../074-libnghttp2-14_1.64.0-1.1_armhf.deb ... Unpacking libnghttp2-14:armhf (1.64.0-1.1) ... Selecting previously unselected package libnghttp3-9:armhf. Preparing to unpack .../075-libnghttp3-9_1.8.0-1_armhf.deb ... Unpacking libnghttp3-9:armhf (1.8.0-1) ... Selecting previously unselected package libngtcp2-16:armhf. Preparing to unpack .../076-libngtcp2-16_1.11.0-1_armhf.deb ... Unpacking libngtcp2-16:armhf (1.11.0-1) ... Selecting previously unselected package libngtcp2-crypto-gnutls8:armhf. Preparing to unpack .../077-libngtcp2-crypto-gnutls8_1.11.0-1_armhf.deb ... Unpacking libngtcp2-crypto-gnutls8:armhf (1.11.0-1) ... Selecting previously unselected package librtmp1:armhf. Preparing to unpack .../078-librtmp1_2.4+20151223.gitfa8646d.1-2+b5_armhf.deb ... Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b5) ... Selecting previously unselected package libssh2-1t64:armhf. Preparing to unpack .../079-libssh2-1t64_1.11.1-1_armhf.deb ... Unpacking libssh2-1t64:armhf (1.11.1-1) ... Selecting previously unselected package libcurl3t64-gnutls:armhf. Preparing to unpack .../080-libcurl3t64-gnutls_8.13.0-2_armhf.deb ... Unpacking libcurl3t64-gnutls:armhf (8.13.0-2) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../081-liberror-perl_0.17030-1_all.deb ... Unpacking liberror-perl (0.17030-1) ... Selecting previously unselected package git-man. Preparing to unpack .../082-git-man_1%3a2.49.0-1_all.deb ... Unpacking git-man (1:2.49.0-1) ... Selecting previously unselected package git. Preparing to unpack .../083-git_1%3a2.49.0-1_armhf.deb ... Unpacking git (1:2.49.0-1) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../084-python3-zipp_3.21.0-1_all.deb ... Unpacking python3-zipp (3.21.0-1) ... Selecting previously unselected package python3-importlib-metadata. Preparing to unpack .../085-python3-importlib-metadata_8.6.1-1_all.deb ... Unpacking python3-importlib-metadata (8.6.1-1) ... Selecting previously unselected package python3-pyproject-hooks. Preparing to unpack .../086-python3-pyproject-hooks_1.2.0-1_all.deb ... Unpacking python3-pyproject-hooks (1.2.0-1) ... Selecting previously unselected package python3-toml. Preparing to unpack .../087-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../088-python3-wheel_0.46.1-2_all.deb ... Unpacking python3-wheel (0.46.1-2) ... Selecting previously unselected package python3-build. Preparing to unpack .../089-python3-build_1.2.2-1_all.deb ... Unpacking python3-build (1.2.2-1) ... Selecting previously unselected package python3-installer. Preparing to unpack .../090-python3-installer_0.7.0+dfsg1-3_all.deb ... Unpacking python3-installer (0.7.0+dfsg1-3) ... Selecting previously unselected package pybuild-plugin-pyproject. Preparing to unpack .../091-pybuild-plugin-pyproject_6.20250414_all.deb ... Unpacking pybuild-plugin-pyproject (6.20250414) ... Selecting previously unselected package python3-all. Preparing to unpack .../092-python3-all_3.13.3-1_armhf.deb ... Unpacking python3-all (3.13.3-1) ... Selecting previously unselected package python3-attr. Preparing to unpack .../093-python3-attr_25.3.0-1_all.deb ... Unpacking python3-attr (25.3.0-1) ... Selecting previously unselected package python3-rpds-py. Preparing to unpack .../094-python3-rpds-py_0.21.0-2+b1_armhf.deb ... Unpacking python3-rpds-py (0.21.0-2+b1) ... Selecting previously unselected package python3-referencing. Preparing to unpack .../095-python3-referencing_0.36.2-1_all.deb ... Unpacking python3-referencing (0.36.2-1) ... Selecting previously unselected package python3-jsonschema-specifications. Preparing to unpack .../096-python3-jsonschema-specifications_2023.12.1-2_all.deb ... Unpacking python3-jsonschema-specifications (2023.12.1-2) ... Selecting previously unselected package python3-jsonschema. Preparing to unpack .../097-python3-jsonschema_4.19.2-6_all.deb ... Unpacking python3-jsonschema (4.19.2-6) ... Selecting previously unselected package python3-subprocess-tee. Preparing to unpack .../098-python3-subprocess-tee_0.4.2-1_all.deb ... Unpacking python3-subprocess-tee (0.4.2-1) ... Selecting previously unselected package python3-ansible-compat. Preparing to unpack .../099-python3-ansible-compat_25.1.5-1_all.deb ... Unpacking python3-ansible-compat (25.1.5-1) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../100-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-boolean. Preparing to unpack .../101-python3-boolean_4.0-4_all.deb ... Unpacking python3-boolean (4.0-4) ... Selecting previously unselected package python3-bracex. Preparing to unpack .../102-python3-bracex_2.4-1_all.deb ... Unpacking python3-bracex (2.4-1) ... Selecting previously unselected package python3-execnet. Preparing to unpack .../103-python3-execnet_2.1.1-1_all.deb ... Unpacking python3-execnet (2.1.1-1) ... Selecting previously unselected package python3-filelock. Preparing to unpack .../104-python3-filelock_3.18.0-1_all.deb ... Unpacking python3-filelock (3.18.0-1) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../105-python3-more-itertools_10.6.0-1_all.deb ... Unpacking python3-more-itertools (10.6.0-1) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../106-python3-typeguard_4.4.2-1_all.deb ... Unpacking python3-typeguard (4.4.2-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../107-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../108-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../109-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../110-python3-pkg-resources_78.1.0-1.1_all.deb ... Unpacking python3-pkg-resources (78.1.0-1.1) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../111-python3-jaraco.text_4.0.0-1_all.deb ... Unpacking python3-jaraco.text (4.0.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../112-python3-setuptools_78.1.0-1.1_all.deb ... Unpacking python3-setuptools (78.1.0-1.1) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../113-python3-jaraco.context_6.0.1-1_all.deb ... Unpacking python3-jaraco.context (6.0.1-1) ... Selecting previously unselected package python3-jmespath. Preparing to unpack .../114-python3-jmespath_1.0.1-1_all.deb ... Unpacking python3-jmespath (1.0.1-1) ... Selecting previously unselected package python3-license-expression. Preparing to unpack .../115-python3-license-expression_30.4.1-1_all.deb ... Unpacking python3-license-expression (30.4.1-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../116-python3-pluggy_1.5.0-1_all.deb ... Unpacking python3-pluggy (1.5.0-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../117-python3-pytest_8.3.5-2_all.deb ... Unpacking python3-pytest (8.3.5-2) ... Selecting previously unselected package python3-pytest-mock. Preparing to unpack .../118-python3-pytest-mock_3.14.0-2_all.deb ... Unpacking python3-pytest-mock (3.14.0-2) ... Selecting previously unselected package python3-pytest-xdist. Preparing to unpack .../119-python3-pytest-xdist_3.6.1-1_all.deb ... Unpacking python3-pytest-xdist (3.6.1-1) ... Selecting previously unselected package python3-ruamel.yaml.clib. Preparing to unpack .../120-python3-ruamel.yaml.clib_0.2.12+ds-1+b1_armhf.deb ... Unpacking python3-ruamel.yaml.clib (0.2.12+ds-1+b1) ... Selecting previously unselected package python3-ruamel.yaml. Preparing to unpack .../121-python3-ruamel.yaml_0.18.10+ds-1_all.deb ... Unpacking python3-ruamel.yaml (0.18.10+ds-1) ... Selecting previously unselected package python3-setuptools-scm. Preparing to unpack .../122-python3-setuptools-scm_8.2.1-1_all.deb ... Unpacking python3-setuptools-scm (8.2.1-1) ... Selecting previously unselected package python3-wcmatch. Preparing to unpack .../123-python3-wcmatch_10.0-1_all.deb ... Unpacking python3-wcmatch (10.0-1) ... Selecting previously unselected package yamllint. Preparing to unpack .../124-yamllint_1.37.0-1_all.deb ... Unpacking yamllint (1.37.0-1) ... Setting up media-types (13.0.0) ... Setting up libpipeline1:armhf (1.5.8-1) ... Setting up libkeyutils1:armhf (1.6.3-6) ... Setting up bsdextrautils (2.41-4) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libcbor0.10:armhf (0.10.2-2) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libyaml-0-2:armhf (0.2.5-2) ... Setting up libdebhelper-perl (13.24.2) ... Setting up libbrotli1:armhf (1.1.0-2+b7) ... Setting up libedit2:armhf (3.1-20250104-1) ... Setting up libmagic1t64:armhf (1:5.46-5) ... Setting up libnghttp2-14:armhf (1.64.0-1.1) ... Setting up gettext-base (0.23.1-1) ... Setting up m4 (1.4.19-7) ... Setting up libcom-err2:armhf (1.47.2-1+b1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:armhf (0.192-4) ... Setting up libkrb5support0:armhf (1.21.3-5) ... Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-9) ... Setting up tzdata (2025b-2) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Apr 17 23:15:09 UTC 2025. Universal Time is now: Thu Apr 17 23:15:09 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up liberror-perl (0.17030-1) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:armhf (1.3-2) ... Setting up autopoint (0.23.1-1) ... Setting up libk5crypto3:armhf (1.21.3-5) ... Setting up libsasl2-2:armhf (2.1.28+dfsg1-9) ... Setting up autoconf (2.72-3.1) ... Setting up libnghttp3-9:armhf (1.8.0-1) ... Setting up libffi8:armhf (3.4.7-1) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:armhf (0.0.8-1+b2) ... Setting up libtasn1-6:armhf (4.20.0-2) ... Setting up git-man (1:2.49.0-1) ... Setting up netbase (6.5) ... Setting up libngtcp2-16:armhf (1.11.0-1) ... Setting up libkrb5-3:armhf (1.21.3-5) ... Setting up libssh2-1t64:armhf (1.11.1-1) ... Setting up libfido2-1:armhf (1.15.0-1+b1) ... Setting up openssl (3.5.0-1) ... Setting up readline-common (8.2-6) ... Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.4) ... Setting up libldap2:armhf (2.6.9+dfsg-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up gettext (0.23.1-1) ... Setting up libtool (2.5.4-4) ... Setting up libidn2-0:armhf (2.3.8-2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ca-certificates (20241223) ... Updating certificates in /etc/ssl/certs... 152 added, 0 removed; done. Setting up libp11-kit0:armhf (0.25.5-3) ... Setting up libgssapi-krb5-2:armhf (1.21.3-5) ... Setting up libreadline8t64:armhf (8.2-6) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-7) ... Setting up libpython3.13-stdlib:armhf (3.13.3-2) ... Setting up libpython3-stdlib:armhf (3.13.3-1) ... Setting up libgnutls30t64:armhf (3.8.9-2) ... Setting up python3.13 (3.13.3-2) ... Setting up openssh-client (1:10.0p1-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpsl5t64:armhf (0.21.2-1.1+b1) ... Setting up python3 (3.13.3-1) ... Setting up python3-zipp (3.21.0-1) ... Setting up python3-click (8.2.0+0.really.8.1.8-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up python3-markupsafe (2.1.5-1+b3) ... Setting up python3-platformdirs (4.3.7-1) ... Setting up python3-jinja2 (3.1.6-1) ... Setting up python3-packaging (24.2-3) ... Setting up python3-pyproject-hooks (1.2.0-1) ... Setting up python3-pyparsing (3.1.2-1) ... Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b5) ... Setting up python3-jmespath (1.0.1-1) ... Setting up python3-typing-extensions (4.13.2-1) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-installer (0.7.0+dfsg1-3) ... Setting up python3-pluggy (1.5.0-1) ... Setting up python3-rpds-py (0.21.0-2+b1) ... Setting up python3-dnspython (2.7.0-1) ... Setting up python3-boolean (4.0-4) ... Setting up python3-bracex (2.4-1) ... Setting up python3-license-expression (30.4.1-1) ... Setting up python3-httplib2 (0.22.0-1) ... Setting up python3-execnet (2.1.1-1) ... Setting up python3-pathspec (0.12.1-1) ... Setting up libngtcp2-crypto-gnutls8:armhf (1.11.0-1) ... Setting up python3-cffi-backend:armhf (1.17.1-2+b2) ... Setting up dh-python (6.20250414) ... Setting up python3-more-itertools (10.6.0-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-attr (25.3.0-1) ... Setting up python3-filelock (3.18.0-1) ... Setting up python3-subprocess-tee (0.4.2-1) ... Setting up python3-importlib-metadata (8.6.1-1) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up wget (1.25.0-2) ... Setting up python3-jaraco.context (6.0.1-1) ... Setting up python3-pytest (8.3.5-2) ... Setting up python3-mypy-extensions (1.0.0-1) ... Setting up python3-bcrypt (4.2.0-2.1+b1) ... Setting up python3-typeguard (4.4.2-1) ... Setting up python3-ruamel.yaml.clib (0.2.12+ds-1+b1) ... Setting up python3-resolvelib (1.1.0-1) ... Setting up libcurl3t64-gnutls:armhf (8.13.0-2) ... Setting up python3-all (3.13.3-1) ... Setting up python3-yaml (6.0.2-1+b2) ... Setting up debhelper (13.24.2) ... Setting up black (25.1.0-2) ... Setting up python3-wheel (0.46.1-2) ... Setting up python3-inflect (7.3.1-2) ... Setting up yamllint (1.37.0-1) ... Setting up python3-jaraco.text (4.0.0-1) ... Setting up python3-cryptography (43.0.0-2) ... Setting up git (1:2.49.0-1) ... Setting up python3-ruamel.yaml (0.18.10+ds-1) ... Setting up ieee-data (20240722) ... Setting up python3-pytest-mock (3.14.0-2) ... Setting up python3-wcmatch (10.0-1) ... Setting up python3-build (1.2.2-1) ... Setting up python3-referencing (0.36.2-1) ... Setting up python3-pkg-resources (78.1.0-1.1) ... Setting up python3-setuptools (78.1.0-1.1) ... Setting up python3-pytest-xdist (3.6.1-1) ... Setting up pybuild-plugin-pyproject (6.20250414) ... Setting up python3-setuptools-scm (8.2.1-1) ... Setting up python3-netaddr (1.3.0-1) ... Setting up python3-jsonschema-specifications (2023.12.1-2) ... Setting up ansible-core (2.19.0~beta1-2) ... Setting up python3-jsonschema (4.19.2-6) ... Setting up python3-ansible-compat (25.1.5-1) ... Processing triggers for libc-bin (2.41-7) ... Processing triggers for ca-certificates (20241223) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/ansible-lint-25.2.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ansible-lint_25.2.1-1_source.changes dpkg-buildpackage: info: source package ansible-lint dpkg-buildpackage: info: source version 25.2.1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Samuel Henrique dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf dpkg-source: info: using options from ansible-lint-25.2.1/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13 * Building wheel... /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib/ansiblelint copying src/ansiblelint/utils.py -> build/lib/ansiblelint copying src/ansiblelint/logger.py -> build/lib/ansiblelint copying src/ansiblelint/app.py -> build/lib/ansiblelint copying src/ansiblelint/version.py -> build/lib/ansiblelint copying src/ansiblelint/generate_docs.py -> build/lib/ansiblelint copying src/ansiblelint/errors.py -> build/lib/ansiblelint copying src/ansiblelint/cli.py -> build/lib/ansiblelint copying src/ansiblelint/__init__.py -> build/lib/ansiblelint copying src/ansiblelint/transformer.py -> build/lib/ansiblelint copying src/ansiblelint/runner.py -> build/lib/ansiblelint copying src/ansiblelint/yaml_utils.py -> build/lib/ansiblelint copying src/ansiblelint/constants.py -> build/lib/ansiblelint copying src/ansiblelint/stats.py -> build/lib/ansiblelint copying src/ansiblelint/__main__.py -> build/lib/ansiblelint copying src/ansiblelint/_version.py -> build/lib/ansiblelint copying src/ansiblelint/loaders.py -> build/lib/ansiblelint copying src/ansiblelint/skip_utils.py -> build/lib/ansiblelint copying src/ansiblelint/output.py -> build/lib/ansiblelint copying src/ansiblelint/_mockings.py -> build/lib/ansiblelint copying src/ansiblelint/types.py -> build/lib/ansiblelint copying src/ansiblelint/file_utils.py -> build/lib/ansiblelint copying src/ansiblelint/requirements.py -> build/lib/ansiblelint copying src/ansiblelint/config.py -> build/lib/ansiblelint copying src/ansiblelint/text.py -> build/lib/ansiblelint creating build/lib/ansiblelint/testing copying src/ansiblelint/testing/__init__.py -> build/lib/ansiblelint/testing copying src/ansiblelint/testing/fixtures.py -> build/lib/ansiblelint/testing creating build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/__init__.py -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/__main__.py -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/main.py -> build/lib/ansiblelint/schemas creating build/lib/ansiblelint/_internal copying src/ansiblelint/_internal/__init__.py -> build/lib/ansiblelint/_internal copying src/ansiblelint/_internal/rules.py -> build/lib/ansiblelint/_internal creating build/lib/ansiblelint/formatters copying src/ansiblelint/formatters/__init__.py -> build/lib/ansiblelint/formatters creating build/lib/ansiblelint/rules copying src/ansiblelint/rules/risky_octal.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/package_latest.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_free_form.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/deprecated_bare_vars.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/literal_compare.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_tabs.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/syntax_check.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/only_builtins.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_prompting.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/loop_var_prefix.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/meta_incorrect.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/meta_no_tags.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/var_naming.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/risky_file_permissions.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/fqcn.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/inline_env_var.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/ignore_errors.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/meta_video_links.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_relative_paths.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/avoid_implicit.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/schema.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/deprecated_local_action.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/sanity.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_handler.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/__init__.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/conftest.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_jinja_when.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/command_instead_of_shell.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/empty_string_compare.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/galaxy.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/latest.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/jinja.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/command_instead_of_module.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/yaml_rule.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/key_order.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/name.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/playbook_extension.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/role_name.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/deprecated_module.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/meta_runtime.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_same_owner.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/risky_shell_pipe.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/galaxy_version_incorrect.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/partial_become.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/complexity.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_changed_when.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_log_password.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/args.py -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/run_once.py -> build/lib/ansiblelint/rules creating build/lib/ansiblelint/rules/custom copying src/ansiblelint/rules/custom/__init__.py -> build/lib/ansiblelint/rules/custom running egg_info creating src/ansible_lint.egg-info writing src/ansible_lint.egg-info/PKG-INFO writing dependency_links to src/ansible_lint.egg-info/dependency_links.txt writing entry points to src/ansible_lint.egg-info/entry_points.txt writing requirements to src/ansible_lint.egg-info/requires.txt writing top-level names to src/ansible_lint.egg-info/top_level.txt writing manifest file 'src/ansible_lint.egg-info/SOURCES.txt' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files adding license file 'COPYING' writing manifest file 'src/ansible_lint.egg-info/SOURCES.txt' copying src/ansiblelint/py.typed -> build/lib/ansiblelint copying src/ansiblelint/schemas/README.md -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/__store__.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/ansible-lint-config.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/ansible-navigator-config.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/ansible-navigator.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/ansible.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/changelog.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/execution-environment.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/galaxy.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/inventory.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/meta-runtime.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/meta.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/molecule.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/playbook.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/requirements.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/role-arg-spec.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/rulebook.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/tasks.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/schemas/vars.json -> build/lib/ansiblelint/schemas copying src/ansiblelint/_internal/internal_error.md -> build/lib/ansiblelint/_internal copying src/ansiblelint/_internal/load-failure.md -> build/lib/ansiblelint/_internal copying src/ansiblelint/_internal/parser-error.md -> build/lib/ansiblelint/_internal copying src/ansiblelint/_internal/warning.md -> build/lib/ansiblelint/_internal creating build/lib/ansiblelint/data copying src/ansiblelint/data/.yamllint -> build/lib/ansiblelint/data copying src/ansiblelint/data/profiles.yml -> build/lib/ansiblelint/data copying src/ansiblelint/rules/args.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/avoid_implicit.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/command_instead_of_module.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/command_instead_of_shell.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/complexity.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/deprecated_bare_vars.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/deprecated_local_action.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/deprecated_module.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/empty_string_compare.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/fqcn.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/galaxy.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/galaxy_version_incorrect.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/ignore_errors.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/inline_env_var.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/jinja.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/key_order.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/latest.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/literal_compare.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/loop_var_prefix.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/meta_incorrect.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/meta_no_tags.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/meta_runtime.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/meta_video_links.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/name.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_changed_when.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_free_form.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_handler.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_jinja_when.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_log_password.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_prompting.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_relative_paths.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_same_owner.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/no_tabs.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/only_builtins.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/package_latest.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/partial_become.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/playbook_extension.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/risky_file_permissions.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/risky_octal.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/risky_shell_pipe.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/role_name.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/run_once.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/sanity.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/schema.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/syntax_check.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/var_naming.md -> build/lib/ansiblelint/rules copying src/ansiblelint/rules/yaml.md -> build/lib/ansiblelint/rules installing to build/bdist.linux-armv7l/wheel running install running install_lib creating build/bdist.linux-armv7l/wheel creating build/bdist.linux-armv7l/wheel/ansiblelint copying build/lib/ansiblelint/utils.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/logger.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/app.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/version.py -> build/bdist.linux-armv7l/wheel/./ansiblelint creating build/bdist.linux-armv7l/wheel/ansiblelint/testing copying build/lib/ansiblelint/testing/__init__.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/testing copying build/lib/ansiblelint/testing/fixtures.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/testing copying build/lib/ansiblelint/generate_docs.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/errors.py -> build/bdist.linux-armv7l/wheel/./ansiblelint creating build/bdist.linux-armv7l/wheel/ansiblelint/schemas copying build/lib/ansiblelint/schemas/README.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/ansible-navigator.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/meta.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/ansible.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/__init__.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/vars.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/ansible-navigator-config.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/__store__.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/meta-runtime.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/changelog.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/tasks.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/galaxy.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/playbook.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/execution-environment.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/__main__.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/role-arg-spec.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/molecule.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/ansible-lint-config.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/main.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/inventory.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/requirements.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas copying build/lib/ansiblelint/schemas/rulebook.json -> build/bdist.linux-armv7l/wheel/./ansiblelint/schemas creating build/bdist.linux-armv7l/wheel/ansiblelint/_internal copying build/lib/ansiblelint/_internal/parser-error.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/_internal copying build/lib/ansiblelint/_internal/__init__.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/_internal copying build/lib/ansiblelint/_internal/internal_error.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/_internal copying build/lib/ansiblelint/_internal/warning.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/_internal copying build/lib/ansiblelint/_internal/rules.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/_internal copying build/lib/ansiblelint/_internal/load-failure.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/_internal copying build/lib/ansiblelint/cli.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/__init__.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/transformer.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/runner.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/yaml_utils.py -> build/bdist.linux-armv7l/wheel/./ansiblelint creating build/bdist.linux-armv7l/wheel/ansiblelint/formatters copying build/lib/ansiblelint/formatters/__init__.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/formatters copying build/lib/ansiblelint/constants.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/stats.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/py.typed -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/__main__.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/_version.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/loaders.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/skip_utils.py -> build/bdist.linux-armv7l/wheel/./ansiblelint creating build/bdist.linux-armv7l/wheel/ansiblelint/data copying build/lib/ansiblelint/data/.yamllint -> build/bdist.linux-armv7l/wheel/./ansiblelint/data copying build/lib/ansiblelint/data/profiles.yml -> build/bdist.linux-armv7l/wheel/./ansiblelint/data copying build/lib/ansiblelint/output.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/_mockings.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/types.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/file_utils.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/requirements.py -> build/bdist.linux-armv7l/wheel/./ansiblelint copying build/lib/ansiblelint/config.py -> build/bdist.linux-armv7l/wheel/./ansiblelint creating build/bdist.linux-armv7l/wheel/ansiblelint/rules copying build/lib/ansiblelint/rules/risky_octal.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/package_latest.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_free_form.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/meta_video_links.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/risky_file_permissions.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/deprecated_module.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/deprecated_bare_vars.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/literal_compare.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_tabs.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/syntax_check.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/only_builtins.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_prompting.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/command_instead_of_shell.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/avoid_implicit.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/loop_var_prefix.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/meta_incorrect.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/run_once.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/meta_incorrect.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/meta_no_tags.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/var_naming.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/fqcn.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/latest.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/risky_file_permissions.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/fqcn.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/schema.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/var_naming.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/inline_env_var.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/key_order.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/ignore_errors.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/empty_string_compare.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/meta_video_links.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/name.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/inline_env_var.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_free_form.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_relative_paths.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/ignore_errors.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/avoid_implicit.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/schema.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/deprecated_local_action.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/sanity.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_handler.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/__init__.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/playbook_extension.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/meta_runtime.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/complexity.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/deprecated_local_action.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/conftest.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/loop_var_prefix.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_tabs.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_jinja_when.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/jinja.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules creating build/bdist.linux-armv7l/wheel/ansiblelint/rules/custom copying build/lib/ansiblelint/rules/custom/__init__.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules/custom copying build/lib/ansiblelint/rules/command_instead_of_shell.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/empty_string_compare.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/role_name.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/galaxy.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/literal_compare.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/latest.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/jinja.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_log_password.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/command_instead_of_module.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/yaml_rule.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/yaml.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/key_order.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/name.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/risky_shell_pipe.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/syntax_check.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/playbook_extension.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_changed_when.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/role_name.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/deprecated_module.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/args.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/meta_runtime.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/command_instead_of_module.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/galaxy_version_incorrect.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_relative_paths.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/deprecated_bare_vars.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_same_owner.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/sanity.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_same_owner.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_handler.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_prompting.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/risky_shell_pipe.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/galaxy_version_incorrect.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/partial_become.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/risky_octal.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/complexity.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_changed_when.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_log_password.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/package_latest.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/args.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/meta_no_tags.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/no_jinja_when.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/partial_become.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/galaxy.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/run_once.py -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/rules/only_builtins.md -> build/bdist.linux-armv7l/wheel/./ansiblelint/rules copying build/lib/ansiblelint/text.py -> build/bdist.linux-armv7l/wheel/./ansiblelint running install_egg_info Copying src/ansible_lint.egg-info to build/bdist.linux-armv7l/wheel/./ansible_lint-25.2.1.egg-info running install_scripts creating build/bdist.linux-armv7l/wheel/ansible_lint-25.2.1.dist-info/WHEEL creating '/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/.tmp-fr8i_wlr/ansible_lint-25.2.1-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it adding 'ansible_lint-25.2.1.dist-info/licenses/COPYING' adding 'ansiblelint/__init__.py' adding 'ansiblelint/__main__.py' adding 'ansiblelint/_mockings.py' adding 'ansiblelint/_version.py' adding 'ansiblelint/app.py' adding 'ansiblelint/cli.py' adding 'ansiblelint/config.py' adding 'ansiblelint/constants.py' adding 'ansiblelint/errors.py' adding 'ansiblelint/file_utils.py' adding 'ansiblelint/generate_docs.py' adding 'ansiblelint/loaders.py' adding 'ansiblelint/logger.py' adding 'ansiblelint/output.py' adding 'ansiblelint/py.typed' adding 'ansiblelint/requirements.py' adding 'ansiblelint/runner.py' adding 'ansiblelint/skip_utils.py' adding 'ansiblelint/stats.py' adding 'ansiblelint/text.py' adding 'ansiblelint/transformer.py' adding 'ansiblelint/types.py' adding 'ansiblelint/utils.py' adding 'ansiblelint/version.py' adding 'ansiblelint/yaml_utils.py' adding 'ansiblelint/_internal/__init__.py' adding 'ansiblelint/_internal/internal_error.md' adding 'ansiblelint/_internal/load-failure.md' adding 'ansiblelint/_internal/parser-error.md' adding 'ansiblelint/_internal/rules.py' adding 'ansiblelint/_internal/warning.md' adding 'ansiblelint/data/.yamllint' adding 'ansiblelint/data/profiles.yml' adding 'ansiblelint/formatters/__init__.py' adding 'ansiblelint/rules/__init__.py' adding 'ansiblelint/rules/args.md' adding 'ansiblelint/rules/args.py' adding 'ansiblelint/rules/avoid_implicit.md' adding 'ansiblelint/rules/avoid_implicit.py' adding 'ansiblelint/rules/command_instead_of_module.md' adding 'ansiblelint/rules/command_instead_of_module.py' adding 'ansiblelint/rules/command_instead_of_shell.md' adding 'ansiblelint/rules/command_instead_of_shell.py' adding 'ansiblelint/rules/complexity.md' adding 'ansiblelint/rules/complexity.py' adding 'ansiblelint/rules/conftest.py' adding 'ansiblelint/rules/deprecated_bare_vars.md' adding 'ansiblelint/rules/deprecated_bare_vars.py' adding 'ansiblelint/rules/deprecated_local_action.md' adding 'ansiblelint/rules/deprecated_local_action.py' adding 'ansiblelint/rules/deprecated_module.md' adding 'ansiblelint/rules/deprecated_module.py' adding 'ansiblelint/rules/empty_string_compare.md' adding 'ansiblelint/rules/empty_string_compare.py' adding 'ansiblelint/rules/fqcn.md' adding 'ansiblelint/rules/fqcn.py' adding 'ansiblelint/rules/galaxy.md' adding 'ansiblelint/rules/galaxy.py' adding 'ansiblelint/rules/galaxy_version_incorrect.md' adding 'ansiblelint/rules/galaxy_version_incorrect.py' adding 'ansiblelint/rules/ignore_errors.md' adding 'ansiblelint/rules/ignore_errors.py' adding 'ansiblelint/rules/inline_env_var.md' adding 'ansiblelint/rules/inline_env_var.py' adding 'ansiblelint/rules/jinja.md' adding 'ansiblelint/rules/jinja.py' adding 'ansiblelint/rules/key_order.md' adding 'ansiblelint/rules/key_order.py' adding 'ansiblelint/rules/latest.md' adding 'ansiblelint/rules/latest.py' adding 'ansiblelint/rules/literal_compare.md' adding 'ansiblelint/rules/literal_compare.py' adding 'ansiblelint/rules/loop_var_prefix.md' adding 'ansiblelint/rules/loop_var_prefix.py' adding 'ansiblelint/rules/meta_incorrect.md' adding 'ansiblelint/rules/meta_incorrect.py' adding 'ansiblelint/rules/meta_no_tags.md' adding 'ansiblelint/rules/meta_no_tags.py' adding 'ansiblelint/rules/meta_runtime.md' adding 'ansiblelint/rules/meta_runtime.py' adding 'ansiblelint/rules/meta_video_links.md' adding 'ansiblelint/rules/meta_video_links.py' adding 'ansiblelint/rules/name.md' adding 'ansiblelint/rules/name.py' adding 'ansiblelint/rules/no_changed_when.md' adding 'ansiblelint/rules/no_changed_when.py' adding 'ansiblelint/rules/no_free_form.md' adding 'ansiblelint/rules/no_free_form.py' adding 'ansiblelint/rules/no_handler.md' adding 'ansiblelint/rules/no_handler.py' adding 'ansiblelint/rules/no_jinja_when.md' adding 'ansiblelint/rules/no_jinja_when.py' adding 'ansiblelint/rules/no_log_password.md' adding 'ansiblelint/rules/no_log_password.py' adding 'ansiblelint/rules/no_prompting.md' adding 'ansiblelint/rules/no_prompting.py' adding 'ansiblelint/rules/no_relative_paths.md' adding 'ansiblelint/rules/no_relative_paths.py' adding 'ansiblelint/rules/no_same_owner.md' adding 'ansiblelint/rules/no_same_owner.py' adding 'ansiblelint/rules/no_tabs.md' adding 'ansiblelint/rules/no_tabs.py' adding 'ansiblelint/rules/only_builtins.md' adding 'ansiblelint/rules/only_builtins.py' adding 'ansiblelint/rules/package_latest.md' adding 'ansiblelint/rules/package_latest.py' adding 'ansiblelint/rules/partial_become.md' adding 'ansiblelint/rules/partial_become.py' adding 'ansiblelint/rules/playbook_extension.md' adding 'ansiblelint/rules/playbook_extension.py' adding 'ansiblelint/rules/risky_file_permissions.md' adding 'ansiblelint/rules/risky_file_permissions.py' adding 'ansiblelint/rules/risky_octal.md' adding 'ansiblelint/rules/risky_octal.py' adding 'ansiblelint/rules/risky_shell_pipe.md' adding 'ansiblelint/rules/risky_shell_pipe.py' adding 'ansiblelint/rules/role_name.md' adding 'ansiblelint/rules/role_name.py' adding 'ansiblelint/rules/run_once.md' adding 'ansiblelint/rules/run_once.py' adding 'ansiblelint/rules/sanity.md' adding 'ansiblelint/rules/sanity.py' adding 'ansiblelint/rules/schema.md' adding 'ansiblelint/rules/schema.py' adding 'ansiblelint/rules/syntax_check.md' adding 'ansiblelint/rules/syntax_check.py' adding 'ansiblelint/rules/var_naming.md' adding 'ansiblelint/rules/var_naming.py' adding 'ansiblelint/rules/yaml.md' adding 'ansiblelint/rules/yaml_rule.py' adding 'ansiblelint/rules/custom/__init__.py' adding 'ansiblelint/schemas/README.md' adding 'ansiblelint/schemas/__init__.py' adding 'ansiblelint/schemas/__main__.py' adding 'ansiblelint/schemas/__store__.json' adding 'ansiblelint/schemas/ansible-lint-config.json' adding 'ansiblelint/schemas/ansible-navigator-config.json' adding 'ansiblelint/schemas/ansible-navigator.json' adding 'ansiblelint/schemas/ansible.json' adding 'ansiblelint/schemas/changelog.json' adding 'ansiblelint/schemas/execution-environment.json' adding 'ansiblelint/schemas/galaxy.json' adding 'ansiblelint/schemas/inventory.json' adding 'ansiblelint/schemas/main.py' adding 'ansiblelint/schemas/meta-runtime.json' adding 'ansiblelint/schemas/meta.json' adding 'ansiblelint/schemas/molecule.json' adding 'ansiblelint/schemas/playbook.json' adding 'ansiblelint/schemas/requirements.json' adding 'ansiblelint/schemas/role-arg-spec.json' adding 'ansiblelint/schemas/rulebook.json' adding 'ansiblelint/schemas/tasks.json' adding 'ansiblelint/schemas/vars.json' adding 'ansiblelint/testing/__init__.py' adding 'ansiblelint/testing/fixtures.py' adding 'ansible_lint-25.2.1.dist-info/METADATA' adding 'ansible_lint-25.2.1.dist-info/WHEEL' adding 'ansible_lint-25.2.1.dist-info/entry_points.txt' adding 'ansible_lint-25.2.1.dist-info/top_level.txt' adding 'ansible_lint-25.2.1.dist-info/RECORD' removing build/bdist.linux-armv7l/wheel Successfully built ansible_lint-25.2.1-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild pybuild:308: cp --recursive /build/reproducible-path/ansible-lint-25.2.1/playbook.yml /build/reproducible-path/ansible-lint-25.2.1/examples /build/reproducible-path/ansible-lint-25.2.1/conftest.py /build/reproducible-path/ansible-lint-25.2.1/.pre-commit-config.yaml /build/reproducible-path/ansible-lint-25.2.1/.ansible-lint /build/reproducible-path/ansible-lint-25.2.1/collections /build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ I: pybuild base:311: cd /build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build; python3.13 -m pytest -n 3 -k "not (test_spdx or test_args_module_pass or test_risky_file_permissions or test_fqcn_builtin_fail or test_fqcn_builtin_pass or test_transformer or test_call_from_outside_venv or test_schema_moves or test_rules_id_format or test_yamllint or test_example or test_example_custom_module or test_verbosity or test_task_hook_import_playbook or test_request_timeouterror_handling or test_requests_uses_timeout or test_schema_refresh_cli or test_refresh_schemas or test_jinja_transform or test_no_tabs_rule or test_nodeps[1] or test_nodeps[2] or test_import_playbook_from_collection or test_broken_ansible_cfg or test_find_children_in_module or test_args_module_relative_import or test_find_children_in_playbook)" ============================= test session starts ============================== platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 rootdir: /build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build configfile: pyproject.toml plugins: xdist-3.6.1, typeguard-4.4.2, mock-3.14.0 created: 3/3 workers 3 workers [782 items] ...................F....FFFFFFFFFFFFFFFFFFFF............FFFFFFFFF....FFF [ 9%] FFFFFFFFFFFFFFFFFFFFF..FFFFFFFFFFF...................F......FFFFFFFFFFFF [ 18%] FFFFFF..FF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.FF..FFFFFFFF...FFFFFFFFFFF [ 27%] FFFFFFFFFFF.......F..F.............FFF..........F....FFFFFFEEFEEEE....FF [ 36%] FF..........EEEEEEFFFF.EEFEEEFFFFFFFFF.FFFFFFFFFFF...FFFFFFFFFFFFFFFFFF. [ 46%] .F.F.FFFF..FFFFFFFFFFFFFFFFF.F.Fsss...FF...............................F [ 55%] .....FF.FFF.........FFF.F.F..FFFFFF............F............F........... [ 64%] ..................F.....................FFFFF.FFFF.FFF.FF..FFF..F....... [ 73%] ..FF.FFF..................FFFFFFF..FF..................................E [ 82%] ...........F.....F.................F....F....F..FE.F....FF....F...F...F. [ 92%] ..F....F............F.....F..E...........F.......F............ [100%] ==================================== ERRORS ==================================== _______________ ERROR at setup of test_lintable_write[no_change] _______________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_no_change_0') path = 'no_change.yaml' content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated_content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' @pytest.fixture(name="tmp_updated_lintable") def fixture_tmp_updated_lintable( tmp_path: Path, path: str, content: str, updated_content: str, ) -> Lintable: """Create a temp file Lintable with a content update that is not on disk.""" > lintable = Lintable(tmp_path / path, content) test/test_file_utils.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_no_change_0/no_change.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________ ERROR at setup of test_lintable_write[forced_rewrite] _____________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_forced_rew0') path = 'forced.yaml' content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated_content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' @pytest.fixture(name="tmp_updated_lintable") def fixture_tmp_updated_lintable( tmp_path: Path, path: str, content: str, updated_content: str, ) -> Lintable: """Create a temp file Lintable with a content update that is not on disk.""" > lintable = Lintable(tmp_path / path, content) test/test_file_utils.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_forced_rew0/forced.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________ ERROR at setup of test_lintable_write[updated_quotes] _____________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_updated_qu0') path = 'quotes.yaml' content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated_content = "\n- name: 'playbook'\n tasks:\n - name: Hello\n debug:\n msg: 'world'\n" @pytest.fixture(name="tmp_updated_lintable") def fixture_tmp_updated_lintable( tmp_path: Path, path: str, content: str, updated_content: str, ) -> Lintable: """Create a temp file Lintable with a content update that is not on disk.""" > lintable = Lintable(tmp_path / path, content) test/test_file_utils.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_updated_qu0/quotes.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ ERROR at setup of test_lintable_write[shorten_file] ______________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_shorten_fi0') path = 'shorten.yaml' content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated_content = '# short file\n' @pytest.fixture(name="tmp_updated_lintable") def fixture_tmp_updated_lintable( tmp_path: Path, path: str, content: str, updated_content: str, ) -> Lintable: """Create a temp file Lintable with a content update that is not on disk.""" > lintable = Lintable(tmp_path / path, content) test/test_file_utils.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_shorten_fi0/shorten.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________ ERROR at setup of test_lintable_write[forced_and_updated] ___________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_forced_and0') path = 'forced.yaml' content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated_content = "\n- name: 'playbook'\n tasks:\n - name: Hello\n debug:\n msg: 'world'\n" @pytest.fixture(name="tmp_updated_lintable") def fixture_tmp_updated_lintable( tmp_path: Path, path: str, content: str, updated_content: str, ) -> Lintable: """Create a temp file Lintable with a content update that is not on disk.""" > lintable = Lintable(tmp_path / path, content) test/test_file_utils.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_write_forced_and0/forced.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______ ERROR at setup of test_lintable_content_deleter[updated_quotes] ________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_content_deleter_0') path = 'quotes.yaml' content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated_content = "\n- name: 'playbook'\n tasks:\n - name: Hello\n debug:\n msg: 'world'\n" @pytest.fixture(name="tmp_updated_lintable") def fixture_tmp_updated_lintable( tmp_path: Path, path: str, content: str, updated_content: str, ) -> Lintable: """Create a temp file Lintable with a content update that is not on disk.""" > lintable = Lintable(tmp_path / path, content) test/test_file_utils.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_content_deleter_0/quotes.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____ ERROR at setup of TestCodeclimateJSONFormatter.test_json_format_list _____ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule = AnsibleLintRule() self.rule.id = "TCF0001" self.rule.severity = "VERY_HIGH" self.collection.register(self.rule) self.matches = [] self.matches.append( MatchError( message="message", lineno=1, details="hello", > lintable=Lintable("filename.yml", content=""), rule=self.rule, ), ) test/test_formatter_json.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ------------------------------ Captured log setup ------------------------------ WARNING ansiblelint._internal.rules:rules.py:69 Rule AnsibleLintRule has an invalid version_changed field '', is should be a 'X.Y.Z' format value. ______ ERROR at setup of TestCodeclimateJSONFormatter.test_result_is_json ______ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule = AnsibleLintRule() self.rule.id = "TCF0001" self.rule.severity = "VERY_HIGH" self.collection.register(self.rule) self.matches = [] self.matches.append( MatchError( message="message", lineno=1, details="hello", > lintable=Lintable("filename.yml", content=""), rule=self.rule, ), ) test/test_formatter_json.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____ ERROR at setup of TestCodeclimateJSONFormatter.test_json_single_match _____ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule = AnsibleLintRule() self.rule.id = "TCF0001" self.rule.severity = "VERY_HIGH" self.collection.register(self.rule) self.matches = [] self.matches.append( MatchError( message="message", lineno=1, details="hello", > lintable=Lintable("filename.yml", content=""), rule=self.rule, ), ) test/test_formatter_json.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______ ERROR at setup of TestCodeclimateJSONFormatter.test_result_is_list ______ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule = AnsibleLintRule() self.rule.id = "TCF0001" self.rule.severity = "VERY_HIGH" self.collection.register(self.rule) self.matches = [] self.matches.append( MatchError( message="message", lineno=1, details="hello", > lintable=Lintable("filename.yml", content=""), rule=self.rule, ), ) test/test_formatter_json.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _ ERROR at setup of TestCodeclimateJSONFormatter.test_validate_codeclimate_schema _ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule = AnsibleLintRule() self.rule.id = "TCF0001" self.rule.severity = "VERY_HIGH" self.collection.register(self.rule) self.matches = [] self.matches.append( MatchError( message="message", lineno=1, details="hello", > lintable=Lintable("filename.yml", content=""), rule=self.rule, ), ) test/test_formatter_json.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _ ERROR at setup of TestCodeclimateJSONFormatter.test_validate_codeclimate_schema_with_positions _ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule = AnsibleLintRule() self.rule.id = "TCF0001" self.rule.severity = "VERY_HIGH" self.collection.register(self.rule) self.matches = [] self.matches.append( MatchError( message="message", lineno=1, details="hello", > lintable=Lintable("filename.yml", content=""), rule=self.rule, ), ) test/test_formatter_json.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________ ERROR at setup of TestSarifFormatter.test_sarif_format_list __________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule1.id = "TCF0001" self.rule1.severity = "VERY_HIGH" self.rule1.description = "This is the rule description." self.rule1.link = "https://rules/help#TCF0001" self.rule1.tags = ["tag1", "tag2"] self.rule2.id = "TCF0002" self.rule2.severity = "MEDIUM" self.rule2.link = "https://rules/help#TCF0002" self.rule2.tags = ["tag3", "tag4"] self.matches.extend( [ MatchError( message="message1", lineno=1, column=10, details="details1", > lintable=Lintable("filename1.yml", content=""), rule=self.rule1, tag="yaml[test1]", ignored=False, ), MatchError( message="message2", lineno=2, details="", lintable=Lintable("filename2.yml", content=""), rule=self.rule1, tag="yaml[test2]", ignored=True, ), MatchError( message="message3", lineno=666, column=667, details="details3", lintable=Lintable("filename3.yml", content=""), rule=self.rule2, tag="yaml[test3]", ignored=False, ), ], ) test/test_formatter_sarif.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename1.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________ ERROR at setup of TestSarifFormatter.test_sarif_result_is_json ________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule1.id = "TCF0001" self.rule1.severity = "VERY_HIGH" self.rule1.description = "This is the rule description." self.rule1.link = "https://rules/help#TCF0001" self.rule1.tags = ["tag1", "tag2"] self.rule2.id = "TCF0002" self.rule2.severity = "MEDIUM" self.rule2.link = "https://rules/help#TCF0002" self.rule2.tags = ["tag3", "tag4"] self.matches.extend( [ MatchError( message="message1", lineno=1, column=10, details="details1", > lintable=Lintable("filename1.yml", content=""), rule=self.rule1, tag="yaml[test1]", ignored=False, ), MatchError( message="message2", lineno=2, details="", lintable=Lintable("filename2.yml", content=""), rule=self.rule1, tag="yaml[test2]", ignored=True, ), MatchError( message="message3", lineno=666, column=667, details="details3", lintable=Lintable("filename3.yml", content=""), rule=self.rule2, tag="yaml[test3]", ignored=False, ), ], ) test/test_formatter_sarif.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename1.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________ ERROR at setup of TestSarifFormatter.test_sarif_single_match _________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule1.id = "TCF0001" self.rule1.severity = "VERY_HIGH" self.rule1.description = "This is the rule description." self.rule1.link = "https://rules/help#TCF0001" self.rule1.tags = ["tag1", "tag2"] self.rule2.id = "TCF0002" self.rule2.severity = "MEDIUM" self.rule2.link = "https://rules/help#TCF0002" self.rule2.tags = ["tag3", "tag4"] self.matches.extend( [ MatchError( message="message1", lineno=1, column=10, details="details1", > lintable=Lintable("filename1.yml", content=""), rule=self.rule1, tag="yaml[test1]", ignored=False, ), MatchError( message="message2", lineno=2, details="", lintable=Lintable("filename2.yml", content=""), rule=self.rule1, tag="yaml[test2]", ignored=True, ), MatchError( message="message3", lineno=666, column=667, details="details3", lintable=Lintable("filename3.yml", content=""), rule=self.rule2, tag="yaml[test3]", ignored=False, ), ], ) test/test_formatter_sarif.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename1.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________ ERROR at setup of TestSarifFormatter.test_sarif_format ____________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule1.id = "TCF0001" self.rule1.severity = "VERY_HIGH" self.rule1.description = "This is the rule description." self.rule1.link = "https://rules/help#TCF0001" self.rule1.tags = ["tag1", "tag2"] self.rule2.id = "TCF0002" self.rule2.severity = "MEDIUM" self.rule2.link = "https://rules/help#TCF0002" self.rule2.tags = ["tag3", "tag4"] self.matches.extend( [ MatchError( message="message1", lineno=1, column=10, details="details1", > lintable=Lintable("filename1.yml", content=""), rule=self.rule1, tag="yaml[test1]", ignored=False, ), MatchError( message="message2", lineno=2, details="", lintable=Lintable("filename2.yml", content=""), rule=self.rule1, tag="yaml[test2]", ignored=True, ), MatchError( message="message3", lineno=666, column=667, details="details3", lintable=Lintable("filename3.yml", content=""), rule=self.rule2, tag="yaml[test3]", ignored=False, ), ], ) test/test_formatter_sarif.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename1.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______ ERROR at setup of TestSarifFormatter.test_validate_sarif_schema ________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 self = def setup_class(self) -> None: """Set up few MatchError objects.""" self.rule1.id = "TCF0001" self.rule1.severity = "VERY_HIGH" self.rule1.description = "This is the rule description." self.rule1.link = "https://rules/help#TCF0001" self.rule1.tags = ["tag1", "tag2"] self.rule2.id = "TCF0002" self.rule2.severity = "MEDIUM" self.rule2.link = "https://rules/help#TCF0002" self.rule2.tags = ["tag3", "tag4"] self.matches.extend( [ MatchError( message="message1", lineno=1, column=10, details="details1", > lintable=Lintable("filename1.yml", content=""), rule=self.rule1, tag="yaml[test1]", ignored=False, ), MatchError( message="message2", lineno=2, details="", lintable=Lintable("filename2.yml", content=""), rule=self.rule1, tag="yaml[test2]", ignored=True, ), MatchError( message="message3", lineno=666, column=667, details="details3", lintable=Lintable("filename3.yml", content=""), rule=self.rule2, tag="yaml[test3]", ignored=False, ), ], ) test/test_formatter_sarif.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename1.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____ ERROR at setup of test_get_path_to_play[ignore_unrecognized_yaml_file] ____ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 file_path = '.pre-commit-config.yaml' @pytest.fixture(name="lintable") def fixture_lintable(file_path: str) -> Lintable: """Return a playbook Lintable for use in ``get_path_to_*`` tests.""" > return Lintable(file_path) test/test_yaml_utils.py:320: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = .pre-commit-config.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____ ERROR at setup of test_get_path_to_task[ignore_unrecognized_yaml_file] ____ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 file_path = '.pre-commit-config.yaml' @pytest.fixture(name="lintable") def fixture_lintable(file_path: str) -> Lintable: """Return a playbook Lintable for use in ``get_path_to_*`` tests.""" > return Lintable(file_path) test/test_yaml_utils.py:320: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = .pre-commit-config.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________ ERROR at setup of test_tasks_in_list_empty_file ________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 @pytest.fixture(name="empty_lintable") def fixture_empty_lintable() -> Lintable: """Return a Lintable with no contents.""" > lintable = Lintable("__empty_file__.yaml", content="") test/test_yaml_utils.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = __empty_file__.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError =================================== FAILURES =================================== ______________________________ test_name_template ______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_name_template() -> None: """Negative test for name[templated].""" collection = RulesCollection() collection.register(NameRule()) failure = "examples/playbooks/rule-name-templated-fail.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() ansiblelint/rules/name.py:363: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-name-templated-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_args_module_fail _____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_args_module_fail(default_rules_collection: RulesCollection) -> None: """Test rule invalid module options.""" success = "examples/playbooks/rule-args-module-fail.yml" > results = Runner(success, rules=default_rules_collection).run() ansiblelint/rules/args.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-args-module-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_jinja_file[0] ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 lintable = 'examples/playbooks/vars/rule_jinja_vars.yml', matches = 0 @pytest.mark.parametrize( ("lintable", "matches"), (pytest.param("examples/playbooks/vars/rule_jinja_vars.yml", 0, id="0"),), ) def test_jinja_file(lintable: str, matches: int) -> None: """Tests our ability to process var filesspot spacing errors.""" collection = RulesCollection() collection.register(JinjaRule()) > errs = Runner(lintable, rules=collection).run() ansiblelint/rules/jinja.py:828: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/vars/rule_jinja_vars.yml (vars) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_rule_no_changed_when[pass] ________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-no-changed-when-pass.yml', expected = 0 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/rule-no-changed-when-pass.yml", 0, id="pass", ), pytest.param( "examples/playbooks/rule-no-changed-when-fail.yml", 3, id="fail", ), ), ) def test_rule_no_changed_when( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate no-changed-when rule.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/no_changed_when.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-no-changed-when-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_template_instead_of_copy_positive ____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_template_instead_of_copy_positive() -> None: """Positive test for avoid-implicit.""" collection = RulesCollection() collection.register(AvoidImplicitRule()) success = "examples/playbooks/rule-avoid-implicit-pass.yml" good_runner = Runner(success, rules=collection) > assert good_runner.run() == [] ansiblelint/rules/avoid_implicit.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-avoid-implicit-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_rule_no_changed_when[fail] ________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-no-changed-when-fail.yml', expected = 3 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/rule-no-changed-when-pass.yml", 0, id="pass", ), pytest.param( "examples/playbooks/rule-no-changed-when-fail.yml", 3, id="fail", ), ), ) def test_rule_no_changed_when( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate no-changed-when rule.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/no_changed_when.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-no-changed-when-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_template_instead_of_copy_negative ____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_template_instead_of_copy_negative() -> None: """Negative test for avoid-implicit.""" collection = RulesCollection() collection.register(AvoidImplicitRule()) failure = "examples/playbooks/rule-avoid-implicit-fail.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() ansiblelint/rules/avoid_implicit.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-avoid-implicit-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_jinja_invalid ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_jinja_invalid() -> None: """Tests our ability to spot spacing errors inside jinja2 templates.""" collection = RulesCollection() collection.register(JinjaRule()) success = "examples/playbooks/rule-jinja-fail.yml" > errs = Runner(success, rules=collection).run() ansiblelint/rules/jinja.py:840: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-jinja-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_rule_no_free_form[pass] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-no-free-form-pass.yml', expected = 0 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param("examples/playbooks/rule-no-free-form-pass.yml", 0, id="pass"), pytest.param("examples/playbooks/rule-no-free-form-fail.yml", 3, id="fail"), ), ) def test_rule_no_free_form( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/no_free_form.py:208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-no-free-form-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_command_instead_of_module[pass] _____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-command-instead-of-module-pass.yml' expected = 0 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/rule-command-instead-of-module-pass.yml", 0, id="pass", ), pytest.param( "examples/playbooks/rule-command-instead-of-module-fail.yml", 3, id="fail", ), ), ) def test_command_instead_of_module( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate that rule works as intended. :param default_rules_collection: Default rules for testing :param file: Test file to check for violations :expected: Expected number of errors """ > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/command_instead_of_module.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-command-instead-of-module-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________________ test_jinja_valid _______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_jinja_valid() -> None: """Tests our ability to parse jinja, even when variables may not be defined.""" collection = RulesCollection() collection.register(JinjaRule()) success = "examples/playbooks/rule-jinja-pass.yml" > errs = Runner(success, rules=collection).run() ansiblelint/rules/jinja.py:854: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-jinja-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_rule_no_free_form[fail] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-no-free-form-fail.yml', expected = 3 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param("examples/playbooks/rule-no-free-form-pass.yml", 0, id="pass"), pytest.param("examples/playbooks/rule-no-free-form-fail.yml", 3, id="fail"), ), ) def test_rule_no_free_form( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/no_free_form.py:208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-no-free-form-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_command_instead_of_module[fail] _____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-command-instead-of-module-fail.yml' expected = 3 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/rule-command-instead-of-module-pass.yml", 0, id="pass", ), pytest.param( "examples/playbooks/rule-command-instead-of-module-fail.yml", 3, id="fail", ), ), ) def test_command_instead_of_module( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate that rule works as intended. :param default_rules_collection: Default rules for testing :param file: Test file to check for violations :expected: Expected number of errors """ > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/command_instead_of_module.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-command-instead-of-module-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_jinja_nested_var_errors _________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_jinja_nested_var_errors() -> None: """Tests our ability to handle nested var errors from jinja2 templates.""" def _do_template(*args, **kwargs): # type: ignore[no-untyped-def] # Templar.do_template has no type hint data = args[1] if data != "{{ 12 | random(seed=inventory_hostname) }}": return do_template(*args, **kwargs) # type: ignore[no-untyped-call] msg = "Unexpected templating type error occurred on (foo): bar" raise AnsibleError(str(msg)) # type: ignore[no-untyped-call] do_template = Templar.do_template collection = RulesCollection() collection.register(JinjaRule()) lintable = Lintable("examples/playbooks/jinja-nested-vars.yml") with mock.patch.object(Templar, "do_template", _do_template): > results = Runner(lintable, rules=collection).run() ansiblelint/rules/jinja.py:906: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/jinja-nested-vars.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_no_handler[fail] _____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/no_handler_fail.yml', failures = 5 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param("examples/playbooks/no_handler_fail.yml", 5, id="fail"), pytest.param("examples/playbooks/no_handler_pass.yml", 0, id="pass"), ), ) def test_no_handler( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/no_handler.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/no_handler_fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_rule_command_instead_of_shell[good] ___________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-command-instead-of-shell-pass.yml', expected = 0 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/rule-command-instead-of-shell-pass.yml", 0, id="good", ), pytest.param( "examples/playbooks/rule-command-instead-of-shell-fail.yml", 3, id="bad", ), ), ) def test_rule_command_instead_of_shell( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate that rule works as intended. :param default_rules_collection: Default rules for testing :param file: Test file to check for violations :expected: Expected number of errors """ > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/command_instead_of_shell.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-command-instead-of-shell-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_no_handler[pass] _____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/no_handler_pass.yml', failures = 0 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param("examples/playbooks/no_handler_fail.yml", 5, id="fail"), pytest.param("examples/playbooks/no_handler_pass.yml", 0, id="pass"), ), ) def test_no_handler( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/no_handler.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/no_handler_pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_rule_command_instead_of_shell[bad] ____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-command-instead-of-shell-fail.yml', expected = 3 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/rule-command-instead-of-shell-pass.yml", 0, id="good", ), pytest.param( "examples/playbooks/rule-command-instead-of-shell-fail.yml", 3, id="bad", ), ), ) def test_rule_command_instead_of_shell( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate that rule works as intended. :param default_rules_collection: Default rules for testing :param file: Test file to check for violations :expected: Expected number of errors """ > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/command_instead_of_shell.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-command-instead-of-shell-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_key_order_rule[pass] ___________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/rule-key-order-pass.yml', failures = 0 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param("examples/playbooks/rule-key-order-pass.yml", 0, id="pass"), pytest.param("examples/playbooks/rule-key-order-fail.yml", 6, id="fail"), ), ) def test_key_order_rule( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/key_order.py:165: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-key-order-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_complexity[pass] _____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/rule-complexity-pass.yml', expected_results = [] monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf4099960> config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...False, version=False, list_profiles=False, ignore_file=None, max_tasks=5, max_block_depth=3, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_results"), ( pytest.param( "examples/playbooks/rule-complexity-pass.yml", [], id="pass", ), pytest.param( "examples/playbooks/rule-complexity-fail.yml", ["complexity[play]", "complexity[nesting]"], id="fail", ), ), ) def test_complexity( file: str, expected_results: list[str], monkeypatch: pytest.MonkeyPatch, config_options: Options, ) -> None: """Test rule.""" monkeypatch.setattr(config_options, "max_tasks", 5) monkeypatch.setattr(config_options, "max_block_depth", 3) collection = RulesCollection(options=config_options) collection.register(ComplexityRule()) > results = Runner(file, rules=collection).run() ansiblelint/rules/complexity.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-complexity-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_key_order_rule[fail] ___________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/rule-key-order-fail.yml', failures = 6 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param("examples/playbooks/rule-key-order-pass.yml", 0, id="pass"), pytest.param("examples/playbooks/rule-key-order-fail.yml", 6, id="fail"), ), ) def test_key_order_rule( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/key_order.py:165: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-key-order-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_complexity[fail] _____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/rule-complexity-fail.yml' expected_results = ['complexity[play]', 'complexity[nesting]'] monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf40a6c10> config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...False, version=False, list_profiles=False, ignore_file=None, max_tasks=5, max_block_depth=3, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_results"), ( pytest.param( "examples/playbooks/rule-complexity-pass.yml", [], id="pass", ), pytest.param( "examples/playbooks/rule-complexity-fail.yml", ["complexity[play]", "complexity[nesting]"], id="fail", ), ), ) def test_complexity( file: str, expected_results: list[str], monkeypatch: pytest.MonkeyPatch, config_options: Options, ) -> None: """Test rule.""" monkeypatch.setattr(config_options, "max_tasks", 5) monkeypatch.setattr(config_options, "max_block_depth", 3) collection = RulesCollection(options=config_options) collection.register(ComplexityRule()) > results = Runner(file, rules=collection).run() ansiblelint/rules/complexity.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-complexity-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_literal_compare[fail] __________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/rule_literal_compare_fail.yml', failures = 3 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param( "examples/playbooks/rule_literal_compare_fail.yml", 3, id="fail", ), pytest.param( "examples/playbooks/rule_literal_compare_pass.yml", 0, id="pass", ), ), ) def test_literal_compare( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" # Enable checking of loop variable prefixes in roles > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/literal_compare.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule_literal_compare_fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_use_bare_positive ____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 @pytest.mark.filterwarnings("ignore::ansible_compat.runtime.AnsibleWarning") def test_use_bare_positive() -> None: """Positive test for deprecated-bare-vars.""" collection = RulesCollection() collection.register(UsingBareVariablesIsDeprecatedRule()) success = "examples/playbooks/rule-deprecated-bare-vars-pass.yml" good_runner = Runner(success, rules=collection) > assert good_runner.run() == [] ansiblelint/rules/deprecated_bare_vars.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-deprecated-bare-vars-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_literal_compare[pass] __________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/rule_literal_compare_pass.yml', failures = 0 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param( "examples/playbooks/rule_literal_compare_fail.yml", 3, id="fail", ), pytest.param( "examples/playbooks/rule_literal_compare_pass.yml", 0, id="pass", ), ), ) def test_literal_compare( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" # Enable checking of loop variable prefixes in roles > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/literal_compare.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule_literal_compare_pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_use_bare_negative ____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_use_bare_negative() -> None: """Negative test for deprecated-bare-vars.""" collection = RulesCollection() collection.register(UsingBareVariablesIsDeprecatedRule()) failure = "examples/playbooks/rule-deprecated-bare-vars-fail.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() ansiblelint/rules/deprecated_bare_vars.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-deprecated-bare-vars-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_local_action _______________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_local_action(default_rules_collection: RulesCollection) -> None: """Positive test deprecated_local_action.""" results = Runner( "examples/playbooks/rule-deprecated-local-action-fail.yml", rules=default_rules_collection, > ).run() ansiblelint/rules/deprecated_local_action.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-deprecated-local-action-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_local_action_transform __________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) default_rules_collection = @mock.patch.dict(os.environ, {"ANSIBLE_LINT_WRITE_TMP": "1"}, clear=True) def test_local_action_transform( config_options: Options, default_rules_collection: RulesCollection, ) -> None: """Test transform functionality for no-log-password rule.""" playbook = Path("examples/playbooks/tasks/local_action.yml") config_options.write_list = ["all"] config_options.lintables = [str(playbook)] > runner_result = get_matches( rules=default_rules_collection, options=config_options, ) ansiblelint/rules/deprecated_local_action.py:110: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:708: in get_matches matches.extend(runner.run()) ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/tasks/local_action.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_rule_empty_string_compare_fail ______________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_rule_empty_string_compare_fail() -> None: """Test rule matches.""" rules = RulesCollection() rules.register(ComparisonToEmptyStringRule()) results = Runner( "examples/playbooks/rule-empty-string-compare-fail.yml", rules=rules, > ).run() ansiblelint/rules/empty_string_compare.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-empty-string-compare-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_rule_empty_string_compare_pass ______________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_rule_empty_string_compare_pass() -> None: """Test rule matches.""" rules = RulesCollection() rules.register(ComparisonToEmptyStringRule()) results = Runner( "examples/playbooks/rule-empty-string-compare-pass.yml", rules=rules, > ).run() ansiblelint/rules/empty_string_compare.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-empty-string-compare-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_galaxy_no_collection_version _______________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_galaxy_no_collection_version() -> None: """Test for no collection version in galaxy.""" collection = RulesCollection() collection.register(GalaxyRule()) failure = "examples/.no_collection_version/galaxy.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() ansiblelint/rules/galaxy.py:197: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/.no_collection_version/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_jinja_file_positive ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_jinja_file_positive() -> None: """Positive test for no-jinja-when.""" collection = RulesCollection() collection.register(NoFormattingInWhenRule()) success = "examples/playbooks/rule-no-jinja-when-pass.yml" good_runner = Runner(success, rules=collection) > assert good_runner.run() == [] ansiblelint/rules/no_jinja_when.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-no-jinja-when-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_galaxy_rule[tags-format] _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml' expected = ['galaxy[tags-format]'] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_jinja_file_negative ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_jinja_file_negative() -> None: """Negative test for no-jinja-when.""" collection = RulesCollection() collection.register(NoFormattingInWhenRule()) failure = "examples/playbooks/rule-no-jinja-when-fail.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() ansiblelint/rules/no_jinja_when.py:127: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-no-jinja-when-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_galaxy_rule[tags-length] _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml' expected = ['galaxy[tags-length]'] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_no_log_unused[NoLogPasswordsRule] ____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (NoLogPasswordsRule,), indirect=["rule_runner"], ) def test_no_log_unused(rule_runner: RunFromText) -> None: """The task does not use no_log but also no loop.""" > results = rule_runner.run_playbook(NO_LOG_UNUSED) ansiblelint/rules/no_log_password.py:244: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbook0v445l8j.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_galaxy_rule[tags-count] _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/galaxy_tags/galaxy_count_tags/galaxy.yml' expected = ['galaxy[tags-count]'] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/galaxy_tags/galaxy_count_tags/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_no_log_false[NoLogPasswordsRule] _____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (NoLogPasswordsRule,), indirect=["rule_runner"], ) def test_no_log_false(rule_runner: RunFromText) -> None: """The task sets no_log to false.""" > results = rule_runner.run_playbook(NO_LOG_FALSE) ansiblelint/rules/no_log_password.py:254: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookzhgvhiri.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_galaxy_rule[tags] ____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml' expected = ['galaxy[tags]'] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_no_log_no[NoLogPasswordsRule] ______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (NoLogPasswordsRule,), indirect=["rule_runner"], ) def test_no_log_no(rule_runner: RunFromText) -> None: """The task sets no_log to no.""" > results = rule_runner.run_playbook(NO_LOG_NO) ansiblelint/rules/no_log_password.py:266: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookmiytht0n.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_galaxy_rule[pass] ____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/galaxy_tags/pass/galaxy.yml', expected = [] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/galaxy_tags/pass/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________ test_password_with_lock[NoLogPasswordsRule] __________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (NoLogPasswordsRule,), indirect=["rule_runner"], ) def test_password_with_lock(rule_runner: RunFromText) -> None: """The task sets a password but also lock the user.""" > results = rule_runner.run_playbook(PASSWORD_WITH_LOCK) ansiblelint/rules/no_log_password.py:277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookfiwsqals.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_galaxy_rule[schema] ___________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/.collection/galaxy.yml', expected = ['schema[galaxy]'] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/.collection/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_no_log_yes[NoLogPasswordsRule] ______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (NoLogPasswordsRule,), indirect=["rule_runner"], ) def test_no_log_yes(rule_runner: RunFromText) -> None: """The task sets no_log to yes.""" > results = rule_runner.run_playbook(NO_LOG_YES) ansiblelint/rules/no_log_password.py:288: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookauz5xloy.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________ test_galaxy_rule[invalid-dependency-version] _________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/.invalid_dependencies/galaxy.yml' expected = ['galaxy[invalid-dependency-version]', 'galaxy[invalid-dependency-version]'] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/.invalid_dependencies/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_no_log_true[NoLogPasswordsRule] _____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (NoLogPasswordsRule,), indirect=["rule_runner"], ) def test_no_log_true(rule_runner: RunFromText) -> None: """The task sets no_log to true.""" > results = rule_runner.run_playbook(NO_LOG_TRUE) ansiblelint/rules/no_log_password.py:298: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookw3uopqdj.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_galaxy_rule[no-changelog] ________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/.no_changelog/galaxy.yml', expected = ['galaxy[no-changelog]'] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/.no_changelog/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_galaxy_rule[no-collection-version] ____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/.no_collection_version/galaxy.yml' expected = ['schema[galaxy]', 'galaxy[version-missing]'] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/.no_collection_version/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________ test_no_log_password_lock_yes[NoLogPasswordsRule] _______________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (NoLogPasswordsRule,), indirect=["rule_runner"], ) def test_no_log_password_lock_yes(rule_runner: RunFromText) -> None: """The task only locks the user.""" > results = rule_runner.run_playbook(PASSWORD_LOCK_YES) ansiblelint/rules/no_log_password.py:308: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbook9fodi2d7.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_galaxy_rule[broken_no_runtime] ______________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/collections/broken_no_runtime/galaxy.yml' expected = ['galaxy[no-runtime]'] @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/galaxy_tags/galaxy_invalid_format_tags/galaxy.yml", ["galaxy[tags-format]"], id="tags-format", ), pytest.param( "examples/galaxy_tags/galaxy_invalid_length_tags/galaxy.yml", ["galaxy[tags-length]"], id="tags-length", ), pytest.param( "examples/galaxy_tags/galaxy_count_tags/galaxy.yml", ["galaxy[tags-count]"], id="tags-count", ), pytest.param( "examples/galaxy_tags/galaxy_no_required_tags/galaxy.yml", ["galaxy[tags]"], id="tags", ), pytest.param( "examples/galaxy_tags/pass/galaxy.yml", [], id="pass", ), pytest.param( "examples/.collection/galaxy.yml", ["schema[galaxy]"], id="schema", ), pytest.param( "examples/.invalid_dependencies/galaxy.yml", [ "galaxy[invalid-dependency-version]", "galaxy[invalid-dependency-version]", ], id="invalid-dependency-version", ), pytest.param( "examples/.no_changelog/galaxy.yml", ["galaxy[no-changelog]"], id="no-changelog", ), pytest.param( "examples/.no_collection_version/galaxy.yml", ["schema[galaxy]", "galaxy[version-missing]"], id="no-collection-version", ), pytest.param( "examples/collections/broken_no_runtime/galaxy.yml", ["galaxy[no-runtime]"], id="broken_no_runtime", ), ), ) def test_galaxy_rule( default_rules_collection: RulesCollection, file: str, expected: list[str], ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/galaxy.py:264: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/collections/broken_no_runtime/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______ test_no_log_password_lock_yes_but_no_password[NoLogPasswordsRule] _______ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (NoLogPasswordsRule,), indirect=["rule_runner"], ) def test_no_log_password_lock_yes_but_no_password(rule_runner: RunFromText) -> None: """The task only locks the user.""" > results = rule_runner.run_playbook(PASSWORD_LOCK_YES_BUT_NO_PASSWORD) ansiblelint/rules/no_log_password.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbook5w_vbfen.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_galaxy_collection_version_positive ____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_galaxy_collection_version_positive() -> None: """Positive test for collection version in galaxy.""" collection = RulesCollection() collection.register(GalaxyVersionIncorrectRule()) success = "examples/.collection/galaxy.yml" good_runner = Runner(success, rules=collection) > assert good_runner.run() == [] ansiblelint/rules/galaxy_version_incorrect.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/.collection/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________ test_password_lock_false[NoLogPasswordsRule] _________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (NoLogPasswordsRule,), indirect=["rule_runner"], ) def test_password_lock_false(rule_runner: RunFromText) -> None: """The task does not actually lock the user.""" > results = rule_runner.run_playbook(PASSWORD_LOCK_FALSE) ansiblelint/rules/no_log_password.py:328: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookkmxskssc.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_galaxy_collection_version_negative ____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_galaxy_collection_version_negative() -> None: """Negative test for collection version in galaxy.""" collection = RulesCollection() collection.register(GalaxyVersionIncorrectRule()) failure = "examples/meta/galaxy.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() ansiblelint/rules/galaxy_version_incorrect.py:99: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/meta/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_no_log_password_transform ________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @mock.patch.dict(os.environ, {"ANSIBLE_LINT_WRITE_TMP": "1"}, clear=True) def test_no_log_password_transform( config_options: Options, ) -> None: """Test transform functionality for no-log-password rule.""" playbook = Path("examples/playbooks/transform-no-log-password.yml") config_options.write_list = ["all"] rules = RulesCollection(options=config_options) rules.register(NoLogPasswordsRule()) config_options.lintables = [str(playbook)] > runner_result = get_matches(rules=rules, options=config_options) ansiblelint/rules/no_log_password.py:342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:708: in get_matches matches.extend(runner.run()) ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/transform-no-log-password.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_ignore_errors_true[IgnoreErrorsRule] ___________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (IgnoreErrorsRule,), indirect=["rule_runner"], ) def test_ignore_errors_true(rule_runner: RunFromText) -> None: """The task uses ignore_errors.""" > results = rule_runner.run_playbook(IGNORE_ERRORS_TRUE) ansiblelint/rules/ignore_errors.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookcuomql8p.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_no_prompting_fail ____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) def test_no_prompting_fail(config_options: Options) -> None: """Negative test for no-prompting.""" # For testing we want to manually enable opt-in rules config_options.enable_list = ["no-prompting"] rules = RulesCollection(options=config_options) rules.register(NoPromptingRule()) > results = Runner("examples/playbooks/rule-no-prompting.yml", rules=rules).run() ansiblelint/rules/no_prompting.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-no-prompting.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_ignore_errors_false[IgnoreErrorsRule] __________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (IgnoreErrorsRule,), indirect=["rule_runner"], ) def test_ignore_errors_false(rule_runner: RunFromText) -> None: """The task uses ignore_errors: false, oddly enough.""" > results = rule_runner.run_playbook(IGNORE_ERRORS_FALSE) ansiblelint/rules/ignore_errors.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbook9grjllck.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_no_relative_paths[fail] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/no_relative_paths_fail.yml', failures = 2 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param("examples/playbooks/no_relative_paths_fail.yml", 2, id="fail"), pytest.param("examples/playbooks/no_relative_paths_pass.yml", 0, id="pass"), ), ) def test_no_relative_paths( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/no_relative_paths.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/no_relative_paths_fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________ test_ignore_errors_check_mode[IgnoreErrorsRule] ________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (IgnoreErrorsRule,), indirect=["rule_runner"], ) def test_ignore_errors_check_mode(rule_runner: RunFromText) -> None: """The task uses ignore_errors: "{{ ansible_check_mode }}".""" > results = rule_runner.run_playbook(IGNORE_ERRORS_CHECK_MODE) ansiblelint/rules/ignore_errors.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookfob7ked4.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_no_relative_paths[pass] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/no_relative_paths_pass.yml', failures = 0 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param("examples/playbooks/no_relative_paths_fail.yml", 2, id="fail"), pytest.param("examples/playbooks/no_relative_paths_pass.yml", 0, id="pass"), ), ) def test_no_relative_paths( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/no_relative_paths.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/no_relative_paths_pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________ test_ignore_errors_register[IgnoreErrorsRule] _________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (IgnoreErrorsRule,), indirect=["rule_runner"], ) def test_ignore_errors_register(rule_runner: RunFromText) -> None: """The task uses ignore_errors: but output is registered and managed.""" > results = rule_runner.run_playbook(IGNORE_ERRORS_REGISTER) ansiblelint/rules/ignore_errors.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbook1fkjnd8c.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_failed_when[IgnoreErrorsRule] ______________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (IgnoreErrorsRule,), indirect=["rule_runner"], ) def test_failed_when(rule_runner: RunFromText) -> None: """Instead of ignore_errors, this task uses failed_when.""" > results = rule_runner.run_playbook(FAILED_WHEN) ansiblelint/rules/ignore_errors.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookpit6fzly.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_jinja_spacing_playbook __________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_jinja_spacing_playbook() -> None: """Ensure that expected error lines are matching found linting error lines.""" # list unexpected error lines or non-matching error lines lineno_list = [33, 36, 39, 42, 45, 48, 74] lintable = Lintable("examples/playbooks/jinja-spacing.yml") collection = RulesCollection() collection.register(JinjaRule()) > results = Runner(lintable, rules=collection).run() ansiblelint/rules/jinja.py:532: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/jinja-spacing.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_jinja_spacing_vars ____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_jinja_spacing_vars() -> None: """Ensure that expected error details are matching found linting error details.""" collection = RulesCollection() collection.register(JinjaRule()) lintable = Lintable("examples/playbooks/vars/jinja-spacing.yml") > results = Runner(lintable, rules=collection).run() ansiblelint/rules/jinja.py:548: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/vars/jinja-spacing.yml (vars) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_loop_var_prefix[pass] __________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/roles/loop_var_prefix/tasks/pass.yml' failures = 0 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param( "examples/playbooks/roles/loop_var_prefix/tasks/pass.yml", 0, id="pass", ), pytest.param( "examples/playbooks/roles/loop_var_prefix/tasks/fail.yml", 6, id="fail", ), ), ) def test_loop_var_prefix( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" # Enable checking of loop variable prefixes in roles options.loop_var_prefix = LOOP_VAR_PREFIX > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/loop_var_prefix.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/loop_var_prefix/tasks/pass.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_loop_var_prefix[fail] __________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/roles/loop_var_prefix/tasks/fail.yml' failures = 6 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param( "examples/playbooks/roles/loop_var_prefix/tasks/pass.yml", 0, id="pass", ), pytest.param( "examples/playbooks/roles/loop_var_prefix/tasks/fail.yml", 6, id="fail", ), ), ) def test_loop_var_prefix( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" # Enable checking of loop variable prefixes in roles options.loop_var_prefix = LOOP_VAR_PREFIX > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/loop_var_prefix.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/loop_var_prefix/tasks/fail.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[4] ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = True args = ['--fix=none'], config = 'test/fixtures/config-with-write-none.yml' expected = [] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-none.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[5] ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = True args = ['--fix', 'none'], config = 'test/fixtures/config-with-write-none.yml' expected = [] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-none.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[6] ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = True args = ['--fix=rule-tag,rule-id'] config = 'test/fixtures/config-with-write-subset.yml' expected = ['rule-tag', 'rule-id'] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-subset.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[7] ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = True args = ['--fix', 'rule-tag,rule-id'] config = 'test/fixtures/config-with-write-subset.yml' expected = ['rule-tag', 'rule-id'] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-subset.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_default_galaxy_info ___________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_default_galaxy_info( default_rules_collection: RulesCollection, ) -> None: """Test for meta-incorrect.""" results = Runner( "examples/roles/meta_incorrect_fail", rules=default_rules_collection, > ).run() ansiblelint/rules/meta_incorrect.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/meta_incorrect_fail/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[8] ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = True args = ['--fix', 'rule-tag', '--fix', 'rule-id'] config = 'test/fixtures/config-with-write-subset.yml' expected = ['rule-tag', 'rule-id'] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-subset.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_valid_tag_rule[MetaTagValidRule] _____________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (MetaTagValidRule,), indirect=["rule_runner"], ) def test_valid_tag_rule(rule_runner: RunFromText) -> None: """Test rule matches.""" > results = rule_runner.run( Path("examples/roles/meta_no_tags_valid/meta/main.yml"), ) ansiblelint/rules/meta_no_tags.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:47: in run return self._call_runner(filename) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/meta_no_tags_valid/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[9] ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = False args = ['--fix', 'examples/playbooks/example.yml'] config = 'test/fixtures/config-with-write-all.yml', expected = ['all'] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-all.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_meta_not_tags[MetaTagValidRule] _____________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (MetaTagValidRule,), indirect=["rule_runner"], ) def test_meta_not_tags(rule_runner: Any) -> None: """Test rule matches.""" > results = rule_runner.run( "examples/roles/meta_no_tags_galaxy_info/meta/main.yml", ) ansiblelint/rules/meta_no_tags.py:124: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:47: in run return self._call_runner(filename) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/meta_no_tags_galaxy_info/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[10] _____________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = False args = ['--fix', 'examples/playbooks/example.yml', 'non-existent.yml'] config = 'test/fixtures/config-with-write-all.yml', expected = ['all'] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-all.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_config_can_be_overridden _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'] def test_config_can_be_overridden(base_arguments: list[str]) -> None: """Check that config can be overridden from CLI.""" > no_override = cli.get_config([*base_arguments, "-t", "bad_tag"]) test/test_cli.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:598: in get_config file_config, options.config_file = load_config(options.config_file) ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = .ansible-lint (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_no_galaxy_tags_list[MetaTagValidRule] __________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (MetaTagValidRule,), indirect=["rule_runner"], ) def test_no_galaxy_tags_list(rule_runner: Any) -> None: """Test rule matches.""" > results = rule_runner.run("examples/roles/meta_tags_no_list/meta/main.yml") ansiblelint/rules/meta_no_tags.py:136: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:47: in run return self._call_runner(filename) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/meta_tags_no_list/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_different_config_file __________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'] def test_different_config_file(base_arguments: list[str]) -> None: """Ensures an alternate config_file can be used.""" > diff_config = cli.get_config( [*base_arguments, "-c", "test/fixtures/ansible-config.yml"], ) test/test_cli.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:598: in get_config file_config, options.config_file = load_config(options.config_file) ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/ansible-config.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________ test_galaxy_categories_as_list[MetaTagValidRule] _______________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (MetaTagValidRule,), indirect=["rule_runner"], ) def test_galaxy_categories_as_list(rule_runner: Any) -> None: """Test rule matches.""" > results = rule_runner.run( "examples/roles/meta_categories_as_list/meta/main.yml", ) ansiblelint/rules/meta_no_tags.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:47: in run return self._call_runner(filename) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/meta_categories_as_list/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_expand_path_user_and_vars_config_file __________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'] def test_expand_path_user_and_vars_config_file(base_arguments: list[str]) -> None: """Ensure user and vars are expanded when specified as exclude_paths.""" > config1 = cli.get_config( [*base_arguments, "-c", "test/fixtures/exclude-paths-with-expands.yml"], ) test/test_cli.py:190: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:598: in get_config file_config, options.config_file = load_config(options.config_file) ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/exclude-paths-with-expands.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_tags_not_a_string[MetaTagValidRule] ___________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (MetaTagValidRule,), indirect=["rule_runner"], ) def test_tags_not_a_string(rule_runner: Any) -> None: """Test rule matches.""" > results = rule_runner.run("examples/roles/meta_tags_not_a_string/meta/main.yml") ansiblelint/rules/meta_no_tags.py:159: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:47: in run return self._call_runner(filename) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/meta_tags_not_a_string/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_path_from_config_do_not_depend_on_cwd __________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf3fe7990> def test_path_from_config_do_not_depend_on_cwd( monkeypatch: MonkeyPatch, ) -> None: # Issue 572 """Check that config-provided paths are decoupled from CWD.""" > config1 = cli.load_config("test/fixtures/config-with-relative-path.yml")[0] test/test_cli.py:221: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-relative-path.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_default_meta_supported_version[pass0] __________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/meta_runtime_version_checks/pass_0/meta/runtime.yml' failures = 0, tags = 'meta-runtime[unsupported-version]' @pytest.mark.parametrize( ("test_file", "failures", "tags"), ( pytest.param( "examples/meta_runtime_version_checks/pass_0/meta/runtime.yml", 0, "meta-runtime[unsupported-version]", id="pass0", ), pytest.param( "examples/meta_runtime_version_checks/fail_0/meta/runtime.yml", 1, "meta-runtime[unsupported-version]", id="fail0", ), pytest.param( "examples/meta_runtime_version_checks/fail_1/meta/runtime.yml", 1, "meta-runtime[unsupported-version]", id="fail1", ), pytest.param( "examples/meta_runtime_version_checks/fail_2/meta/runtime.yml", 1, "meta-runtime[invalid-version]", id="fail2", ), ), ) def test_default_meta_supported_version( default_rules_collection: RulesCollection, test_file: str, failures: int, tags: str, ) -> None: """Test for default supported ansible versions.""" default_rules_collection.register(CheckRequiresAnsibleVersion()) > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/meta_runtime.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/meta_runtime_version_checks/pass_0/meta/runtime.yml (meta-runtime) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_extra_vars_loaded ____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'] def test_extra_vars_loaded(base_arguments: list[str]) -> None: """Ensure ``extra_vars`` option is loaded from file config.""" > config = cli.get_config( [*base_arguments, "-c", "test/fixtures/config-with-extra-vars.yml"], ) test/test_cli.py:243: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:598: in get_config file_config, options.config_file = load_config(options.config_file) ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-extra-vars.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_default_meta_supported_version[fail0] __________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/meta_runtime_version_checks/fail_0/meta/runtime.yml' failures = 1, tags = 'meta-runtime[unsupported-version]' @pytest.mark.parametrize( ("test_file", "failures", "tags"), ( pytest.param( "examples/meta_runtime_version_checks/pass_0/meta/runtime.yml", 0, "meta-runtime[unsupported-version]", id="pass0", ), pytest.param( "examples/meta_runtime_version_checks/fail_0/meta/runtime.yml", 1, "meta-runtime[unsupported-version]", id="fail0", ), pytest.param( "examples/meta_runtime_version_checks/fail_1/meta/runtime.yml", 1, "meta-runtime[unsupported-version]", id="fail1", ), pytest.param( "examples/meta_runtime_version_checks/fail_2/meta/runtime.yml", 1, "meta-runtime[invalid-version]", id="fail2", ), ), ) def test_default_meta_supported_version( default_rules_collection: RulesCollection, test_file: str, failures: int, tags: str, ) -> None: """Test for default supported ansible versions.""" default_rules_collection.register(CheckRequiresAnsibleVersion()) > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/meta_runtime.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/meta_runtime_version_checks/fail_0/meta/runtime.yml (meta-runtime) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_default_meta_supported_version[fail1] __________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/meta_runtime_version_checks/fail_1/meta/runtime.yml' failures = 1, tags = 'meta-runtime[unsupported-version]' @pytest.mark.parametrize( ("test_file", "failures", "tags"), ( pytest.param( "examples/meta_runtime_version_checks/pass_0/meta/runtime.yml", 0, "meta-runtime[unsupported-version]", id="pass0", ), pytest.param( "examples/meta_runtime_version_checks/fail_0/meta/runtime.yml", 1, "meta-runtime[unsupported-version]", id="fail0", ), pytest.param( "examples/meta_runtime_version_checks/fail_1/meta/runtime.yml", 1, "meta-runtime[unsupported-version]", id="fail1", ), pytest.param( "examples/meta_runtime_version_checks/fail_2/meta/runtime.yml", 1, "meta-runtime[invalid-version]", id="fail2", ), ), ) def test_default_meta_supported_version( default_rules_collection: RulesCollection, test_file: str, failures: int, tags: str, ) -> None: """Test for default supported ansible versions.""" default_rules_collection.register(CheckRequiresAnsibleVersion()) > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/meta_runtime.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/meta_runtime_version_checks/fail_1/meta/runtime.yml (meta-runtime) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_default_meta_supported_version[fail2] __________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/meta_runtime_version_checks/fail_2/meta/runtime.yml' failures = 1, tags = 'meta-runtime[invalid-version]' @pytest.mark.parametrize( ("test_file", "failures", "tags"), ( pytest.param( "examples/meta_runtime_version_checks/pass_0/meta/runtime.yml", 0, "meta-runtime[unsupported-version]", id="pass0", ), pytest.param( "examples/meta_runtime_version_checks/fail_0/meta/runtime.yml", 1, "meta-runtime[unsupported-version]", id="fail0", ), pytest.param( "examples/meta_runtime_version_checks/fail_1/meta/runtime.yml", 1, "meta-runtime[unsupported-version]", id="fail1", ), pytest.param( "examples/meta_runtime_version_checks/fail_2/meta/runtime.yml", 1, "meta-runtime[invalid-version]", id="fail2", ), ), ) def test_default_meta_supported_version( default_rules_collection: RulesCollection, test_file: str, failures: int, tags: str, ) -> None: """Test for default supported ansible versions.""" default_rules_collection.register(CheckRequiresAnsibleVersion()) > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/meta_runtime.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/meta_runtime_version_checks/fail_2/meta/runtime.yml (meta-runtime) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_added_meta_supported_version[pass1] ___________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/meta_runtime_version_checks/pass_1/meta/runtime.yml' failures = 0 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param( "examples/meta_runtime_version_checks/pass_1/meta/runtime.yml", 0, id="pass1", ), ), ) def test_added_meta_supported_version( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test for added supported ansible versions in the config.""" default_rules_collection.register(CheckRequiresAnsibleVersion()) default_rules_collection.options.supported_ansible_also = ["2.9"] > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/meta_runtime.py:152: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/meta_runtime_version_checks/pass_1/meta/runtime.yml (meta-runtime) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_video_links[1] ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/roles/meta_video_links_fail/meta/main.yml' failures = ("URL format 'https://www.youtube.com/watch?v=aWmRepTSFKs&feature=youtu.be' is not recognized. Expected it be a shared... "URL format 'www.acme.com/vid' is not recognized. Expected it be a shared link from Vimeo, YouTube, or Google Drive.") @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param( "examples/roles/meta_video_links_fail/meta/main.yml", ( "URL format 'https://www.youtube.com/watch?v=aWmRepTSFKs&feature=youtu.be' is not recognized. Expected it be a shared link from Vimeo, YouTube, or Google Drive.", "Expected item in 'video_links' to be a dictionary", "Expected item in 'video_links' to contain only keys 'url' and 'title'", "URL format 'www.acme.com/vid' is not recognized. Expected it be a shared link from Vimeo, YouTube, or Google Drive.", ), id="1", ), pytest.param( "examples/roles/meta_video_links_pass/meta/main.yml", (), id="2", ), ), ) def test_video_links( default_rules_collection: RulesCollection, test_file: str, failures: Sequence[str], ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/meta_video_links.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/meta_video_links_fail/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_video_links[2] ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/roles/meta_video_links_pass/meta/main.yml', failures = () @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param( "examples/roles/meta_video_links_fail/meta/main.yml", ( "URL format 'https://www.youtube.com/watch?v=aWmRepTSFKs&feature=youtu.be' is not recognized. Expected it be a shared link from Vimeo, YouTube, or Google Drive.", "Expected item in 'video_links' to be a dictionary", "Expected item in 'video_links' to contain only keys 'url' and 'title'", "URL format 'www.acme.com/vid' is not recognized. Expected it be a shared link from Vimeo, YouTube, or Google Drive.", ), id="1", ), pytest.param( "examples/roles/meta_video_links_pass/meta/main.yml", (), id="2", ), ), ) def test_video_links( default_rules_collection: RulesCollection, test_file: str, failures: Sequence[str], ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/meta_video_links.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/meta_video_links_pass/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_file_positive ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_file_positive() -> None: """Positive test for name[missing].""" collection = RulesCollection() collection.register(NameRule()) success = "examples/playbooks/rule-name-missing-pass.yml" good_runner = Runner(success, rules=collection) > assert good_runner.run() == [] ansiblelint/rules/name.py:265: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-name-missing-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_no_same_owner_rule[fail] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/roles/role_for_no_same_owner/tasks/fail.yml' failures = 12 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param( "examples/roles/role_for_no_same_owner/tasks/fail.yml", 12, id="fail", ), pytest.param( "examples/roles/role_for_no_same_owner/tasks/pass.yml", 0, id="pass", ), ), ) def test_no_same_owner_rule( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/no_same_owner.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/role_for_no_same_owner/tasks/fail.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_file_negative ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_file_negative() -> None: """Negative test for name[missing].""" collection = RulesCollection() collection.register(NameRule()) failure = "examples/playbooks/rule-name-missing-fail.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() ansiblelint/rules/name.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-name-missing-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_no_same_owner_rule[pass] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/roles/role_for_no_same_owner/tasks/pass.yml', failures = 0 @pytest.mark.parametrize( ("test_file", "failures"), ( pytest.param( "examples/roles/role_for_no_same_owner/tasks/fail.yml", 12, id="fail", ), pytest.param( "examples/roles/role_for_no_same_owner/tasks/pass.yml", 0, id="pass", ), ), ) def test_no_same_owner_rule( default_rules_collection: RulesCollection, test_file: str, failures: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/no_same_owner.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/role_for_no_same_owner/tasks/pass.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_name_prefix_positive ___________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) def test_name_prefix_positive(config_options: Options) -> None: """Positive test for name[prefix].""" config_options.enable_list = ["name[prefix]"] collection = RulesCollection(options=config_options) collection.register(NameRule()) success = Lintable( "examples/playbooks/tasks/main.yml", kind="tasks", ) good_runner = Runner(success, rules=collection) > results = good_runner.run() ansiblelint/rules/name.py:286: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/tasks/main.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________ test_run_single_role_path_no_trailing_slash_module ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_single_role_path_no_trailing_slash_module(local_test_dir: Path) -> None: """Test that a role path without a trailing slash is accepted.""" cwd = local_test_dir role_path = "roles/test-role" result = run_ansible_lint(role_path, cwd=cwd) > assert "Use shell only when shell functionality is required" in result.stdout E AssertionError: assert 'Use shell only when shell functionality is required' in '' E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/test-role'], returncode=1, stdo...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_cli_role_paths.py:27: AssertionError __________________________ test_name_prefix_negative ___________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) def test_name_prefix_negative(config_options: Options) -> None: """Negative test for name[missing].""" config_options.enable_list = ["name[prefix]"] collection = RulesCollection(options=config_options) collection.register(NameRule()) failure = Lintable( "examples/playbooks/tasks/rule-name-prefix-fail.yml", kind="tasks", ) bad_runner = Runner(failure, rules=collection) > results = bad_runner.run() ansiblelint/rules/name.py:299: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/tasks/rule-name-prefix-fail.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_name_prefix_negative_2 __________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) def test_name_prefix_negative_2(config_options: Options) -> None: """Negative test for name[prefix].""" config_options.enable_list = ["name[prefix]"] collection = RulesCollection(options=config_options) collection.register(NameRule()) failure = Lintable( "examples/playbooks/tasks/partial_prefix/foo.yml", kind="tasks", ) bad_runner = Runner(failure, rules=collection) > results = bad_runner.run() ansiblelint/rules/name.py:316: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/tasks/partial_prefix/foo.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_name_prefix_negative_3 __________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) def test_name_prefix_negative_3(config_options: Options) -> None: """Negative test for name[prefix].""" config_options.enable_list = ["name[prefix]"] collection = RulesCollection(options=config_options) collection.register(NameRule()) failure = Lintable( "examples/playbooks/tasks/partial_prefix/main.yml", kind="tasks", ) bad_runner = Runner(failure, rules=collection) > results = bad_runner.run() ansiblelint/rules/name.py:331: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/tasks/partial_prefix/main.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_rule_name_lowercase ___________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_rule_name_lowercase() -> None: """Negative test for a task that starts with lowercase.""" collection = RulesCollection() collection.register(NameRule()) failure = "examples/playbooks/rule-name-casing.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() ansiblelint/rules/name.py:342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-name-casing.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_name_play ________________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_name_play() -> None: """Positive test for name[play].""" collection = RulesCollection() collection.register(NameRule()) success = "examples/playbooks/rule-name-play-fail.yml" > errs = Runner(success, rules=collection).run() ansiblelint/rules/name.py:352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-name-play-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_schema[rulebook] _____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/rulebooks/rulebook-fail.yml', expected_kind = 'rulebook' expected = [".*'sss' is not of type 'object'.*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" > lintable = Lintable(file) ansiblelint/rules/schema.py:379: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/rulebooks/rulebook-fail.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_schema[rulebook2] ____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/rulebooks/rulebook-pass.yml', expected_kind = 'rulebook' expected = [] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" > lintable = Lintable(file) ansiblelint/rules/schema.py:379: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/rulebooks/rulebook-pass.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_schema[playbook] _____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/rule-schema-become-method-pass.yml' expected_kind = 'playbook', expected = [] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-schema-become-method-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_only_builtins_fail ____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_only_builtins_fail() -> None: """Test rule matches.""" env = os.environ.copy() env["NO_COLOR"] = "1" result = run_ansible_lint( "--strict", "--warn-list=", "--enable-list", "only-builtins", "examples/playbooks/rule-only-builtins.yml", env=env, ) > assert result.returncode == RC.VIOLATIONS_FOUND E AssertionError: assert 1 == 2 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '--strict', '--warn-list=', '--enable-...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 2 = RC.VIOLATIONS_FOUND ansiblelint/rules/only_builtins.py:82: AssertionError ____________________________ test_schema[playbook2] ____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/rule-schema-become-method-fail.yml' expected_kind = 'playbook' expected = ["'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-schema-become-method-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_invalid_var_name_playbook[0] _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/var-naming/rule-var-naming-fail.yml', expected = 7 config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/var-naming/rule-var-naming-fail.yml", 7, id="0", ), pytest.param("examples/Taskfile.yml", 0, id="1"), ), ) def test_invalid_var_name_playbook( file: str, expected: int, config_options: Options, ) -> None: """Test rule matches.""" rules = RulesCollection(options=config_options) rules.register(VariableNamingRule()) > results = Runner(Lintable(file), rules=rules).run() ansiblelint/rules/var_naming.py:372: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/var-naming/rule-var-naming-fail.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________ test_run_single_role_path_no_trailing_slash_script ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_single_role_path_no_trailing_slash_script(local_test_dir: Path) -> None: """Test that a role path without a trailing slash is accepted.""" cwd = local_test_dir role_path = "roles/test-role" result = run_ansible_lint(role_path, cwd=cwd, executable="ansible-lint") > assert "Use shell only when shell functionality is required" in result.stdout E AssertionError: assert 'Use shell only when shell functionality is required' in '' E + where '' = CompletedProcess(args=['ansible-lint', '--offline', 'roles/test-role'], returncode=1, stdout='', stderr='Traceback (mo...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_cli_role_paths.py:36: AssertionError ______________________ test_invalid_var_name_playbook[1] _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/Taskfile.yml', expected = 0 config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/var-naming/rule-var-naming-fail.yml", 7, id="0", ), pytest.param("examples/Taskfile.yml", 0, id="1"), ), ) def test_invalid_var_name_playbook( file: str, expected: int, config_options: Options, ) -> None: """Test rule matches.""" rules = RulesCollection(options=config_options) rules.register(VariableNamingRule()) > results = Runner(Lintable(file), rules=rules).run() ansiblelint/rules/var_naming.py:372: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/Taskfile.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_invalid_var_name_varsfile ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_invalid_var_name_varsfile( default_rules_collection: RulesCollection, ) -> None: """Test rule matches.""" results = Runner( Lintable("examples/playbooks/vars/rule_var_naming_fail.yml"), rules=default_rules_collection, > ).run() ansiblelint/rules/var_naming.py:387: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/vars/rule_var_naming_fail.yml (vars) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_invalid_vars_diff_files _________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_invalid_vars_diff_files( default_rules_collection: RulesCollection, ) -> None: """Test rule matches.""" results = Runner( Lintable("examples/playbooks/vars/rule_var_naming_fails_files"), rules=default_rules_collection, > ).run() ansiblelint/rules/var_naming.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/vars/rule_var_naming_fails_files/bar.yml (vars) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_only_builtins_allow ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_only_builtins_allow() -> None: """Test rule doesn't match.""" conf_path = "examples/playbooks/.ansible-lint-only-builtins-allow" result = run_ansible_lint( f"--config-file={conf_path}", "--strict", "--warn-list=", "--enable-list", "only-builtins", "examples/playbooks/rule-only-builtins.yml", ) assert "only-builtins" not in result.stdout > assert result.returncode == RC.SUCCESS E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '--config-file=examples/playbooks/.ans...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 0 = RC.SUCCESS ansiblelint/rules/only_builtins.py:99: AssertionError _______________________ test_var_naming_with_role_prefix _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_var_naming_with_role_prefix( default_rules_collection: RulesCollection, ) -> None: """Test rule matches.""" results = Runner( Lintable("examples/roles/role_vars_prefix_detection"), rules=default_rules_collection, > ).run() ansiblelint/rules/var_naming.py:428: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/role_vars_prefix_detection/defaults/main.yml (vars) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_only_builtin_pass[OnlyBuiltinsRule] ___________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 rule_runner = @pytest.mark.parametrize( "rule_runner", (OnlyBuiltinsRule,), indirect=["rule_runner"], ) def test_only_builtin_pass(rule_runner: RunFromText) -> None: """Test rule does not match.""" > results = rule_runner.run_playbook(SUCCESS_PLAY) ansiblelint/rules/only_builtins.py:108: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookdn167oto.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_var_naming_with_role_prefix_plays ____________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_var_naming_with_role_prefix_plays( default_rules_collection: RulesCollection, ) -> None: """Test rule matches.""" results = Runner( Lintable("examples/playbooks/role_vars_prefix_detection.yml"), rules=default_rules_collection, exclude_paths=["examples/roles/role_vars_prefix_detection"], > ).run() ansiblelint/rules/var_naming.py:441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/role_vars_prefix_detection.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________ test_run_single_role_path_with_trailing_slash _________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_single_role_path_with_trailing_slash(local_test_dir: Path) -> None: """Test that a role path with a trailing slash is accepted.""" cwd = local_test_dir role_path = "roles/test-role/" result = run_ansible_lint(role_path, cwd=cwd) > assert "Use shell only when shell functionality is required" in result.stdout E AssertionError: assert 'Use shell only when shell functionality is required' in '' E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/test-role/'], returncode=1, std...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_cli_role_paths.py:45: AssertionError ___________________________ test_partial_become_pass ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_partial_become_pass() -> None: """No errors found for partial-become.""" collection = RulesCollection() collection.register(BecomeUserWithoutBecomeRule()) success = "examples/playbooks/rule-partial-become-without-become-pass.yml" good_runner = Runner(success, rules=collection) > assert good_runner.run() == [] ansiblelint/rules/partial_become.py:243: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-partial-become-without-become-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_partial_become_fail ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_partial_become_fail() -> None: """Errors found for partial-become.""" collection = RulesCollection() collection.register(BecomeUserWithoutBecomeRule()) failure = "examples/playbooks/rule-partial-become-without-become-fail.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() ansiblelint/rules/partial_become.py:251: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-partial-become-without-become-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________________ test_octal[pass] _______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/rule-risky-octal-pass.yml', failures = 0 @pytest.mark.parametrize( ("file", "failures"), ( pytest.param("examples/playbooks/rule-risky-octal-pass.yml", 0, id="pass"), pytest.param("examples/playbooks/rule-risky-octal-fail.yml", 4, id="fail"), ), ) def test_octal(file: str, failures: int) -> None: """Test that octal permissions are valid.""" collection = RulesCollection() collection.register(OctalPermissionsRule()) > results = Runner(file, rules=collection).run() ansiblelint/rules/risky_octal.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-risky-octal-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________________ test_octal[fail] _______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/rule-risky-octal-fail.yml', failures = 4 @pytest.mark.parametrize( ("file", "failures"), ( pytest.param("examples/playbooks/rule-risky-octal-pass.yml", 0, id="pass"), pytest.param("examples/playbooks/rule-risky-octal-fail.yml", 4, id="fail"), ), ) def test_octal(file: str, failures: int) -> None: """Test that octal permissions are valid.""" collection = RulesCollection() collection.register(OctalPermissionsRule()) > results = Runner(file, rules=collection).run() ansiblelint/rules/risky_octal.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-risky-octal-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_risky_shell_pipe[pass] __________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-risky-shell-pipe-pass.yml', expected = 0 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/rule-risky-shell-pipe-pass.yml", 0, id="pass", ), pytest.param( "examples/playbooks/rule-risky-shell-pipe-fail.yml", 3, id="fail", ), ), ) def test_risky_shell_pipe( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/risky_shell_pipe.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-risky-shell-pipe-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_risky_shell_pipe[fail] __________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = file = 'examples/playbooks/rule-risky-shell-pipe-fail.yml', expected = 3 @pytest.mark.parametrize( ("file", "expected"), ( pytest.param( "examples/playbooks/rule-risky-shell-pipe-pass.yml", 0, id="pass", ), pytest.param( "examples/playbooks/rule-risky-shell-pipe-fail.yml", 3, id="fail", ), ), ) def test_risky_shell_pipe( default_rules_collection: RulesCollection, file: str, expected: int, ) -> None: """Validate that rule works as intended.""" > results = Runner(file, rules=default_rules_collection).run() ansiblelint/rules/risky_shell_pipe.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-risky-shell-pipe-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_role_name_path[fail] ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/rule-role-name-path.yml', failure = 3 @pytest.mark.parametrize( ("test_file", "failure"), (pytest.param("examples/playbooks/rule-role-name-path.yml", 3, id="fail"),), ) def test_role_name_path( default_rules_collection: RulesCollection, test_file: str, failure: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/role_name.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/rule-role-name-path.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________ test_run_multiple_role_path_no_trailing_slash _________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_multiple_role_path_no_trailing_slash(local_test_dir: Path) -> None: """Test that multiple roles paths without a trailing slash are accepted.""" cwd = local_test_dir role_path = "roles/test-role" result = run_ansible_lint(role_path, cwd=cwd) > assert "Use shell only when shell functionality is required" in result.stdout E AssertionError: assert 'Use shell only when shell functionality is required' in '' E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/test-role'], returncode=1, stdo...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_cli_role_paths.py:54: AssertionError _______________________ test_role_deps_path_names[fail] ________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/roles/role_with_deps_paths', failure = 3 @pytest.mark.parametrize( ("test_file", "failure"), (pytest.param("examples/roles/role_with_deps_paths", 3, id="fail"),), ) def test_role_deps_path_names( default_rules_collection: RulesCollection, test_file: str, failure: int, ) -> None: """Test rule matches.""" results = Runner( test_file, rules=default_rules_collection, > ).run() ansiblelint/rules/role_name.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/role_with_deps_paths/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_role_no_deps[no_deps] __________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/roles/test-no-deps-role', failure = 0 @pytest.mark.parametrize( ("test_file", "failure"), (pytest.param("examples/roles/test-no-deps-role", 0, id="no_deps"),), ) def test_role_no_deps( default_rules_collection: RulesCollection, test_file: str, failure: int, ) -> None: """Test role if no dependencies are present in meta/main.yml.""" results = Runner( test_file, rules=default_rules_collection, > ).run() ansiblelint/rules/role_name.py:239: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/test-no-deps-role/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_run_once[pass] ______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/run-once-pass.yml', failure = 0 @pytest.mark.parametrize( ("test_file", "failure"), ( pytest.param("examples/playbooks/run-once-pass.yml", 0, id="pass"), pytest.param("examples/playbooks/run-once-fail.yml", 2, id="fail"), ), ) def test_run_once( default_rules_collection: RulesCollection, test_file: str, failure: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/run_once.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/run-once-pass.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_run_once[fail] ______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = test_file = 'examples/playbooks/run-once-fail.yml', failure = 2 @pytest.mark.parametrize( ("test_file", "failure"), ( pytest.param("examples/playbooks/run-once-pass.yml", 0, id="pass"), pytest.param("examples/playbooks/run-once-fail.yml", 2, id="fail"), ), ) def test_run_once( default_rules_collection: RulesCollection, test_file: str, failure: int, ) -> None: """Test rule matches.""" > results = Runner(test_file, rules=default_rules_collection).run() ansiblelint/rules/run_once.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/run-once-fail.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_schema[galaxy] ______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/.collection/galaxy.yml', expected_kind = 'galaxy' expected = [".*'GPL' is not one of.*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/.collection/galaxy.yml (galaxy) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_schema[requirements] ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/roles/invalid_requirements_schema/meta/requirements.yml' expected_kind = 'requirements' expected = [".*{'foo': 'bar'} is not of type 'array'.*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/invalid_requirements_schema/meta/requirements.yml (requirements) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_schema[meta] _______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/roles/invalid_meta_schema/meta/main.yml' expected_kind = 'meta', expected = [".*False is not of type 'string'.*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/invalid_meta_schema/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_schema[vars] _______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/vars/invalid_vars_schema.yml', expected_kind = 'vars' expected = [".* '123' does not match any of the regexes.*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/vars/invalid_vars_schema.yml (vars) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_schema[execution-environment] ______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/execution-environment.yml' expected_kind = 'execution-environment', expected = [] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/execution-environment.yml (execution-environment) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________ test_schema[execution-environment-broken] ___________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/ee_broken/execution-environment.yml' expected_kind = 'execution-environment' expected = [".*Additional properties are not allowed \\('foo' was unexpected\\).*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/ee_broken/execution-environment.yml (execution-environment) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________ test_run_multiple_role_path_with_trailing_slash ________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_multiple_role_path_with_trailing_slash(local_test_dir: Path) -> None: """Test that multiple roles paths without a trailing slash are accepted.""" cwd = local_test_dir role_path = "roles/test-role/" result = run_ansible_lint(role_path, cwd=cwd) > assert "Use shell only when shell functionality is required" in result.stdout E AssertionError: assert 'Use shell only when shell functionality is required' in '' E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/test-role/'], returncode=1, std...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_cli_role_paths.py:63: AssertionError __________________________ test_schema[meta-runtime] ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/meta/runtime.yml', expected_kind = 'meta-runtime' expected = [] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/meta/runtime.yml (meta-runtime) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_schema[meta-runtime-broken] _______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/broken_collection_meta_runtime/meta/runtime.yml' expected_kind = 'meta-runtime' expected = [".*Additional properties are not allowed \\('foo' was unexpected\\).*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/broken_collection_meta_runtime/meta/runtime.yml (meta-runtime) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_schema[inventory] ____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/inventory/production.yml', expected_kind = 'inventory' expected = [] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/inventory/production.yml (inventory) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_schema[inventory-broken] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/inventory/broken_dev_inventory.yml' expected_kind = 'inventory' expected = [".*Additional properties are not allowed \\('foo' was unexpected\\).*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/inventory/broken_dev_inventory.yml (inventory) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_schema[ansible-lint-config] _______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = '.ansible-lint', expected_kind = 'ansible-lint-config', expected = [] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = .ansible-lint (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_schema[ansible-lint-config2] _______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/.config/ansible-lint.yml' expected_kind = 'ansible-lint-config', expected = [] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = .ansible-lint (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_schema[ansible-lint-config-broken0] ___________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/broken/.ansible-lint', expected_kind = 'ansible-lint-config' expected = [".*Additional properties are not allowed \\('foo' was unexpected\\).*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/broken/.ansible-lint (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_schema[ansible-lint-config-broken1] ___________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/broken_supported_ansible_also/.ansible-lint' expected_kind = 'ansible-lint-config' expected = [".*supported_ansible_also True is not of type 'array'.*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/broken_supported_ansible_also/.ansible-lint (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_schema[ansible-navigator-config] _____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/ansible-navigator.yml' expected_kind = 'ansible-navigator-config', expected = [] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/ansible-navigator.yml (ansible-navigator-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________ test_schema[ansible-navigator-config-broken] _________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/broken/ansible-navigator.yml' expected_kind = 'ansible-navigator-config' expected = [".*Additional properties are not allowed \\('ansible' was unexpected\\).*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/broken/ansible-navigator.yml (ansible-navigator-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_var_naming_with_pattern _________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_var_naming_with_pattern() -> None: """Test rule matches.""" role_path = "examples/roles/var_naming_pattern/tasks/main.yml" conf_path = "examples/roles/var_naming_pattern/.ansible-lint" result = run_ansible_lint( f"--config-file={conf_path}", role_path, ) > assert result.returncode == RC.SUCCESS E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '--config-file=examples/roles/var_nami...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 0 = RC.SUCCESS ansiblelint/rules/var_naming.py:463: AssertionError __________________________ test_schema[role-arg-spec] __________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/roles/hello/meta/argument_specs.yml' expected_kind = 'role-arg-spec', expected = [] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/hello/meta/argument_specs.yml (role-arg-spec) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_schema[role-arg-spec-broken] _______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/roles/broken_argument_specs/meta/argument_specs.yml' expected_kind = 'role-arg-spec' expected = [".*Additional properties are not allowed \\('foo' was unexpected\\).*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/broken_argument_specs/meta/argument_specs.yml (role-arg-spec) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_schema[changelog] ____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/changelogs/changelog.yaml', expected_kind = 'changelog' expected = [".*Additional properties are not allowed \\('foo' was unexpected\\).*https://"] config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) @pytest.mark.parametrize( ("file", "expected_kind", "expected"), ( pytest.param( "examples/.collection/galaxy.yml", "galaxy", [r".*'GPL' is not one of.*https://"], id="galaxy", ), pytest.param( "examples/roles/invalid_requirements_schema/meta/requirements.yml", "requirements", [ # r".*{'foo': 'bar'} is not valid under any of the given schemas.*https://", r".*{'foo': 'bar'} is not of type 'array'.*https://", ], id="requirements", ), pytest.param( "examples/roles/invalid_meta_schema/meta/main.yml", "meta", [r".*False is not of type 'string'.*https://"], id="meta", ), pytest.param( "examples/playbooks/vars/invalid_vars_schema.yml", "vars", [r".* '123' does not match any of the regexes.*https://"], id="vars", ), pytest.param( "examples/execution-environment.yml", "execution-environment", [], id="execution-environment", ), pytest.param( "examples/ee_broken/execution-environment.yml", "execution-environment", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="execution-environment-broken", ), pytest.param( "examples/meta/runtime.yml", "meta-runtime", [], id="meta-runtime", ), pytest.param( "examples/broken_collection_meta_runtime/meta/runtime.yml", "meta-runtime", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="meta-runtime-broken", ), pytest.param( "examples/inventory/production.yml", "inventory", [], id="inventory", ), pytest.param( "examples/inventory/broken_dev_inventory.yml", "inventory", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="inventory-broken", ), pytest.param( ".ansible-lint", "ansible-lint-config", [], id="ansible-lint-config", ), pytest.param( "examples/.config/ansible-lint.yml", "ansible-lint-config", [], id="ansible-lint-config2", ), pytest.param( "examples/broken/.ansible-lint", "ansible-lint-config", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/broken_supported_ansible_also/.ansible-lint", "ansible-lint-config", [ r".*supported_ansible_also True is not of type 'array'.*https://", ], id="ansible-lint-config-broken", ), pytest.param( "examples/ansible-navigator.yml", "ansible-navigator-config", [], id="ansible-navigator-config", ), pytest.param( "examples/broken/ansible-navigator.yml", "ansible-navigator-config", [ r".*Additional properties are not allowed \('ansible' was unexpected\).*https://", ], id="ansible-navigator-config-broken", ), pytest.param( "examples/roles/hello/meta/argument_specs.yml", "role-arg-spec", [], id="role-arg-spec", ), pytest.param( "examples/roles/broken_argument_specs/meta/argument_specs.yml", "role-arg-spec", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="role-arg-spec-broken", ), pytest.param( "examples/changelogs/changelog.yaml", "changelog", [ r".*Additional properties are not allowed \('foo' was unexpected\).*https://", ], id="changelog", ), pytest.param( "examples/rulebooks/rulebook-fail.yml", "rulebook", [ # r".*Additional properties are not allowed \('that_should_not_be_here' was unexpected\).*https://", r".*'sss' is not of type 'object'.*https://", ], id="rulebook", ), pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", [], id="rulebook2", ), pytest.param( "examples/playbooks/rule-schema-become-method-pass.yml", "playbook", [], id="playbook", ), pytest.param( "examples/playbooks/rule-schema-become-method-fail.yml", "playbook", [ "'become_method' must be one of the currently available values", "'become_method' must be one of the currently available values", ], id="playbook2", ), ), ) def test_schema( file: str, expected_kind: str, expected: list[str], config_options: Options, ) -> None: """Validate parsing of ansible output.""" lintable = Lintable(file) assert lintable.kind == expected_kind rules = RulesCollection(options=config_options) rules.register(ValidateSchemaRule()) > results = Runner(lintable, rules=rules).run() ansiblelint/rules/schema.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/changelogs/changelog.yaml (changelog) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_kinds[6] _________________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'test/schemas/test/molecule/cluster/molecule.yml', kind = 'yaml' @pytest.mark.parametrize( ("path", "kind"), ( pytest.param("tasks/run_test_playbook.yml", "tasks", id="0"), pytest.param("foo/playbook.yml", "playbook", id="1"), pytest.param("playbooks/foo.yml", "playbook", id="2"), pytest.param("examples/roles/foo.yml", "yaml", id="3"), # the only yml file that is not a playbook inside molecule/ folders pytest.param( "examples/.config/molecule/config.yml", "yaml", id="4", ), # molecule shared config pytest.param( "test/schemas/test/molecule/cluster/base.yml", "yaml", id="5", ), # molecule scenario base config pytest.param( "test/schemas/test/molecule/cluster/molecule.yml", "yaml", id="6", ), # molecule scenario config pytest.param( "test/schemas/test/molecule/cluster/foobar.yml", "playbook", id="7", ), # custom playbook name pytest.param( "test/schemas/test/molecule/cluster/converge.yml", "playbook", id="8", ), # common playbook name pytest.param( "roles/foo/molecule/scenario3/requirements.yml", "requirements", id="9", ), # requirements pytest.param( "roles/foo/molecule/scenario3/collections.yml", "requirements", id="10", ), # requirements pytest.param( "roles/foo/meta/argument_specs.yml", "role-arg-spec", id="11", ), # role argument specs # tasks files: pytest.param("tasks/directory with spaces/main.yml", "tasks", id="12"), # tasks pytest.param("tasks/requirements.yml", "tasks", id="13"), # tasks # requirements (we do not support includes yet) pytest.param( "requirements.yml", "requirements", id="14", ), # collection requirements pytest.param( "roles/foo/meta/requirements.yml", "requirements", id="15", ), # inside role requirements # Undeterminable files: pytest.param("test/fixtures/unknown-type.yml", "yaml", id="16"), pytest.param( "releasenotes/notes/run-playbooks-refactor.yaml", "reno", id="17", ), # reno pytest.param("examples/host_vars/localhost.yml", "vars", id="18"), pytest.param("examples/group_vars/all.yml", "vars", id="19"), pytest.param("examples/playbooks/vars/other.yml", "vars", id="20"), pytest.param( "examples/playbooks/vars/subfolder/settings.yml", "vars", id="21", ), # deep vars pytest.param( "molecule/scenario/collections.yml", "requirements", id="22", ), # deprecated 2.8 format pytest.param( "../roles/geerlingguy.mysql/tasks/configure.yml", "tasks", id="23", ), # relative path involved pytest.param("galaxy.yml", "galaxy", id="24"), pytest.param("foo.j2.yml", "jinja2", id="25"), pytest.param("foo.yml.j2", "jinja2", id="26"), pytest.param("foo.j2.yaml", "jinja2", id="27"), pytest.param("foo.yaml.j2", "jinja2", id="28"), pytest.param( "examples/playbooks/rulebook.yml", "playbook", id="29", ), # playbooks folder should determine kind pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", id="30", ), # content should determine it as a rulebook pytest.param( "examples/yamllint/valid.yml", "yaml", id="31", ), # empty yaml is valid yaml, not assuming anything else pytest.param( "examples/other/guess-1.yml", "playbook", id="32", ), # content should determine is as a play pytest.param( "examples/playbooks/tasks/passing_task.yml", "tasks", id="33", ), # content should determine is tasks pytest.param("examples/.collection/galaxy.yml", "galaxy", id="34"), pytest.param("examples/meta/runtime.yml", "meta-runtime", id="35"), pytest.param("examples/meta/changelogs/changelog.yaml", "changelog", id="36"), pytest.param("examples/inventory/inventory.yml", "inventory", id="37"), pytest.param("examples/inventory/production.yml", "inventory", id="38"), pytest.param("examples/playbooks/vars/empty_vars.yml", "vars", id="39"), pytest.param( "examples/playbooks/vars/subfolder/settings.yaml", "vars", id="40", ), pytest.param( "examples/sanity_ignores/tests/sanity/ignore-2.14.txt", "sanity-ignore-file", id="41", ), pytest.param("examples/playbooks/tasks/vars/bug-3289.yml", "vars", id="42"), pytest.param( "examples/site.yml", "playbook", id="43", ), # content should determine it as a play pytest.param( "plugins/modules/fake_module.py", "plugin", id="44", ), pytest.param("examples/meta/changelogs/changelog.yml", "changelog", id="45"), ), ) def test_kinds(path: str, kind: FileType) -> None: """Verify auto-detection logic based on DEFAULT_KINDS.""" # assert Lintable is able to determine file type > lintable_detected = Lintable(path) test/test_file_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/schemas/test/molecule/cluster/molecule.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_run_inside_role_dir ___________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_inside_role_dir(local_test_dir: Path) -> None: """Tests execution from inside a role.""" cwd = local_test_dir / "roles" / "test-role" role_path = "." result = run_ansible_lint(role_path, cwd=cwd) > assert "Use shell only when shell functionality is required" in result.stdout E AssertionError: assert 'Use shell only when shell functionality is required' in '' E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '.'], returncode=1, stdout='', stderr=...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_cli_role_paths.py:72: AssertionError ________________________________ test_kinds[16] ________________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'test/fixtures/unknown-type.yml', kind = 'yaml' @pytest.mark.parametrize( ("path", "kind"), ( pytest.param("tasks/run_test_playbook.yml", "tasks", id="0"), pytest.param("foo/playbook.yml", "playbook", id="1"), pytest.param("playbooks/foo.yml", "playbook", id="2"), pytest.param("examples/roles/foo.yml", "yaml", id="3"), # the only yml file that is not a playbook inside molecule/ folders pytest.param( "examples/.config/molecule/config.yml", "yaml", id="4", ), # molecule shared config pytest.param( "test/schemas/test/molecule/cluster/base.yml", "yaml", id="5", ), # molecule scenario base config pytest.param( "test/schemas/test/molecule/cluster/molecule.yml", "yaml", id="6", ), # molecule scenario config pytest.param( "test/schemas/test/molecule/cluster/foobar.yml", "playbook", id="7", ), # custom playbook name pytest.param( "test/schemas/test/molecule/cluster/converge.yml", "playbook", id="8", ), # common playbook name pytest.param( "roles/foo/molecule/scenario3/requirements.yml", "requirements", id="9", ), # requirements pytest.param( "roles/foo/molecule/scenario3/collections.yml", "requirements", id="10", ), # requirements pytest.param( "roles/foo/meta/argument_specs.yml", "role-arg-spec", id="11", ), # role argument specs # tasks files: pytest.param("tasks/directory with spaces/main.yml", "tasks", id="12"), # tasks pytest.param("tasks/requirements.yml", "tasks", id="13"), # tasks # requirements (we do not support includes yet) pytest.param( "requirements.yml", "requirements", id="14", ), # collection requirements pytest.param( "roles/foo/meta/requirements.yml", "requirements", id="15", ), # inside role requirements # Undeterminable files: pytest.param("test/fixtures/unknown-type.yml", "yaml", id="16"), pytest.param( "releasenotes/notes/run-playbooks-refactor.yaml", "reno", id="17", ), # reno pytest.param("examples/host_vars/localhost.yml", "vars", id="18"), pytest.param("examples/group_vars/all.yml", "vars", id="19"), pytest.param("examples/playbooks/vars/other.yml", "vars", id="20"), pytest.param( "examples/playbooks/vars/subfolder/settings.yml", "vars", id="21", ), # deep vars pytest.param( "molecule/scenario/collections.yml", "requirements", id="22", ), # deprecated 2.8 format pytest.param( "../roles/geerlingguy.mysql/tasks/configure.yml", "tasks", id="23", ), # relative path involved pytest.param("galaxy.yml", "galaxy", id="24"), pytest.param("foo.j2.yml", "jinja2", id="25"), pytest.param("foo.yml.j2", "jinja2", id="26"), pytest.param("foo.j2.yaml", "jinja2", id="27"), pytest.param("foo.yaml.j2", "jinja2", id="28"), pytest.param( "examples/playbooks/rulebook.yml", "playbook", id="29", ), # playbooks folder should determine kind pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", id="30", ), # content should determine it as a rulebook pytest.param( "examples/yamllint/valid.yml", "yaml", id="31", ), # empty yaml is valid yaml, not assuming anything else pytest.param( "examples/other/guess-1.yml", "playbook", id="32", ), # content should determine is as a play pytest.param( "examples/playbooks/tasks/passing_task.yml", "tasks", id="33", ), # content should determine is tasks pytest.param("examples/.collection/galaxy.yml", "galaxy", id="34"), pytest.param("examples/meta/runtime.yml", "meta-runtime", id="35"), pytest.param("examples/meta/changelogs/changelog.yaml", "changelog", id="36"), pytest.param("examples/inventory/inventory.yml", "inventory", id="37"), pytest.param("examples/inventory/production.yml", "inventory", id="38"), pytest.param("examples/playbooks/vars/empty_vars.yml", "vars", id="39"), pytest.param( "examples/playbooks/vars/subfolder/settings.yaml", "vars", id="40", ), pytest.param( "examples/sanity_ignores/tests/sanity/ignore-2.14.txt", "sanity-ignore-file", id="41", ), pytest.param("examples/playbooks/tasks/vars/bug-3289.yml", "vars", id="42"), pytest.param( "examples/site.yml", "playbook", id="43", ), # content should determine it as a play pytest.param( "plugins/modules/fake_module.py", "plugin", id="44", ), pytest.param("examples/meta/changelogs/changelog.yml", "changelog", id="45"), ), ) def test_kinds(path: str, kind: FileType) -> None: """Verify auto-detection logic based on DEFAULT_KINDS.""" # assert Lintable is able to determine file type > lintable_detected = Lintable(path) test/test_file_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/unknown-type.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_kinds[30] ________________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'examples/rulebooks/rulebook-pass.yml', kind = 'rulebook' @pytest.mark.parametrize( ("path", "kind"), ( pytest.param("tasks/run_test_playbook.yml", "tasks", id="0"), pytest.param("foo/playbook.yml", "playbook", id="1"), pytest.param("playbooks/foo.yml", "playbook", id="2"), pytest.param("examples/roles/foo.yml", "yaml", id="3"), # the only yml file that is not a playbook inside molecule/ folders pytest.param( "examples/.config/molecule/config.yml", "yaml", id="4", ), # molecule shared config pytest.param( "test/schemas/test/molecule/cluster/base.yml", "yaml", id="5", ), # molecule scenario base config pytest.param( "test/schemas/test/molecule/cluster/molecule.yml", "yaml", id="6", ), # molecule scenario config pytest.param( "test/schemas/test/molecule/cluster/foobar.yml", "playbook", id="7", ), # custom playbook name pytest.param( "test/schemas/test/molecule/cluster/converge.yml", "playbook", id="8", ), # common playbook name pytest.param( "roles/foo/molecule/scenario3/requirements.yml", "requirements", id="9", ), # requirements pytest.param( "roles/foo/molecule/scenario3/collections.yml", "requirements", id="10", ), # requirements pytest.param( "roles/foo/meta/argument_specs.yml", "role-arg-spec", id="11", ), # role argument specs # tasks files: pytest.param("tasks/directory with spaces/main.yml", "tasks", id="12"), # tasks pytest.param("tasks/requirements.yml", "tasks", id="13"), # tasks # requirements (we do not support includes yet) pytest.param( "requirements.yml", "requirements", id="14", ), # collection requirements pytest.param( "roles/foo/meta/requirements.yml", "requirements", id="15", ), # inside role requirements # Undeterminable files: pytest.param("test/fixtures/unknown-type.yml", "yaml", id="16"), pytest.param( "releasenotes/notes/run-playbooks-refactor.yaml", "reno", id="17", ), # reno pytest.param("examples/host_vars/localhost.yml", "vars", id="18"), pytest.param("examples/group_vars/all.yml", "vars", id="19"), pytest.param("examples/playbooks/vars/other.yml", "vars", id="20"), pytest.param( "examples/playbooks/vars/subfolder/settings.yml", "vars", id="21", ), # deep vars pytest.param( "molecule/scenario/collections.yml", "requirements", id="22", ), # deprecated 2.8 format pytest.param( "../roles/geerlingguy.mysql/tasks/configure.yml", "tasks", id="23", ), # relative path involved pytest.param("galaxy.yml", "galaxy", id="24"), pytest.param("foo.j2.yml", "jinja2", id="25"), pytest.param("foo.yml.j2", "jinja2", id="26"), pytest.param("foo.j2.yaml", "jinja2", id="27"), pytest.param("foo.yaml.j2", "jinja2", id="28"), pytest.param( "examples/playbooks/rulebook.yml", "playbook", id="29", ), # playbooks folder should determine kind pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", id="30", ), # content should determine it as a rulebook pytest.param( "examples/yamllint/valid.yml", "yaml", id="31", ), # empty yaml is valid yaml, not assuming anything else pytest.param( "examples/other/guess-1.yml", "playbook", id="32", ), # content should determine is as a play pytest.param( "examples/playbooks/tasks/passing_task.yml", "tasks", id="33", ), # content should determine is tasks pytest.param("examples/.collection/galaxy.yml", "galaxy", id="34"), pytest.param("examples/meta/runtime.yml", "meta-runtime", id="35"), pytest.param("examples/meta/changelogs/changelog.yaml", "changelog", id="36"), pytest.param("examples/inventory/inventory.yml", "inventory", id="37"), pytest.param("examples/inventory/production.yml", "inventory", id="38"), pytest.param("examples/playbooks/vars/empty_vars.yml", "vars", id="39"), pytest.param( "examples/playbooks/vars/subfolder/settings.yaml", "vars", id="40", ), pytest.param( "examples/sanity_ignores/tests/sanity/ignore-2.14.txt", "sanity-ignore-file", id="41", ), pytest.param("examples/playbooks/tasks/vars/bug-3289.yml", "vars", id="42"), pytest.param( "examples/site.yml", "playbook", id="43", ), # content should determine it as a play pytest.param( "plugins/modules/fake_module.py", "plugin", id="44", ), pytest.param("examples/meta/changelogs/changelog.yml", "changelog", id="45"), ), ) def test_kinds(path: str, kind: FileType) -> None: """Verify auto-detection logic based on DEFAULT_KINDS.""" # assert Lintable is able to determine file type > lintable_detected = Lintable(path) test/test_file_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/rulebooks/rulebook-pass.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_kinds[31] ________________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'examples/yamllint/valid.yml', kind = 'yaml' @pytest.mark.parametrize( ("path", "kind"), ( pytest.param("tasks/run_test_playbook.yml", "tasks", id="0"), pytest.param("foo/playbook.yml", "playbook", id="1"), pytest.param("playbooks/foo.yml", "playbook", id="2"), pytest.param("examples/roles/foo.yml", "yaml", id="3"), # the only yml file that is not a playbook inside molecule/ folders pytest.param( "examples/.config/molecule/config.yml", "yaml", id="4", ), # molecule shared config pytest.param( "test/schemas/test/molecule/cluster/base.yml", "yaml", id="5", ), # molecule scenario base config pytest.param( "test/schemas/test/molecule/cluster/molecule.yml", "yaml", id="6", ), # molecule scenario config pytest.param( "test/schemas/test/molecule/cluster/foobar.yml", "playbook", id="7", ), # custom playbook name pytest.param( "test/schemas/test/molecule/cluster/converge.yml", "playbook", id="8", ), # common playbook name pytest.param( "roles/foo/molecule/scenario3/requirements.yml", "requirements", id="9", ), # requirements pytest.param( "roles/foo/molecule/scenario3/collections.yml", "requirements", id="10", ), # requirements pytest.param( "roles/foo/meta/argument_specs.yml", "role-arg-spec", id="11", ), # role argument specs # tasks files: pytest.param("tasks/directory with spaces/main.yml", "tasks", id="12"), # tasks pytest.param("tasks/requirements.yml", "tasks", id="13"), # tasks # requirements (we do not support includes yet) pytest.param( "requirements.yml", "requirements", id="14", ), # collection requirements pytest.param( "roles/foo/meta/requirements.yml", "requirements", id="15", ), # inside role requirements # Undeterminable files: pytest.param("test/fixtures/unknown-type.yml", "yaml", id="16"), pytest.param( "releasenotes/notes/run-playbooks-refactor.yaml", "reno", id="17", ), # reno pytest.param("examples/host_vars/localhost.yml", "vars", id="18"), pytest.param("examples/group_vars/all.yml", "vars", id="19"), pytest.param("examples/playbooks/vars/other.yml", "vars", id="20"), pytest.param( "examples/playbooks/vars/subfolder/settings.yml", "vars", id="21", ), # deep vars pytest.param( "molecule/scenario/collections.yml", "requirements", id="22", ), # deprecated 2.8 format pytest.param( "../roles/geerlingguy.mysql/tasks/configure.yml", "tasks", id="23", ), # relative path involved pytest.param("galaxy.yml", "galaxy", id="24"), pytest.param("foo.j2.yml", "jinja2", id="25"), pytest.param("foo.yml.j2", "jinja2", id="26"), pytest.param("foo.j2.yaml", "jinja2", id="27"), pytest.param("foo.yaml.j2", "jinja2", id="28"), pytest.param( "examples/playbooks/rulebook.yml", "playbook", id="29", ), # playbooks folder should determine kind pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", id="30", ), # content should determine it as a rulebook pytest.param( "examples/yamllint/valid.yml", "yaml", id="31", ), # empty yaml is valid yaml, not assuming anything else pytest.param( "examples/other/guess-1.yml", "playbook", id="32", ), # content should determine is as a play pytest.param( "examples/playbooks/tasks/passing_task.yml", "tasks", id="33", ), # content should determine is tasks pytest.param("examples/.collection/galaxy.yml", "galaxy", id="34"), pytest.param("examples/meta/runtime.yml", "meta-runtime", id="35"), pytest.param("examples/meta/changelogs/changelog.yaml", "changelog", id="36"), pytest.param("examples/inventory/inventory.yml", "inventory", id="37"), pytest.param("examples/inventory/production.yml", "inventory", id="38"), pytest.param("examples/playbooks/vars/empty_vars.yml", "vars", id="39"), pytest.param( "examples/playbooks/vars/subfolder/settings.yaml", "vars", id="40", ), pytest.param( "examples/sanity_ignores/tests/sanity/ignore-2.14.txt", "sanity-ignore-file", id="41", ), pytest.param("examples/playbooks/tasks/vars/bug-3289.yml", "vars", id="42"), pytest.param( "examples/site.yml", "playbook", id="43", ), # content should determine it as a play pytest.param( "plugins/modules/fake_module.py", "plugin", id="44", ), pytest.param("examples/meta/changelogs/changelog.yml", "changelog", id="45"), ), ) def test_kinds(path: str, kind: FileType) -> None: """Verify auto-detection logic based on DEFAULT_KINDS.""" # assert Lintable is able to determine file type > lintable_detected = Lintable(path) test/test_file_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/yamllint/valid.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_kinds[32] ________________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'examples/other/guess-1.yml', kind = 'playbook' @pytest.mark.parametrize( ("path", "kind"), ( pytest.param("tasks/run_test_playbook.yml", "tasks", id="0"), pytest.param("foo/playbook.yml", "playbook", id="1"), pytest.param("playbooks/foo.yml", "playbook", id="2"), pytest.param("examples/roles/foo.yml", "yaml", id="3"), # the only yml file that is not a playbook inside molecule/ folders pytest.param( "examples/.config/molecule/config.yml", "yaml", id="4", ), # molecule shared config pytest.param( "test/schemas/test/molecule/cluster/base.yml", "yaml", id="5", ), # molecule scenario base config pytest.param( "test/schemas/test/molecule/cluster/molecule.yml", "yaml", id="6", ), # molecule scenario config pytest.param( "test/schemas/test/molecule/cluster/foobar.yml", "playbook", id="7", ), # custom playbook name pytest.param( "test/schemas/test/molecule/cluster/converge.yml", "playbook", id="8", ), # common playbook name pytest.param( "roles/foo/molecule/scenario3/requirements.yml", "requirements", id="9", ), # requirements pytest.param( "roles/foo/molecule/scenario3/collections.yml", "requirements", id="10", ), # requirements pytest.param( "roles/foo/meta/argument_specs.yml", "role-arg-spec", id="11", ), # role argument specs # tasks files: pytest.param("tasks/directory with spaces/main.yml", "tasks", id="12"), # tasks pytest.param("tasks/requirements.yml", "tasks", id="13"), # tasks # requirements (we do not support includes yet) pytest.param( "requirements.yml", "requirements", id="14", ), # collection requirements pytest.param( "roles/foo/meta/requirements.yml", "requirements", id="15", ), # inside role requirements # Undeterminable files: pytest.param("test/fixtures/unknown-type.yml", "yaml", id="16"), pytest.param( "releasenotes/notes/run-playbooks-refactor.yaml", "reno", id="17", ), # reno pytest.param("examples/host_vars/localhost.yml", "vars", id="18"), pytest.param("examples/group_vars/all.yml", "vars", id="19"), pytest.param("examples/playbooks/vars/other.yml", "vars", id="20"), pytest.param( "examples/playbooks/vars/subfolder/settings.yml", "vars", id="21", ), # deep vars pytest.param( "molecule/scenario/collections.yml", "requirements", id="22", ), # deprecated 2.8 format pytest.param( "../roles/geerlingguy.mysql/tasks/configure.yml", "tasks", id="23", ), # relative path involved pytest.param("galaxy.yml", "galaxy", id="24"), pytest.param("foo.j2.yml", "jinja2", id="25"), pytest.param("foo.yml.j2", "jinja2", id="26"), pytest.param("foo.j2.yaml", "jinja2", id="27"), pytest.param("foo.yaml.j2", "jinja2", id="28"), pytest.param( "examples/playbooks/rulebook.yml", "playbook", id="29", ), # playbooks folder should determine kind pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", id="30", ), # content should determine it as a rulebook pytest.param( "examples/yamllint/valid.yml", "yaml", id="31", ), # empty yaml is valid yaml, not assuming anything else pytest.param( "examples/other/guess-1.yml", "playbook", id="32", ), # content should determine is as a play pytest.param( "examples/playbooks/tasks/passing_task.yml", "tasks", id="33", ), # content should determine is tasks pytest.param("examples/.collection/galaxy.yml", "galaxy", id="34"), pytest.param("examples/meta/runtime.yml", "meta-runtime", id="35"), pytest.param("examples/meta/changelogs/changelog.yaml", "changelog", id="36"), pytest.param("examples/inventory/inventory.yml", "inventory", id="37"), pytest.param("examples/inventory/production.yml", "inventory", id="38"), pytest.param("examples/playbooks/vars/empty_vars.yml", "vars", id="39"), pytest.param( "examples/playbooks/vars/subfolder/settings.yaml", "vars", id="40", ), pytest.param( "examples/sanity_ignores/tests/sanity/ignore-2.14.txt", "sanity-ignore-file", id="41", ), pytest.param("examples/playbooks/tasks/vars/bug-3289.yml", "vars", id="42"), pytest.param( "examples/site.yml", "playbook", id="43", ), # content should determine it as a play pytest.param( "plugins/modules/fake_module.py", "plugin", id="44", ), pytest.param("examples/meta/changelogs/changelog.yml", "changelog", id="45"), ), ) def test_kinds(path: str, kind: FileType) -> None: """Verify auto-detection logic based on DEFAULT_KINDS.""" # assert Lintable is able to determine file type > lintable_detected = Lintable(path) test/test_file_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/other/guess-1.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_kinds[43] ________________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'examples/site.yml', kind = 'playbook' @pytest.mark.parametrize( ("path", "kind"), ( pytest.param("tasks/run_test_playbook.yml", "tasks", id="0"), pytest.param("foo/playbook.yml", "playbook", id="1"), pytest.param("playbooks/foo.yml", "playbook", id="2"), pytest.param("examples/roles/foo.yml", "yaml", id="3"), # the only yml file that is not a playbook inside molecule/ folders pytest.param( "examples/.config/molecule/config.yml", "yaml", id="4", ), # molecule shared config pytest.param( "test/schemas/test/molecule/cluster/base.yml", "yaml", id="5", ), # molecule scenario base config pytest.param( "test/schemas/test/molecule/cluster/molecule.yml", "yaml", id="6", ), # molecule scenario config pytest.param( "test/schemas/test/molecule/cluster/foobar.yml", "playbook", id="7", ), # custom playbook name pytest.param( "test/schemas/test/molecule/cluster/converge.yml", "playbook", id="8", ), # common playbook name pytest.param( "roles/foo/molecule/scenario3/requirements.yml", "requirements", id="9", ), # requirements pytest.param( "roles/foo/molecule/scenario3/collections.yml", "requirements", id="10", ), # requirements pytest.param( "roles/foo/meta/argument_specs.yml", "role-arg-spec", id="11", ), # role argument specs # tasks files: pytest.param("tasks/directory with spaces/main.yml", "tasks", id="12"), # tasks pytest.param("tasks/requirements.yml", "tasks", id="13"), # tasks # requirements (we do not support includes yet) pytest.param( "requirements.yml", "requirements", id="14", ), # collection requirements pytest.param( "roles/foo/meta/requirements.yml", "requirements", id="15", ), # inside role requirements # Undeterminable files: pytest.param("test/fixtures/unknown-type.yml", "yaml", id="16"), pytest.param( "releasenotes/notes/run-playbooks-refactor.yaml", "reno", id="17", ), # reno pytest.param("examples/host_vars/localhost.yml", "vars", id="18"), pytest.param("examples/group_vars/all.yml", "vars", id="19"), pytest.param("examples/playbooks/vars/other.yml", "vars", id="20"), pytest.param( "examples/playbooks/vars/subfolder/settings.yml", "vars", id="21", ), # deep vars pytest.param( "molecule/scenario/collections.yml", "requirements", id="22", ), # deprecated 2.8 format pytest.param( "../roles/geerlingguy.mysql/tasks/configure.yml", "tasks", id="23", ), # relative path involved pytest.param("galaxy.yml", "galaxy", id="24"), pytest.param("foo.j2.yml", "jinja2", id="25"), pytest.param("foo.yml.j2", "jinja2", id="26"), pytest.param("foo.j2.yaml", "jinja2", id="27"), pytest.param("foo.yaml.j2", "jinja2", id="28"), pytest.param( "examples/playbooks/rulebook.yml", "playbook", id="29", ), # playbooks folder should determine kind pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", id="30", ), # content should determine it as a rulebook pytest.param( "examples/yamllint/valid.yml", "yaml", id="31", ), # empty yaml is valid yaml, not assuming anything else pytest.param( "examples/other/guess-1.yml", "playbook", id="32", ), # content should determine is as a play pytest.param( "examples/playbooks/tasks/passing_task.yml", "tasks", id="33", ), # content should determine is tasks pytest.param("examples/.collection/galaxy.yml", "galaxy", id="34"), pytest.param("examples/meta/runtime.yml", "meta-runtime", id="35"), pytest.param("examples/meta/changelogs/changelog.yaml", "changelog", id="36"), pytest.param("examples/inventory/inventory.yml", "inventory", id="37"), pytest.param("examples/inventory/production.yml", "inventory", id="38"), pytest.param("examples/playbooks/vars/empty_vars.yml", "vars", id="39"), pytest.param( "examples/playbooks/vars/subfolder/settings.yaml", "vars", id="40", ), pytest.param( "examples/sanity_ignores/tests/sanity/ignore-2.14.txt", "sanity-ignore-file", id="41", ), pytest.param("examples/playbooks/tasks/vars/bug-3289.yml", "vars", id="42"), pytest.param( "examples/site.yml", "playbook", id="43", ), # content should determine it as a play pytest.param( "plugins/modules/fake_module.py", "plugin", id="44", ), pytest.param("examples/meta/changelogs/changelog.yml", "changelog", id="45"), ), ) def test_kinds(path: str, kind: FileType) -> None: """Verify auto-detection logic based on DEFAULT_KINDS.""" # assert Lintable is able to determine file type > lintable_detected = Lintable(path) test/test_file_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/site.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_lintable_updated[no_change] _______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'no_change.yaml' content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated_content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated = False @pytest.mark.parametrize( ("path", "content", "updated_content", "updated"), ( pytest.param( "no_change.yaml", BASIC_PLAYBOOK, BASIC_PLAYBOOK, False, id="no_change", ), pytest.param( "quotes.yaml", BASIC_PLAYBOOK, BASIC_PLAYBOOK.replace('"', "'"), True, id="updated_quotes", ), pytest.param( "shorten.yaml", BASIC_PLAYBOOK, "# short file\n", True, id="shorten_file", ), ), ) def test_lintable_updated( path: str, content: str, updated_content: str, updated: bool, ) -> None: """Validate ``Lintable.updated`` when setting ``Lintable.content``.""" > lintable = Lintable(path, content) test/test_file_utils.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = no_change.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_lintable_updated[updated_quotes] _____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'quotes.yaml' content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated_content = "\n- name: 'playbook'\n tasks:\n - name: Hello\n debug:\n msg: 'world'\n" updated = True @pytest.mark.parametrize( ("path", "content", "updated_content", "updated"), ( pytest.param( "no_change.yaml", BASIC_PLAYBOOK, BASIC_PLAYBOOK, False, id="no_change", ), pytest.param( "quotes.yaml", BASIC_PLAYBOOK, BASIC_PLAYBOOK.replace('"', "'"), True, id="updated_quotes", ), pytest.param( "shorten.yaml", BASIC_PLAYBOOK, "# short file\n", True, id="shorten_file", ), ), ) def test_lintable_updated( path: str, content: str, updated_content: str, updated: bool, ) -> None: """Validate ``Lintable.updated`` when setting ``Lintable.content``.""" > lintable = Lintable(path, content) test/test_file_utils.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = quotes.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_lintable_updated[shorten_file] ______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'shorten.yaml' content = '\n- name: "playbook"\n tasks:\n - name: Hello\n debug:\n msg: \'world\'\n' updated_content = '# short file\n', updated = True @pytest.mark.parametrize( ("path", "content", "updated_content", "updated"), ( pytest.param( "no_change.yaml", BASIC_PLAYBOOK, BASIC_PLAYBOOK, False, id="no_change", ), pytest.param( "quotes.yaml", BASIC_PLAYBOOK, BASIC_PLAYBOOK.replace('"', "'"), True, id="updated_quotes", ), pytest.param( "shorten.yaml", BASIC_PLAYBOOK, "# short file\n", True, id="shorten_file", ), ), ) def test_lintable_updated( path: str, content: str, updated_content: str, updated: bool, ) -> None: """Validate ``Lintable.updated`` when setting ``Lintable.content``.""" > lintable = Lintable(path, content) test/test_file_utils.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = shorten.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________ test_lintable_content_setter_with_bad_types[none] _______________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 updated_content = (None,) @pytest.mark.parametrize( "updated_content", ((None,), (b"bytes",)), ids=("none", "bytes"), ) def test_lintable_content_setter_with_bad_types(updated_content: Any) -> None: """Validate ``Lintable.updated`` when setting ``Lintable.content``.""" > lintable = Lintable("bad_type.yaml", BASIC_PLAYBOOK) test/test_file_utils.py:379: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = bad_type.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________ test_lintable_content_setter_with_bad_types[bytes] ______________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 updated_content = (b'bytes',) @pytest.mark.parametrize( "updated_content", ((None,), (b"bytes",)), ids=("none", "bytes"), ) def test_lintable_content_setter_with_bad_types(updated_content: Any) -> None: """Validate ``Lintable.updated`` when setting ``Lintable.content``.""" > lintable = Lintable("bad_type.yaml", BASIC_PLAYBOOK) test/test_file_utils.py:379: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = bad_type.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_lintable_with_new_file __________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_with_new_file0') def test_lintable_with_new_file(tmp_path: Path) -> None: """Validate ``Lintable.updated`` for a new file.""" > lintable = Lintable(tmp_path / "new.yaml") test/test_file_utils.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_lintable_with_new_file0/new.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_run_role_three_dir_deep _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_role_three_dir_deep(local_test_dir: Path) -> None: """Tests execution from deep inside a role.""" cwd = local_test_dir role_path = "testproject/roles/test-role" result = run_ansible_lint(role_path, cwd=cwd) > assert "Use shell only when shell functionality is required" in result.stdout E AssertionError: assert 'Use shell only when shell functionality is required' in '' E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'testproject/roles/test-role'], return...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_cli_role_paths.py:81: AssertionError ________________________________ test_bug_2513 _________________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_bug_25130') default_rules_collection = def test_bug_2513( tmp_path: Path, default_rules_collection: RulesCollection, ) -> None: """Regression test for bug 2513. Test that when CWD is outside ~, and argument is like ~/playbook.yml we will still be able to process the files. See: https://github.com/ansible/ansible-lint/issues/2513 """ filename = Path("~/.cache/ansible-lint/playbook.yml").expanduser() filename.parent.mkdir(parents=True, exist_ok=True) lintable = Lintable(filename, content="---\n- hosts: all\n") lintable.write(force=True) with cwd(tmp_path): > results = Runner(filename, rules=default_rules_collection).run() test/test_file_utils.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = ~/.cache/ansible-lint/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_format_coloured_string __________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_format_coloured_string() -> None: """Test formetting colored.""" match = MatchError( message="message", lineno=1, details=DETAILS, > lintable=Lintable("filename.yml", content=""), rule=rule, ) test/test_formatter.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_unicode_format_string __________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_unicode_format_string() -> None: """Test formatting unicode.""" match = MatchError( message="\U0001f427", lineno=1, details=DETAILS, > lintable=Lintable("filename.yml", content=""), rule=rule, ) test/test_formatter.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_dict_format_line _____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_dict_format_line() -> None: """Test formatting dictionary details.""" match = MatchError( message="xyz", lineno=1, details={"hello": "world"}, # type: ignore[arg-type] > lintable=Lintable("filename.yml", content=""), rule=rule, ) test/test_formatter.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = filename.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_run_playbook _______________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_playbook(local_test_dir: Path) -> None: """Call ansible-lint the way molecule does.""" cwd = local_test_dir / "roles" / "test-role" lintable = "molecule/default/include-import-role.yml" role_path = str(Path(cwd).parent.resolve()) env = os.environ.copy() env["ANSIBLE_ROLES_PATH"] = role_path env["NO_COLOR"] = "1" result = run_ansible_lint("-f", "pep8", lintable, cwd=cwd, env=env) # All 4 failures are expected to be found inside the included role and not # from the playbook given as argument. > assert result.returncode == RC.VIOLATIONS_FOUND E AssertionError: assert 1 == 2 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-f', 'pep8', 'molecule/default/includ...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 2 = RC.VIOLATIONS_FOUND test/test_cli_role_paths.py:97: AssertionError __________________ test_var_naming_with_pattern_foreign_role ___________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_var_naming_with_pattern_foreign_role() -> None: """Test rule matches.""" role_path = "examples/playbooks/bug-4095.yml" conf_path = "examples/roles/var_naming_pattern/.ansible-lint" result = run_ansible_lint( f"--config-file={conf_path}", role_path, ) > assert result.returncode == RC.SUCCESS E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '--config-file=examples/roles/var_nami...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 0 = RC.SUCCESS ansiblelint/rules/var_naming.py:474: AssertionError ______________________ test_run_role_name_invalid[normal] ______________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') args = [], expected_msg = 'role-name: Role name invalid-name does not match' @pytest.mark.parametrize( ("args", "expected_msg"), ( pytest.param( [], "role-name: Role name invalid-name does not match", id="normal", ), pytest.param(["--nocolor", "--skip-list", "role-name"], "", id="skipped"), ), ) def test_run_role_name_invalid( local_test_dir: Path, args: list[str], expected_msg: str, ) -> None: """Test run with a role with invalid name.""" cwd = local_test_dir role_path = "roles/invalid-name" env = {"NO_COLOR": "1"} result = run_ansible_lint(*args, role_path, cwd=cwd, env=env) > assert result.returncode == (2 if expected_msg else 0), result E AssertionError: CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/invalid-name'], returncode=1, s...result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\' E ') E assert 1 == 2 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/invalid-name'], returncode=1, s...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_cli_role_paths.py:124: AssertionError _________________ test_var_naming_with_include_tasks_and_vars __________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_var_naming_with_include_tasks_and_vars() -> None: """Test with include tasks and vars.""" role_path = "examples/roles/var_naming_pattern/tasks/include_task_with_vars.yml" result = run_ansible_lint(role_path) > assert result.returncode == RC.SUCCESS E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'examples/roles/var_naming_pattern/tas...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 0 = RC.SUCCESS ansiblelint/rules/var_naming.py:481: AssertionError _____________________ test_run_role_name_invalid[skipped] ______________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') args = ['--nocolor', '--skip-list', 'role-name'], expected_msg = '' @pytest.mark.parametrize( ("args", "expected_msg"), ( pytest.param( [], "role-name: Role name invalid-name does not match", id="normal", ), pytest.param(["--nocolor", "--skip-list", "role-name"], "", id="skipped"), ), ) def test_run_role_name_invalid( local_test_dir: Path, args: list[str], expected_msg: str, ) -> None: """Test run with a role with invalid name.""" cwd = local_test_dir role_path = "roles/invalid-name" env = {"NO_COLOR": "1"} result = run_ansible_lint(*args, role_path, cwd=cwd, env=env) > assert result.returncode == (2 if expected_msg else 0), result E AssertionError: CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '--nocolor', '--skip-list', 'role-name...result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\' E ') E assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '--nocolor', '--skip-list', 'role-name...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_cli_role_paths.py:124: AssertionError _________________ test_var_naming_with_set_fact_and_cacheable __________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_var_naming_with_set_fact_and_cacheable() -> None: """Test with include tasks and vars.""" role_path = "examples/roles/var_naming_pattern/tasks/cacheable_set_fact.yml" result = run_ansible_lint(role_path) > assert result.returncode == RC.SUCCESS E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'examples/roles/var_naming_pattern/tas...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 0 = RC.SUCCESS ansiblelint/rules/var_naming.py:488: AssertionError ________________________ test_run_role_name_with_prefix ________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_role_name_with_prefix(local_test_dir: Path) -> None: """Test run where role path has a prefix.""" cwd = local_test_dir role_path = "roles/ansible-role-foo" result = run_ansible_lint("-v", role_path, cwd=cwd) assert len(result.stdout) == 0 > assert result.returncode == 0 E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-v', 'roles/ansible-role-foo'], retur...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_cli_role_paths.py:136: AssertionError ________________ test_var_naming_with_include_role_import_role _________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_var_naming_with_include_role_import_role() -> None: """Test with include role and import role.""" role_path = "examples/.test_collection/roles/my_role/tasks/main.yml" result = run_ansible_lint(role_path) > assert result.returncode == RC.SUCCESS E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'examples/.test_collection/roles/my_ro...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 0 = RC.SUCCESS ansiblelint/rules/var_naming.py:495: AssertionError ____________________________ test_module_deprecated ____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_module_deprecated0') def test_module_deprecated(tmp_path: Path) -> None: """Test for deprecated-module.""" collection = RulesCollection() collection.register(DeprecatedModuleRule()) runner = RunFromText(collection) results = runner.run_role_tasks_main(MODULE_DEPRECATED, tmp_path=tmp_path) > assert len(results) == 1 E assert 0 == 1 E + where 0 = len([]) test/rules/test_deprecated_module.py:22: AssertionError ----------------------------- Captured stderr call ----------------------------- [DEPRECATION WARNING]: Passing `disable_lookups` to `template` is deprecated. This feature will be removed in version 2.23. ------------------------------ Captured log call ------------------------------- WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_module_deprecated0/tasks/main.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_module_deprecated0/tasks/main.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint.runner:runner.py:195 /usr/lib/python3/dist-packages/ansible/utils/display.py:715 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. _________________________________ test_success _________________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_success() -> None: """Positive test for inline-env-var.""" collection = RulesCollection() collection.register(EnvVarsInCommandRule()) runner = RunFromText(collection) > results = runner.run_playbook(SUCCESS_PLAY_TASKS) test/rules/test_inline_env_var.py:81: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbook_n8yopyg.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________________ test_fail ___________________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_fail() -> None: """Negative test for inline-env-var.""" collection = RulesCollection() collection.register(EnvVarsInCommandRule()) runner = RunFromText(collection) > results = runner.run_playbook(FAIL_PLAY_TASKS) test/rules/test_inline_env_var.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookvpstrq3m.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_command_changes_positive _________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_command_changes_positive() -> None: """Positive test for no-changed-when.""" collection = RulesCollection() collection.register(CommandHasChangesCheckRule()) success = "examples/playbooks/command-check-success.yml" good_runner = Runner(success, rules=collection) > assert good_runner.run() == [] test/rules/test_no_changed_when.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/command-check-success.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_run_role_name_from_meta _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_role_name_from_meta(local_test_dir: Path) -> None: """Test running from inside meta folder.""" cwd = local_test_dir role_path = "roles/valid-due-to-meta" result = run_ansible_lint("-v", role_path, cwd=cwd) assert len(result.stdout) == 0 > assert result.returncode == 0 E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-v', 'roles/valid-due-to-meta'], retu...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_cli_role_paths.py:146: AssertionError ________________________ test_command_changes_negative _________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_command_changes_negative() -> None: """Negative test for no-changed-when.""" collection = RulesCollection() collection.register(CommandHasChangesCheckRule()) failure = "examples/playbooks/command-check-failure.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() test/rules/test_no_changed_when.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/command-check-failure.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_package_not_latest_positive _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_package_not_latest_positive() -> None: """Positive test for package-latest.""" collection = RulesCollection() collection.register(PackageIsNotLatestRule()) success = "examples/playbooks/package-check-success.yml" good_runner = Runner(success, rules=collection) > assert good_runner.run() == [] test/rules/test_package_latest.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/package-check-success.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_package_not_latest_negative _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_package_not_latest_negative() -> None: """Negative test for package-latest.""" collection = RulesCollection() collection.register(PackageIsNotLatestRule()) failure = "examples/playbooks/package-check-failure.yml" bad_runner = Runner(failure, rules=collection) > errs = bad_runner.run() test/rules/test_package_latest.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/package-check-failure.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_role_name[ROLE_EMPTY_META] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 test_rules_collection = playbook_path = '/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_role_name_ROLE_EMPTY_META0/playbook.yml' messages = [] @pytest.mark.parametrize( ("playbook_path", "messages"), ( pytest.param( (PLAY_INCLUDE_ROLE, ROLE_NAME_VALID, ROLE_WITH_EMPTY_META), [], id="ROLE_EMPTY_META", ), ), indirect=("playbook_path",), ) def test_role_name( test_rules_collection: RulesCollection, playbook_path: str, messages: list[str], ) -> None: """Lint a playbook and compare the expected messages with the actual messages.""" runner = Runner(playbook_path, rules=test_rules_collection) > results = runner.run() test/rules/test_role_names.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_role_name_ROLE_EMPTY_META0/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_get_ansible_syntax_check_matches[0] ___________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = filename = 'examples/playbooks/conflicting_action.yml' expected_results = [('syntax-check[specific]', [4], 7, 'conflicting action statements: ansible.builtin.debug, ansible.builtin.command')] @pytest.mark.parametrize( ("filename", "expected_results"), ( pytest.param( "examples/playbooks/conflicting_action.yml", [ ( "syntax-check[specific]", [4], 7, "conflicting action statements: ansible.builtin.debug, ansible.builtin.command", ), ], id="0", ), pytest.param( "examples/playbooks/conflicting_action2.yml", [ ( "syntax-check[specific]", [5, 6], 7, "'include_role' is not a valid attribute for a Block", ), ], id="1", ), ), ) def test_get_ansible_syntax_check_matches( default_rules_collection: RulesCollection, filename: str, expected_results: list[tuple[str, list[int], int, str]], ) -> None: """Validate parsing of ansible output.""" lintable = Lintable( filename, kind="playbook", ) > result = sorted(Runner(lintable, rules=default_rules_collection).run()) test/rules/test_syntax_check.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/conflicting_action.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_get_ansible_syntax_check_matches[1] ___________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = filename = 'examples/playbooks/conflicting_action2.yml' expected_results = [('syntax-check[specific]', [5, 6], 7, "'include_role' is not a valid attribute for a Block")] @pytest.mark.parametrize( ("filename", "expected_results"), ( pytest.param( "examples/playbooks/conflicting_action.yml", [ ( "syntax-check[specific]", [4], 7, "conflicting action statements: ansible.builtin.debug, ansible.builtin.command", ), ], id="0", ), pytest.param( "examples/playbooks/conflicting_action2.yml", [ ( "syntax-check[specific]", [5, 6], 7, "'include_role' is not a valid attribute for a Block", ), ], id="1", ), ), ) def test_get_ansible_syntax_check_matches( default_rules_collection: RulesCollection, filename: str, expected_results: list[tuple[str, list[int], int, str]], ) -> None: """Validate parsing of ansible output.""" lintable = Lintable( filename, kind="playbook", ) > result = sorted(Runner(lintable, rules=default_rules_collection).run()) test/rules/test_syntax_check.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/conflicting_action2.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_empty_playbook ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_empty_playbook(default_rules_collection: RulesCollection) -> None: """Validate detection of empty-playbook.""" lintable = Lintable("examples/playbooks/empty_playbook.yml", kind="playbook") > result = Runner(lintable, rules=default_rules_collection).run() test/rules/test_syntax_check.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/empty_playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_extra_vars_passed_to_command _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = config_options = Options(_skip_ansible_syntax_check=False, cache_dir=None, colored=True, configured=False, cwd=PosixPath('.'), display_...se, version=False, list_profiles=False, ignore_file=None, max_tasks=100, max_block_depth=20, supported_ansible_also=[]) def test_extra_vars_passed_to_command( default_rules_collection: RulesCollection, config_options: Any, ) -> None: """Validate `extra-vars` are passed to syntax check command.""" config_options.extra_vars = { "foo": "bar", "complex_variable": ":{;\t$()", } lintable = Lintable("examples/playbooks/extra_vars.yml", kind="playbook") > result = Runner(lintable, rules=default_rules_collection).run() test/rules/test_syntax_check.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/extra_vars.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_sarif_file[0] ______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/valid.yml', return_code = 0 @pytest.mark.parametrize( ("file", "return_code"), ( pytest.param("examples/playbooks/valid.yml", 0, id="0"), pytest.param("playbook.yml", 2, id="1"), ), ) def test_sarif_file(file: str, return_code: int) -> None: """Test ability to dump sarif file (--sarif-file).""" with NamedTemporaryFile( mode="w", suffix=".sarif", prefix="output", encoding="utf-8" ) as output_file: cmd = [ sys.executable, "-m", "ansiblelint", "--sarif-file", str(output_file.name), ] result = subprocess.run([*cmd, file], check=False, capture_output=True) > assert result.returncode == return_code E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--sarif-file', '/tmp/output386ae93j.sarif', 'examp...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_formatter_sarif.py:204: AssertionError ____________________________ test_syntax_check_role ____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_syntax_check_role(default_rules_collection: RulesCollection) -> None: """Validate syntax check of a broken role.""" lintable = Lintable("examples/playbooks/roles/invalid_due_syntax", kind="role") > result = Runner(lintable, rules=default_rules_collection).run() test/rules/test_syntax_check.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/invalid_due_syntax/tasks/main.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_run_invalid_role_name_from_meta _____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_invalid_role_name_from_meta(local_test_dir: Path) -> None: """Test invalid role from inside meta folder.""" cwd = local_test_dir role_path = "roles/invalid_due_to_meta" result = run_ansible_lint(role_path, cwd=cwd, env={"NO_COLOR": "1"}) > assert ( "role-name: Role name invalid-due-to-meta does not match" in strip_ansi_escape(result.stdout) ) E AssertionError: assert 'role-name: Role name invalid-due-to-meta does not match' in '' E + where '' = strip_ansi_escape('') E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/invalid_due_to_meta'], returnco...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_cli_role_paths.py:155: AssertionError _______________________________ test_adj_action ________________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = caplog = <_pytest.logging.LogCaptureFixture object at 0xf3af0e90> def test_adj_action( default_rules_collection: RulesCollection, caplog: pytest.LogCaptureFixture, ) -> None: """Assures local collections are found.""" playbook_path = "examples/playbooks/adj_action.yml" with caplog.at_level(logging.DEBUG): runner = Runner(playbook_path, rules=default_rules_collection, verbosity=1) > results = runner.run() test/test_adjacent_plugins.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/adj_action.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________________ test_null_tasks ________________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_text_runner = def test_null_tasks(default_text_runner: RunFromText) -> None: """Assure we do not fail when encountering null tasks.""" > results = default_text_runner.run_playbook(PB_WITH_NULL_TASKS) test/test_ansiblesyntax.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbook8bglr7zo.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_generate_ignore _____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_generate_ignore0') def test_generate_ignore(tmp_path: Path) -> None: """Validate that --generate-ignore dumps expected ignore to the file.""" > lintable = Lintable(tmp_path / "vars.yaml") test/test_app.py:12: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_generate_ignore0/vars.yaml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_sarif_file[1] ______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'playbook.yml', return_code = 2 @pytest.mark.parametrize( ("file", "return_code"), ( pytest.param("examples/playbooks/valid.yml", 0, id="0"), pytest.param("playbook.yml", 2, id="1"), ), ) def test_sarif_file(file: str, return_code: int) -> None: """Test ability to dump sarif file (--sarif-file).""" with NamedTemporaryFile( mode="w", suffix=".sarif", prefix="output", encoding="utf-8" ) as output_file: cmd = [ sys.executable, "-m", "ansiblelint", "--sarif-file", str(output_file.name), ] result = subprocess.run([*cmd, file], check=False, capture_output=True) > assert result.returncode == return_code E AssertionError: assert 1 == 2 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--sarif-file', '/tmp/outputegrlgixv.sarif', 'playb...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_formatter_sarif.py:204: AssertionError ________________ test_run_single_role_path_with_roles_path_env _________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_single_role_path_with_roles_path_env(local_test_dir: Path) -> None: """Test for role name collision with ANSIBLE_ROLES_PATH. Test if ansible-lint chooses the role in the current directory when the role specified as parameter exists in the current directory and the ANSIBLE_ROLES_PATH. """ cwd = local_test_dir role_path = "roles/test-role" env = os.environ.copy() env["ANSIBLE_ROLES_PATH"] = os.path.realpath((cwd / "../examples/roles").resolve()) result = run_ansible_lint(role_path, cwd=cwd, env=env) > assert "Use shell only when shell functionality is required" in result.stdout E AssertionError: assert 'Use shell only when shell functionality is required' in '' E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/test-role'], returncode=1, stdo...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_cli_role_paths.py:174: AssertionError _________________ test_sarif_file_creates_it_if_none_exists[0] _________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/valid.yml', return_code = 0 @pytest.mark.parametrize( ("file", "return_code"), (pytest.param("examples/playbooks/valid.yml", 0, id="0"),), ) def test_sarif_file_creates_it_if_none_exists(file: str, return_code: int) -> None: """Test ability to create sarif file if none exists and dump output to it (--sarif-file).""" sarif_file_name = "test_output.sarif" cmd = [ sys.executable, "-m", "ansiblelint", "--sarif-file", sarif_file_name, ] result = subprocess.run([*cmd, file], check=False, capture_output=True) > assert result.returncode == return_code E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--sarif-file', 'test_output.sarif', 'examples/play...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_formatter_sarif.py:224: AssertionError ________________________ test_import_role2[IMPORT_ROLE] ________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook_path = '/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_IMPORT_ROLE_0/playbook.yml' messages = ['only when shell functionality is required', 'All tasks should be named'] @pytest.mark.parametrize( ("playbook_path", "messages"), ( pytest.param( PLAY_IMPORT_ROLE, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE", ), pytest.param( PLAY_IMPORT_ROLE_FQCN, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE_FQCN", ), pytest.param( PLAY_IMPORT_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="IMPORT_ROLE_INLINE", ), pytest.param( PLAY_INCLUDE_ROLE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE", ), pytest.param( PLAY_INCLUDE_ROLE_FQCN, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_FQCN", ), pytest.param( PLAY_INCLUDE_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_INLINE", ), ), indirect=("playbook_path",), ) def test_import_role2( default_rules_collection: RulesCollection, playbook_path: str, messages: list[str], ) -> None: """Test that include_role digs deeper than import_role.""" runner = Runner( playbook_path, rules=default_rules_collection, skip_list=["fqcn[action-core]"], ) > results = runner.run() test/test_import_include_role.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_IMPORT_ROLE_0/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_run_playbook_github[on] _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 result = True env = {'GITHUB_ACTIONS': 'true', 'GITHUB_WORKFLOW': 'foo', 'HOME': '/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13', 'LANG': 'C', ...} @pytest.mark.parametrize( ("result", "env"), ( (True, {"GITHUB_ACTIONS": "true", "GITHUB_WORKFLOW": "foo", "NO_COLOR": "1"}), (False, None), ), ids=("on", "off"), ) def test_run_playbook_github(result: bool, env: dict[str, str]) -> None: """Call ansible-lint simulating GitHub Actions environment.""" cwd = Path(__file__).parent.parent.resolve() role_path = "examples/playbooks/example.yml" if env is None: env = {} env["PATH"] = os.environ["PATH"] result_gh = run_ansible_lint(role_path, cwd=cwd, env=env) expected = ( "::error file=examples/playbooks/example.yml,line=44,severity=VERY_LOW,title=package-latest::" "Package installs should not use latest" ) > assert (expected in result_gh.stderr) is result E assert ('::error file=examples/playbooks/example.yml,line=44,severity=VERY_LOW,title=package-latest::Package installs should not use latest' in 'Traceback (most recent call last):\n File "", line 198, in _run_module_as_main\n File "... result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n') is True E + where 'Traceback (most recent call last):\n File "", line 198, in _run_module_as_main\n File "... result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'examples/playbooks/example.yml'], ret...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stderr test/test_cli_role_paths.py:199: AssertionError _____________________ test_import_role2[IMPORT_ROLE_FQCN] ______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook_path = '/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_IMPORT_ROLE_1/playbook.yml' messages = ['only when shell functionality is required', 'All tasks should be named'] @pytest.mark.parametrize( ("playbook_path", "messages"), ( pytest.param( PLAY_IMPORT_ROLE, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE", ), pytest.param( PLAY_IMPORT_ROLE_FQCN, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE_FQCN", ), pytest.param( PLAY_IMPORT_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="IMPORT_ROLE_INLINE", ), pytest.param( PLAY_INCLUDE_ROLE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE", ), pytest.param( PLAY_INCLUDE_ROLE_FQCN, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_FQCN", ), pytest.param( PLAY_INCLUDE_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_INLINE", ), ), indirect=("playbook_path",), ) def test_import_role2( default_rules_collection: RulesCollection, playbook_path: str, messages: list[str], ) -> None: """Test that include_role digs deeper than import_role.""" runner = Runner( playbook_path, rules=default_rules_collection, skip_list=["fqcn[action-core]"], ) > results = runner.run() test/test_import_include_role.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_IMPORT_ROLE_1/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_import_role2[IMPORT_ROLE_INLINE] _____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook_path = '/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_IMPORT_ROLE_2/playbook.yml' messages = ['only when shell functionality is require', 'All tasks should be named'] @pytest.mark.parametrize( ("playbook_path", "messages"), ( pytest.param( PLAY_IMPORT_ROLE, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE", ), pytest.param( PLAY_IMPORT_ROLE_FQCN, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE_FQCN", ), pytest.param( PLAY_IMPORT_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="IMPORT_ROLE_INLINE", ), pytest.param( PLAY_INCLUDE_ROLE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE", ), pytest.param( PLAY_INCLUDE_ROLE_FQCN, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_FQCN", ), pytest.param( PLAY_INCLUDE_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_INLINE", ), ), indirect=("playbook_path",), ) def test_import_role2( default_rules_collection: RulesCollection, playbook_path: str, messages: list[str], ) -> None: """Test that include_role digs deeper than import_role.""" runner = Runner( playbook_path, rules=default_rules_collection, skip_list=["fqcn[action-core]"], ) > results = runner.run() test/test_import_include_role.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_IMPORT_ROLE_2/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_import_role2[INCLUDE_ROLE] ________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook_path = '/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_INCLUDE_ROLE0/playbook.yml' messages = ['only when shell functionality is require', 'All tasks should be named'] @pytest.mark.parametrize( ("playbook_path", "messages"), ( pytest.param( PLAY_IMPORT_ROLE, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE", ), pytest.param( PLAY_IMPORT_ROLE_FQCN, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE_FQCN", ), pytest.param( PLAY_IMPORT_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="IMPORT_ROLE_INLINE", ), pytest.param( PLAY_INCLUDE_ROLE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE", ), pytest.param( PLAY_INCLUDE_ROLE_FQCN, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_FQCN", ), pytest.param( PLAY_INCLUDE_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_INLINE", ), ), indirect=("playbook_path",), ) def test_import_role2( default_rules_collection: RulesCollection, playbook_path: str, messages: list[str], ) -> None: """Test that include_role digs deeper than import_role.""" runner = Runner( playbook_path, rules=default_rules_collection, skip_list=["fqcn[action-core]"], ) > results = runner.run() test/test_import_include_role.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_INCLUDE_ROLE0/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_import_role2[INCLUDE_ROLE_FQCN] _____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook_path = '/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_INCLUDE_ROLE1/playbook.yml' messages = ['only when shell functionality is require', 'All tasks should be named'] @pytest.mark.parametrize( ("playbook_path", "messages"), ( pytest.param( PLAY_IMPORT_ROLE, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE", ), pytest.param( PLAY_IMPORT_ROLE_FQCN, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE_FQCN", ), pytest.param( PLAY_IMPORT_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="IMPORT_ROLE_INLINE", ), pytest.param( PLAY_INCLUDE_ROLE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE", ), pytest.param( PLAY_INCLUDE_ROLE_FQCN, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_FQCN", ), pytest.param( PLAY_INCLUDE_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_INLINE", ), ), indirect=("playbook_path",), ) def test_import_role2( default_rules_collection: RulesCollection, playbook_path: str, messages: list[str], ) -> None: """Test that include_role digs deeper than import_role.""" runner = Runner( playbook_path, rules=default_rules_collection, skip_list=["fqcn[action-core]"], ) > results = runner.run() test/test_import_include_role.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_INCLUDE_ROLE1/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_import_role2[INCLUDE_ROLE_INLINE] ____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook_path = '/tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_INCLUDE_ROLE2/playbook.yml' messages = ['only when shell functionality is require', 'All tasks should be named'] @pytest.mark.parametrize( ("playbook_path", "messages"), ( pytest.param( PLAY_IMPORT_ROLE, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE", ), pytest.param( PLAY_IMPORT_ROLE_FQCN, ["only when shell functionality is required", "All tasks should be named"], id="IMPORT_ROLE_FQCN", ), pytest.param( PLAY_IMPORT_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="IMPORT_ROLE_INLINE", ), pytest.param( PLAY_INCLUDE_ROLE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE", ), pytest.param( PLAY_INCLUDE_ROLE_FQCN, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_FQCN", ), pytest.param( PLAY_INCLUDE_ROLE_INLINE, ["only when shell functionality is require", "All tasks should be named"], id="INCLUDE_ROLE_INLINE", ), ), indirect=("playbook_path",), ) def test_import_role2( default_rules_collection: RulesCollection, playbook_path: str, messages: list[str], ) -> None: """Test that include_role digs deeper than import_role.""" runner = Runner( playbook_path, rules=default_rules_collection, skip_list=["fqcn[action-core]"], ) > results = runner.run() test/test_import_include_role.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw2/test_import_role2_INCLUDE_ROLE2/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_import_playbook_invalid _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_import_playbook_invalid( default_rules_collection: RulesCollection, ) -> None: """Assures import_playbook from collection.""" playbook_path = "examples/playbooks/test_import_playbook_invalid.yml" runner = Runner(playbook_path, rules=default_rules_collection) > results = runner.run() test/test_import_playbook.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/test_import_playbook_invalid.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_import_tasks[0] _____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook_path = 'examples/playbooks/test_import_with_conflicting_action_statements.yml' lintable_count = 2, match_count = 4 @pytest.mark.parametrize( ("playbook_path", "lintable_count", "match_count"), ( pytest.param( "examples/playbooks/test_import_with_conflicting_action_statements.yml", 2, 4, id="0", ), pytest.param("examples/playbooks/test_import_with_malformed.yml", 2, 1, id="1"), ), ) def test_import_tasks( default_rules_collection: RulesCollection, playbook_path: str, lintable_count: int, match_count: int, ) -> None: """Assures import_playbook includes are recognized.""" runner = Runner(playbook_path, rules=default_rules_collection) > results = runner.run() test/test_import_tasks.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/test_import_with_conflicting_action_statements.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_import_tasks[1] _____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook_path = 'examples/playbooks/test_import_with_malformed.yml' lintable_count = 2, match_count = 1 @pytest.mark.parametrize( ("playbook_path", "lintable_count", "match_count"), ( pytest.param( "examples/playbooks/test_import_with_conflicting_action_statements.yml", 2, 4, id="0", ), pytest.param("examples/playbooks/test_import_with_malformed.yml", 2, 1, id="1"), ), ) def test_import_tasks( default_rules_collection: RulesCollection, playbook_path: str, lintable_count: int, match_count: int, ) -> None: """Assures import_playbook includes are recognized.""" runner = Runner(playbook_path, rules=default_rules_collection) > results = runner.run() test/test_import_tasks.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/test_import_with_malformed.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_cases_warning_message __________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_cases_warning_message(default_rules_collection: RulesCollection) -> None: """Test that including a non-existing file produces an error.""" playbook_path = "examples/playbooks/play_miss_include.yml" runner = Runner(playbook_path, rules=default_rules_collection) > results = runner.run() test/test_include_miss_file_with_role.py:14: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/play_miss_include.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_cases_that_do_not_report[inplace] ____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 playbook_path = 'examples/playbooks/test_include_inplace.yml' default_rules_collection = caplog = <_pytest.logging.LogCaptureFixture object at 0xf427ae90> @pytest.mark.parametrize( "playbook_path", ( pytest.param("examples/playbooks/test_include_inplace.yml", id="inplace"), pytest.param("examples/playbooks/test_include_relative.yml", id="relative"), ), ) def test_cases_that_do_not_report( playbook_path: str, default_rules_collection: RulesCollection, caplog: LogCaptureFixture, ) -> None: """Test that relative inclusions are properly followed.""" runner = Runner(playbook_path, rules=default_rules_collection) > result = runner.run() test/test_include_miss_file_with_role.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/test_include_inplace.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_cases_that_do_not_report[relative] ____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 playbook_path = 'examples/playbooks/test_include_relative.yml' default_rules_collection = caplog = <_pytest.logging.LogCaptureFixture object at 0xf432bf50> @pytest.mark.parametrize( "playbook_path", ( pytest.param("examples/playbooks/test_include_inplace.yml", id="inplace"), pytest.param("examples/playbooks/test_include_relative.yml", id="relative"), ), ) def test_cases_that_do_not_report( playbook_path: str, default_rules_collection: RulesCollection, caplog: LogCaptureFixture, ) -> None: """Test that relative inclusions are properly followed.""" runner = Runner(playbook_path, rules=default_rules_collection) > result = runner.run() test/test_include_miss_file_with_role.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/test_include_relative.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_incorrect_module_args[playbook] _____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'examples/playbooks/incorrect_module_args.yml' default_rules_collection = @pytest.mark.parametrize( ("path"), ( pytest.param( "examples/playbooks/incorrect_module_args.yml", id="playbook", ), ), ) def test_incorrect_module_args( path: str, default_rules_collection: RulesCollection, ) -> None: """Check that we fail when file encoding is wrong.""" runner = Runner(path, rules=default_rules_collection) > matches = runner.run() test/test_internal_rules.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/incorrect_module_args.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_raw_rule_matching ____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 lintable = examples/playbooks/ematcher-rule.yml (playbook) def test_raw_rule_matching(lintable: Lintable) -> None: """Test rule.matchlines() on a playbook.""" rule = raw_task.RawTaskRule() > matches = rule.matchtasks(lintable) test/test_lint_rule.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/rules/__init__.py:170: in matchtasks data=file.data, ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/ematcher-rule.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ------------------------------ Captured log call ------------------------------- WARNING ansiblelint._internal.rules:rules.py:69 Rule RawTaskRule has an invalid version_changed field '', is should be a 'X.Y.Z' format value. ___________________________ test_run_role_identified ___________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_role_identified(local_test_dir: Path) -> None: """Test that role name is identified correctly.""" cwd = local_test_dir env = os.environ.copy() env["ANSIBLE_ROLES_PATH"] = os.path.realpath( (cwd / "../examples/roles/role_detection").resolve(), ) result = run_ansible_lint( Path("roles/role_detection/foo/defaults/main.yml"), cwd=cwd, env=env, ) > assert result.returncode == RC.SUCCESS E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/role_detection/foo/defaults/mai...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 0 = RC.SUCCESS test/test_cli_role_paths.py:215: AssertionError ____________________ test_list_rules_includes_opt_in_rules _____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 project_path = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build') def test_list_rules_includes_opt_in_rules(project_path: Path) -> None: """Checks that listing rules also includes the opt-in rules.""" # Piggyback off the .yamllint in the root of the repo, just for testing. # We'll "override" it with the one in the fixture. fakerole = Path("test") / "fixtures" / "list-rules-tests" result_list_rules = run_ansible_lint("-L", fakerole, cwd=project_path) > assert ("opt-in" in result_list_rules.stdout) is True E AssertionError: assert ('opt-in' in '') is True E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-L', 'test/fixtures/list-rules-tests'...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_list_rules.py:18: AssertionError _______________________ test_list_rules_includes_autofix _______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_list_rules_includes_autofix() -> None: """Checks that listing rules also includes the autofix label for applicable rules.""" result_list_rules = run_ansible_lint("--list-rules") > assert ("autofix" in result_list_rules.stdout) is True E AssertionError: assert ('autofix' in '') is True E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '--list-rules'], returncode=1, stdout=...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_list_rules.py:25: AssertionError ___________________ test_run_role_identified_prefix_missing ____________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 local_test_dir = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples') def test_run_role_identified_prefix_missing(local_test_dir: Path) -> None: """Test that role name is identified correctly, with prefix violations.""" cwd = local_test_dir env = os.environ.copy() env["ANSIBLE_ROLES_PATH"] = os.path.realpath( (cwd / "../examples/roles/role_detection/base").resolve(), ) result = run_ansible_lint( Path("roles/role_detection/base/bar/defaults/main.yml"), cwd=cwd, env=env, ) > assert result.returncode == RC.VIOLATIONS_FOUND E AssertionError: assert 1 == 2 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'roles/role_detection/base/bar/default...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 2 = RC.VIOLATIONS_FOUND test/test_cli_role_paths.py:231: AssertionError __________________ test_list_rules_with_format_option[plain] ___________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 result = False, returncode = 0, format_string = 'brief' project_path = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build') @pytest.mark.parametrize( ("result", "returncode", "format_string"), ( (False, 0, "brief"), (False, 0, "full"), (False, 0, "md"), (True, 2, "json"), (True, 2, "codeclimate"), (True, 2, "quiet"), (True, 2, "pep8"), (True, 2, "foo"), ), ids=( "plain", "full", "md", "json", "codeclimate", "quiet", "pep8", "foo", ), ) def test_list_rules_with_format_option( result: bool, returncode: int, format_string: str, project_path: Path, ) -> None: """Checks that listing rules with format options works.""" # Piggyback off the .yamllint in the root of the repo, just for testing. # We'll "override" it with the one in the fixture. fakerole = Path("test") / "fixtures" / "list-rules-tests" result_list_rules = run_ansible_lint( "-f", format_string, "-L", fakerole, cwd=project_path, ) assert (f"invalid choice: '{format_string}'" in result_list_rules.stderr) is result > assert ("syntax-check" in result_list_rules.stdout) is not result E AssertionError: assert ('syntax-check' in '') is not False E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-f', 'brief', '-L', 'test/fixtures/li...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_list_rules.py:71: AssertionError _________________ test_with_inventory_concurrent_syntax_checks _________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw1/test_with_inventory_concurrent0') def test_with_inventory_concurrent_syntax_checks(tmp_path: Path) -> None: """Validate using inventory file with concurrent syntax checks aren't faulty.""" (tmp_path / "ansible.cfg").write_text("[defaults]\ninventory = foo\n") (tmp_path / "foo").write_text("[group_name]\nhost1\nhost2\n") lintable1 = Lintable(tmp_path / "playbook1.yml") lintable2 = Lintable(tmp_path / "playbook2.yml") lintable1.content = "---\n- name: Test\n hosts:\n - group_name\n serial: \"{{ batch | default(groups['group_name'] | length) }}\"\n" lintable2.content = "---\n- name: Test\n hosts:\n - group_name\n serial: \"{{ batch | default(groups['group_name'] | length) }}\"\n" lintable1.kind = "playbook" lintable2.kind = "playbook" lintable1.write(force=True) lintable2.write(force=True) counter = 0 while counter < 3: result = run_ansible_lint(lintable1.filename, lintable2.filename, cwd=tmp_path) > assert result.returncode == RC.SUCCESS E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '/tmp/pytest-of-pbuilder1/pytest-0/pop...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode E + and 0 = RC.SUCCESS test/test_app.py:50: AssertionError _______________________ test_ensure_config_are_equal[1] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], args = ['-p'] config_path = 'test/fixtures/parseable.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/parseable.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_ensure_config_are_equal[2] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], args = ['-q'] config_path = 'test/fixtures/quiet.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/quiet.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_ensure_config_are_equal[3] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'] args = ['-r', 'test/fixtures/rules/'] config_path = 'test/fixtures/rulesdir.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/rulesdir.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_ensure_config_are_equal[4] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'] args = ['-R', '-r', 'test/fixtures/rules/'] config_path = 'test/fixtures/rulesdir-defaults.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/rulesdir-defaults.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_ensure_config_are_equal[5] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], args = ['-s'] config_path = 'test/fixtures/strict.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/strict.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________ test_list_rules_with_format_option[full] ___________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 result = False, returncode = 0, format_string = 'full' project_path = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build') @pytest.mark.parametrize( ("result", "returncode", "format_string"), ( (False, 0, "brief"), (False, 0, "full"), (False, 0, "md"), (True, 2, "json"), (True, 2, "codeclimate"), (True, 2, "quiet"), (True, 2, "pep8"), (True, 2, "foo"), ), ids=( "plain", "full", "md", "json", "codeclimate", "quiet", "pep8", "foo", ), ) def test_list_rules_with_format_option( result: bool, returncode: int, format_string: str, project_path: Path, ) -> None: """Checks that listing rules with format options works.""" # Piggyback off the .yamllint in the root of the repo, just for testing. # We'll "override" it with the one in the fixture. fakerole = Path("test") / "fixtures" / "list-rules-tests" result_list_rules = run_ansible_lint( "-f", format_string, "-L", fakerole, cwd=project_path, ) assert (f"invalid choice: '{format_string}'" in result_list_rules.stderr) is result > assert ("syntax-check" in result_list_rules.stdout) is not result E AssertionError: assert ('syntax-check' in '') is not False E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-f', 'full', '-L', 'test/fixtures/lis...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_list_rules.py:71: AssertionError _______________________ test_ensure_config_are_equal[6] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], args = ['-t', 'skip_ansible_lint'] config_path = 'test/fixtures/tags.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/tags.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_ensure_config_are_equal[7] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], args = ['-v'] config_path = 'test/fixtures/verbosity.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/verbosity.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_ensure_config_are_equal[8] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], args = ['-x', 'bad_tag'] config_path = 'test/fixtures/skip-tags.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/skip-tags.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_ensure_config_are_equal[9] ________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], args = ['--exclude', '../'] config_path = 'test/fixtures/exclude-paths.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/exclude-paths.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_ensure_config_are_equal[10] _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], args = ['--show-relpath'] config_path = 'test/fixtures/show-abspath.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/show-abspath.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_ensure_config_are_equal[11] _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], args = [] config_path = 'test/fixtures/show-relpath.yml' @pytest.mark.parametrize( ("args", "config_path"), ( pytest.param(["-p"], "test/fixtures/parseable.yml", id="1"), pytest.param(["-q"], "test/fixtures/quiet.yml", id="2"), pytest.param( ["-r", "test/fixtures/rules/"], "test/fixtures/rulesdir.yml", id="3", ), pytest.param( ["-R", "-r", "test/fixtures/rules/"], "test/fixtures/rulesdir-defaults.yml", id="4", ), pytest.param(["-s"], "test/fixtures/strict.yml", id="5"), pytest.param(["-t", "skip_ansible_lint"], "test/fixtures/tags.yml", id="6"), pytest.param(["-v"], "test/fixtures/verbosity.yml", id="7"), pytest.param(["-x", "bad_tag"], "test/fixtures/skip-tags.yml", id="8"), pytest.param(["--exclude", "../"], "test/fixtures/exclude-paths.yml", id="9"), pytest.param(["--show-relpath"], "test/fixtures/show-abspath.yml", id="10"), pytest.param([], "test/fixtures/show-relpath.yml", id="11"), ), ) def test_ensure_config_are_equal( base_arguments: list[str], args: list[str], config_path: str, ) -> None: """Check equality of the CLI options to config files.""" command = base_arguments + args cli_parser = cli.get_cli_parser() options = cli_parser.parse_args(command) > file_config = cli.load_config(config_path)[0] test/test_cli.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/show-relpath.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[1] ______________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = True, args = ['--fix'] config = 'test/fixtures/config-with-write-all.yml', expected = ['all'] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-all.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[2] ______________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = True args = ['--fix=all'], config = 'test/fixtures/config-with-write-all.yml' expected = ['all'] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-all.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_ensure_write_cli_does_not_consume_lintables[3] ______________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 base_arguments = ['../test/skiptasks.yml'], with_base = True args = ['--fix', 'all'], config = 'test/fixtures/config-with-write-all.yml' expected = ['all'] @pytest.mark.parametrize( ("with_base", "args", "config", "expected"), ( pytest.param( True, ["--fix"], "test/fixtures/config-with-write-all.yml", ["all"], id="1", ), pytest.param( True, ["--fix=all"], "test/fixtures/config-with-write-all.yml", ["all"], id="2", ), pytest.param( True, ["--fix", "all"], "test/fixtures/config-with-write-all.yml", ["all"], id="3", ), pytest.param( True, ["--fix=none"], "test/fixtures/config-with-write-none.yml", [], id="4", ), pytest.param( True, ["--fix", "none"], "test/fixtures/config-with-write-none.yml", [], id="5", ), pytest.param( True, ["--fix=rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="6", ), pytest.param( True, ["--fix", "rule-tag,rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="7", ), pytest.param( True, ["--fix", "rule-tag", "--fix", "rule-id"], "test/fixtures/config-with-write-subset.yml", ["rule-tag", "rule-id"], id="8", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="9", ), pytest.param( False, ["--fix", "examples/playbooks/example.yml", "non-existent.yml"], "test/fixtures/config-with-write-all.yml", ["all"], id="10", ), ), ) def test_ensure_write_cli_does_not_consume_lintables( base_arguments: list[str], with_base: bool, args: list[str], config: str, expected: list[str], ) -> None: """Check equality of the CLI --fix options to config files.""" cli_parser = cli.get_cli_parser() command = base_arguments + args if with_base else args options = cli_parser.parse_args(command) > file_config = cli.load_config(config)[0] test/test_cli.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/config-with-write-all.yml (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_external_dependency_is_ok ________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_external_dependency_is_ok(default_rules_collection: RulesCollection) -> None: """Check that external dep in role meta is not a violation.""" playbook_path = "examples/roles/dependency_in_meta/meta/main.yml" good_runner = Runner(playbook_path, rules=default_rules_collection) > assert good_runner.run() == [] test/test_dependencies_in_meta.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/dependency_in_meta/meta/main.yml (meta) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_local_collection _____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_local_collection(default_rules_collection: RulesCollection) -> None: """Assures local collections are found.""" playbook_path = "test/local-content/test-collection.yml" > runner = Runner(playbook_path, rules=default_rules_collection) test/test_local_content.py:10: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:99: in __init__ item = Lintable(item) ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/local-content/test-collection.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_list_rules_with_format_option[md] ____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 result = False, returncode = 0, format_string = 'md' project_path = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build') @pytest.mark.parametrize( ("result", "returncode", "format_string"), ( (False, 0, "brief"), (False, 0, "full"), (False, 0, "md"), (True, 2, "json"), (True, 2, "codeclimate"), (True, 2, "quiet"), (True, 2, "pep8"), (True, 2, "foo"), ), ids=( "plain", "full", "md", "json", "codeclimate", "quiet", "pep8", "foo", ), ) def test_list_rules_with_format_option( result: bool, returncode: int, format_string: str, project_path: Path, ) -> None: """Checks that listing rules with format options works.""" # Piggyback off the .yamllint in the root of the repo, just for testing. # We'll "override" it with the one in the fixture. fakerole = Path("test") / "fixtures" / "list-rules-tests" result_list_rules = run_ansible_lint( "-f", format_string, "-L", fakerole, cwd=project_path, ) assert (f"invalid choice: '{format_string}'" in result_list_rules.stderr) is result > assert ("syntax-check" in result_list_rules.stdout) is not result E AssertionError: assert ('syntax-check' in '') is not False E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-f', 'md', '-L', 'test/fixtures/list-...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_list_rules.py:71: AssertionError ________________________________ test_list_tags ________________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_list_tags() -> None: """Asserts that we can list tags and that the output is parseable yaml.""" > result = subprocess.run( ["ansible-lint", "--list-tags"], check=True, capture_output=True, text=True, ) test/test_main.py:168: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = True, timeout = None, check = True popenargs = (['ansible-lint', '--list-tags'],) kwargs = {'stderr': -1, 'stdout': -1, 'text': True} process = stdout = '' stderr = 'Traceback (most recent call last):\n File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/scrip... result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n' retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout (seconds) is given and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['ansible-lint', '--list-tags']' returned non-zero exit status 1. /usr/lib/python3.13/subprocess.py:577: CalledProcessError _____________________________ test_playbook_noqa2 ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_text_runner = def test_playbook_noqa2(default_text_runner: RunFromText) -> None: """Check that noqa is properly taken into account on vars and tasks.""" > results = default_text_runner.run_playbook(PLAYBOOK_WITH_NOQA, "test") test/test_skiputils.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:42: in _call_runner runner = Runner(path, rules=self.collection) ansiblelint/runner.py:99: in __init__ item = Lintable(item) ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/test1touywmf.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_capture_warning_outdated_tag _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_capture_warning_outdated_tag( default_rules_collection: RulesCollection, ) -> None: """Test that exclude paths do work.""" runner = Runner( "examples/playbooks/capture-warning.yml", rules=default_rules_collection, ) > matches = runner.run() test/test_skiputils.py:249: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/capture-warning.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________ test_file_path_evaluation[using-only-import_tasks] ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0') default_rules_collection = ansible_project_layout = {'main.yml': '---\n- name: Fixture\n hosts: target\n gather_facts: false\n tasks:\n - name: From main import tas...ask_1.yml': '---\n- name: task_1 | From task 1 import task 2\n ansible.builtin.import_tasks: tasks/task_2.yml\n', ...} @pytest.mark.parametrize( "ansible_project_layout", ( pytest.param(LAYOUT_IMPORTS, id="using-only-import_tasks"), pytest.param(LAYOUT_INCLUDES, id="using-only-include_tasks"), ), ) def test_file_path_evaluation( tmp_path: Path, default_rules_collection: RulesCollection, ansible_project_layout: dict[str, str], ) -> None: """Test file path evaluation when using import_tasks / include_tasks in the project. The goal of this test is to verify our ability to find errors from within nested includes. """ for file_path, file_content in ansible_project_layout.items(): full_path = tmp_path / file_path full_path.parent.mkdir(parents=True, exist_ok=True) full_path.write_text(file_content) result = Runner(str(tmp_path), rules=default_rules_collection).run() > assert len(result) == 1 E assert 0 == 1 E + where 0 = len([]) test/test_file_path_evaluation.py:130: AssertionError ----------------------------- Captured stderr call ----------------------------- [DEPRECATION WARNING]: Passing `disable_lookups` to `template` is deprecated. This feature will be removed in version 2.23. ------------------------------ Captured log call ------------------------------- WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from YamllintRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from FQCNBuiltinsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaChangeFromDefaultRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaTagValidRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckRequiresAnsibleVersion.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaVideoLinksRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PlaybookExtensionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleNames.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckSanityIgnoreFiles.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from YamllintRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from FQCNBuiltinsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaChangeFromDefaultRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaTagValidRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckRequiresAnsibleVersion.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaVideoLinksRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PlaybookExtensionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleNames.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckSanityIgnoreFiles.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from YamllintRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from FQCNBuiltinsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaChangeFromDefaultRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaTagValidRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckRequiresAnsibleVersion.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaVideoLinksRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PlaybookExtensionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleNames.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckSanityIgnoreFiles.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from YamllintRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from FQCNBuiltinsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaChangeFromDefaultRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaTagValidRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckRequiresAnsibleVersion.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaVideoLinksRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PlaybookExtensionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleNames.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckSanityIgnoreFiles.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin0/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint.runner:runner.py:195 /usr/lib/python3/dist-packages/ansible/utils/display.py:715 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. WARNING ansiblelint.runner:runner.py:195 /usr/lib/python3/dist-packages/ansible/utils/display.py:715 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. WARNING ansiblelint.runner:runner.py:195 /usr/lib/python3/dist-packages/ansible/utils/display.py:715 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. WARNING ansiblelint.runner:runner.py:195 /usr/lib/python3/dist-packages/ansible/utils/display.py:715 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. _______________________________ test_strict[on] ________________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 strict = True, returncode = 2, message = 'Failed' @pytest.mark.parametrize( ("strict", "returncode", "message"), ( pytest.param(True, 2, "Failed", id="on"), pytest.param(False, 0, "Passed", id="off"), ), ) def test_strict(strict: bool, returncode: int, message: str) -> None: """Test running from inside meta folder.""" args = ["examples/playbooks/strict-mode.yml"] env = os.environ.copy() env["NO_COLOR"] = "1" if strict: args.insert(0, "--strict") result = run_ansible_lint(*args, env=env) > assert result.returncode == returncode E AssertionError: assert 1 == 2 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '--strict', 'examples/playbooks/strict...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_strict.py:25: AssertionError _____________ test_file_path_evaluation[using-only-include_tasks] ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1') default_rules_collection = ansible_project_layout = {'main.yml': '---\n- name: Fixture\n hosts: target\n gather_facts: false\n tasks:\n - name: From main import tas...sk_1.yml': '---\n- name: task_1 | From task 1 import task 2\n ansible.builtin.include_tasks: tasks/task_2.yml\n', ...} @pytest.mark.parametrize( "ansible_project_layout", ( pytest.param(LAYOUT_IMPORTS, id="using-only-import_tasks"), pytest.param(LAYOUT_INCLUDES, id="using-only-include_tasks"), ), ) def test_file_path_evaluation( tmp_path: Path, default_rules_collection: RulesCollection, ansible_project_layout: dict[str, str], ) -> None: """Test file path evaluation when using import_tasks / include_tasks in the project. The goal of this test is to verify our ability to find errors from within nested includes. """ for file_path, file_content in ansible_project_layout.items(): full_path = tmp_path / file_path full_path.parent.mkdir(parents=True, exist_ok=True) full_path.write_text(file_content) result = Runner(str(tmp_path), rules=default_rules_collection).run() > assert len(result) == 1 E assert 0 == 1 E + where 0 = len([]) test/test_file_path_evaluation.py:130: AssertionError ------------------------------ Captured log call ------------------------------- WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from YamllintRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from FQCNBuiltinsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaChangeFromDefaultRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaTagValidRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckRequiresAnsibleVersion.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaVideoLinksRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PlaybookExtensionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleNames.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckSanityIgnoreFiles.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from YamllintRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from FQCNBuiltinsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaChangeFromDefaultRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaTagValidRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckRequiresAnsibleVersion.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaVideoLinksRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PlaybookExtensionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleNames.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckSanityIgnoreFiles.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/task_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from YamllintRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from FQCNBuiltinsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaChangeFromDefaultRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaTagValidRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckRequiresAnsibleVersion.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaVideoLinksRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PlaybookExtensionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleNames.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckSanityIgnoreFiles.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_1.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from YamllintRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ArgsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from AvoidImplicitRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandsInsteadOfModulesRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseCommandInsteadOfShellRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComplexityRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UsingBareVariablesIsDeprecatedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from TaskNoLocalActionRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from DeprecatedModuleRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from FQCNBuiltinsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from GalaxyRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from IgnoreErrorsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EnvVarsInCommandRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from JinjaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from KeyOrderRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from LatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ComparisonToLiteralBoolRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleLoopVarPrefix.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaChangeFromDefaultRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaTagValidRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckRequiresAnsibleVersion.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MetaVideoLinksRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NameRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CommandHasChangesCheckRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFreeFormRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UseHandlerRatherThanWhenChangedRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoFormattingInWhenRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleRelativePath.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoSameOwnerRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from NoTabsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PackageIsNotLatestRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from BecomeUserWithoutBecomeRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from PlaybookExtensionRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from MissingFilePermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from OctalPermissionsRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ShellWithoutPipefail.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RoleNames.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RunOnce.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from CheckSanityIgnoreFiles.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from ValidateSchemaRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchtasks while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from VariableNamingRule.matchyaml while processing /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_file_path_evaluation_usin1/tasks/subtasks/subtask_2.yml (tasks): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint.runner:runner.py:195 /usr/lib/python3/dist-packages/ansible/utils/display.py:715 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. WARNING ansiblelint.runner:runner.py:195 /usr/lib/python3/dist-packages/ansible/utils/display.py:715 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. WARNING ansiblelint.runner:runner.py:195 /usr/lib/python3/dist-packages/ansible/utils/display.py:715 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. WARNING ansiblelint.runner:runner.py:195 /usr/lib/python3/dist-packages/ansible/utils/display.py:715 AnsibleWarning Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. _______________________________ test_strict[off] _______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 strict = False, returncode = 0, message = 'Passed' @pytest.mark.parametrize( ("strict", "returncode", "message"), ( pytest.param(True, 2, "Failed", id="on"), pytest.param(False, 0, "Passed", id="off"), ), ) def test_strict(strict: bool, returncode: int, message: str) -> None: """Test running from inside meta folder.""" args = ["examples/playbooks/strict-mode.yml"] env = os.environ.copy() env["NO_COLOR"] = "1" if strict: args.insert(0, "--strict") result = run_ansible_lint(*args, env=env) > assert result.returncode == returncode E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'examples/playbooks/strict-mode.yml'],...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_strict.py:25: AssertionError ______________________ test_included_tasks[blockincludes] ______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = filename = 'examples/playbooks/blockincludes.yml', file_count = 4 match_count = 3 @pytest.mark.parametrize( ("filename", "file_count", "match_count"), ( pytest.param( "examples/playbooks/blockincludes.yml", 4, 3, id="blockincludes", ), pytest.param( "examples/playbooks/blockincludes2.yml", 4, 3, id="blockincludes2", ), pytest.param("examples/playbooks/taskincludes.yml", 3, 6, id="taskincludes"), pytest.param("examples/playbooks/taskimports.yml", 5, 3, id="taskimports"), pytest.param( "examples/playbooks/include-in-block.yml", 3, 1, id="include-in-block", ), pytest.param( "examples/playbooks/include-import-tasks-in-role.yml", 4, 2, id="role_with_task_inclusions", ), ), ) def test_included_tasks( default_rules_collection: RulesCollection, filename: str, file_count: int, match_count: int, ) -> None: """Check if number of loaded files is correct.""" lintable = Lintable(filename) default_rules_collection.options.enable_list = ["name[prefix]"] runner = Runner(lintable, rules=default_rules_collection) > result = runner.run() test/test_task_includes.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/blockincludes.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_discover_lintables_silent ________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf3f8e7b0> capsys = <_pytest.capture.CaptureFixture object at 0xf3e9a030> caplog = <_pytest.logging.LogCaptureFixture object at 0xf3e9a6a8> def test_discover_lintables_silent( monkeypatch: MonkeyPatch, capsys: CaptureFixture[str], caplog: LogCaptureFixture, ) -> None: """Verify that no stderr output is displayed while discovering yaml files. (when the verbosity is off, regardless of the Git or Git-repo presence) Also checks expected number of files are detected. """ caplog.set_level(logging.FATAL) > options = cli.get_config([]) test/test_file_utils.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:598: in get_config file_config, options.config_file = load_config(options.config_file) ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = .ansible-lint (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________ test_included_tasks[blockincludes2] ______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = filename = 'examples/playbooks/blockincludes2.yml', file_count = 4 match_count = 3 @pytest.mark.parametrize( ("filename", "file_count", "match_count"), ( pytest.param( "examples/playbooks/blockincludes.yml", 4, 3, id="blockincludes", ), pytest.param( "examples/playbooks/blockincludes2.yml", 4, 3, id="blockincludes2", ), pytest.param("examples/playbooks/taskincludes.yml", 3, 6, id="taskincludes"), pytest.param("examples/playbooks/taskimports.yml", 5, 3, id="taskimports"), pytest.param( "examples/playbooks/include-in-block.yml", 3, 1, id="include-in-block", ), pytest.param( "examples/playbooks/include-import-tasks-in-role.yml", 4, 2, id="role_with_task_inclusions", ), ), ) def test_included_tasks( default_rules_collection: RulesCollection, filename: str, file_count: int, match_count: int, ) -> None: """Check if number of loaded files is correct.""" lintable = Lintable(filename) default_rules_collection.options.enable_list = ["name[prefix]"] runner = Runner(lintable, rules=default_rules_collection) > result = runner.run() test/test_task_includes.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/blockincludes2.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_discover_lintables_umlaut ________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf3dfbc60> def test_discover_lintables_umlaut(monkeypatch: MonkeyPatch) -> None: """Verify that filenames containing German umlauts are not garbled by the discover_lintables.""" > options = cli.get_config([]) test/test_file_utils.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:598: in get_config file_config, options.config_file = load_config(options.config_file) ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = .ansible-lint (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________ test_included_tasks[taskincludes] _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = filename = 'examples/playbooks/taskincludes.yml', file_count = 3 match_count = 6 @pytest.mark.parametrize( ("filename", "file_count", "match_count"), ( pytest.param( "examples/playbooks/blockincludes.yml", 4, 3, id="blockincludes", ), pytest.param( "examples/playbooks/blockincludes2.yml", 4, 3, id="blockincludes2", ), pytest.param("examples/playbooks/taskincludes.yml", 3, 6, id="taskincludes"), pytest.param("examples/playbooks/taskimports.yml", 5, 3, id="taskimports"), pytest.param( "examples/playbooks/include-in-block.yml", 3, 1, id="include-in-block", ), pytest.param( "examples/playbooks/include-import-tasks-in-role.yml", 4, 2, id="role_with_task_inclusions", ), ), ) def test_included_tasks( default_rules_collection: RulesCollection, filename: str, file_count: int, match_count: int, ) -> None: """Check if number of loaded files is correct.""" lintable = Lintable(filename) default_rules_collection.options.enable_list = ["name[prefix]"] runner = Runner(lintable, rules=default_rules_collection) > result = runner.run() test/test_task_includes.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/taskincludes.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_included_tasks[taskimports] _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = filename = 'examples/playbooks/taskimports.yml', file_count = 5, match_count = 3 @pytest.mark.parametrize( ("filename", "file_count", "match_count"), ( pytest.param( "examples/playbooks/blockincludes.yml", 4, 3, id="blockincludes", ), pytest.param( "examples/playbooks/blockincludes2.yml", 4, 3, id="blockincludes2", ), pytest.param("examples/playbooks/taskincludes.yml", 3, 6, id="taskincludes"), pytest.param("examples/playbooks/taskimports.yml", 5, 3, id="taskimports"), pytest.param( "examples/playbooks/include-in-block.yml", 3, 1, id="include-in-block", ), pytest.param( "examples/playbooks/include-import-tasks-in-role.yml", 4, 2, id="role_with_task_inclusions", ), ), ) def test_included_tasks( default_rules_collection: RulesCollection, filename: str, file_count: int, match_count: int, ) -> None: """Check if number of loaded files is correct.""" lintable = Lintable(filename) default_rules_collection.options.enable_list = ["name[prefix]"] runner = Runner(lintable, rules=default_rules_collection) > result = runner.run() test/test_task_includes.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/taskimports.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_kinds[3] _________________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'examples/roles/foo.yml', kind = 'yaml' @pytest.mark.parametrize( ("path", "kind"), ( pytest.param("tasks/run_test_playbook.yml", "tasks", id="0"), pytest.param("foo/playbook.yml", "playbook", id="1"), pytest.param("playbooks/foo.yml", "playbook", id="2"), pytest.param("examples/roles/foo.yml", "yaml", id="3"), # the only yml file that is not a playbook inside molecule/ folders pytest.param( "examples/.config/molecule/config.yml", "yaml", id="4", ), # molecule shared config pytest.param( "test/schemas/test/molecule/cluster/base.yml", "yaml", id="5", ), # molecule scenario base config pytest.param( "test/schemas/test/molecule/cluster/molecule.yml", "yaml", id="6", ), # molecule scenario config pytest.param( "test/schemas/test/molecule/cluster/foobar.yml", "playbook", id="7", ), # custom playbook name pytest.param( "test/schemas/test/molecule/cluster/converge.yml", "playbook", id="8", ), # common playbook name pytest.param( "roles/foo/molecule/scenario3/requirements.yml", "requirements", id="9", ), # requirements pytest.param( "roles/foo/molecule/scenario3/collections.yml", "requirements", id="10", ), # requirements pytest.param( "roles/foo/meta/argument_specs.yml", "role-arg-spec", id="11", ), # role argument specs # tasks files: pytest.param("tasks/directory with spaces/main.yml", "tasks", id="12"), # tasks pytest.param("tasks/requirements.yml", "tasks", id="13"), # tasks # requirements (we do not support includes yet) pytest.param( "requirements.yml", "requirements", id="14", ), # collection requirements pytest.param( "roles/foo/meta/requirements.yml", "requirements", id="15", ), # inside role requirements # Undeterminable files: pytest.param("test/fixtures/unknown-type.yml", "yaml", id="16"), pytest.param( "releasenotes/notes/run-playbooks-refactor.yaml", "reno", id="17", ), # reno pytest.param("examples/host_vars/localhost.yml", "vars", id="18"), pytest.param("examples/group_vars/all.yml", "vars", id="19"), pytest.param("examples/playbooks/vars/other.yml", "vars", id="20"), pytest.param( "examples/playbooks/vars/subfolder/settings.yml", "vars", id="21", ), # deep vars pytest.param( "molecule/scenario/collections.yml", "requirements", id="22", ), # deprecated 2.8 format pytest.param( "../roles/geerlingguy.mysql/tasks/configure.yml", "tasks", id="23", ), # relative path involved pytest.param("galaxy.yml", "galaxy", id="24"), pytest.param("foo.j2.yml", "jinja2", id="25"), pytest.param("foo.yml.j2", "jinja2", id="26"), pytest.param("foo.j2.yaml", "jinja2", id="27"), pytest.param("foo.yaml.j2", "jinja2", id="28"), pytest.param( "examples/playbooks/rulebook.yml", "playbook", id="29", ), # playbooks folder should determine kind pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", id="30", ), # content should determine it as a rulebook pytest.param( "examples/yamllint/valid.yml", "yaml", id="31", ), # empty yaml is valid yaml, not assuming anything else pytest.param( "examples/other/guess-1.yml", "playbook", id="32", ), # content should determine is as a play pytest.param( "examples/playbooks/tasks/passing_task.yml", "tasks", id="33", ), # content should determine is tasks pytest.param("examples/.collection/galaxy.yml", "galaxy", id="34"), pytest.param("examples/meta/runtime.yml", "meta-runtime", id="35"), pytest.param("examples/meta/changelogs/changelog.yaml", "changelog", id="36"), pytest.param("examples/inventory/inventory.yml", "inventory", id="37"), pytest.param("examples/inventory/production.yml", "inventory", id="38"), pytest.param("examples/playbooks/vars/empty_vars.yml", "vars", id="39"), pytest.param( "examples/playbooks/vars/subfolder/settings.yaml", "vars", id="40", ), pytest.param( "examples/sanity_ignores/tests/sanity/ignore-2.14.txt", "sanity-ignore-file", id="41", ), pytest.param("examples/playbooks/tasks/vars/bug-3289.yml", "vars", id="42"), pytest.param( "examples/site.yml", "playbook", id="43", ), # content should determine it as a play pytest.param( "plugins/modules/fake_module.py", "plugin", id="44", ), pytest.param("examples/meta/changelogs/changelog.yml", "changelog", id="45"), ), ) def test_kinds(path: str, kind: FileType) -> None: """Verify auto-detection logic based on DEFAULT_KINDS.""" # assert Lintable is able to determine file type > lintable_detected = Lintable(path) test/test_file_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/foo.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_kinds[4] _________________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'examples/.config/molecule/config.yml', kind = 'yaml' @pytest.mark.parametrize( ("path", "kind"), ( pytest.param("tasks/run_test_playbook.yml", "tasks", id="0"), pytest.param("foo/playbook.yml", "playbook", id="1"), pytest.param("playbooks/foo.yml", "playbook", id="2"), pytest.param("examples/roles/foo.yml", "yaml", id="3"), # the only yml file that is not a playbook inside molecule/ folders pytest.param( "examples/.config/molecule/config.yml", "yaml", id="4", ), # molecule shared config pytest.param( "test/schemas/test/molecule/cluster/base.yml", "yaml", id="5", ), # molecule scenario base config pytest.param( "test/schemas/test/molecule/cluster/molecule.yml", "yaml", id="6", ), # molecule scenario config pytest.param( "test/schemas/test/molecule/cluster/foobar.yml", "playbook", id="7", ), # custom playbook name pytest.param( "test/schemas/test/molecule/cluster/converge.yml", "playbook", id="8", ), # common playbook name pytest.param( "roles/foo/molecule/scenario3/requirements.yml", "requirements", id="9", ), # requirements pytest.param( "roles/foo/molecule/scenario3/collections.yml", "requirements", id="10", ), # requirements pytest.param( "roles/foo/meta/argument_specs.yml", "role-arg-spec", id="11", ), # role argument specs # tasks files: pytest.param("tasks/directory with spaces/main.yml", "tasks", id="12"), # tasks pytest.param("tasks/requirements.yml", "tasks", id="13"), # tasks # requirements (we do not support includes yet) pytest.param( "requirements.yml", "requirements", id="14", ), # collection requirements pytest.param( "roles/foo/meta/requirements.yml", "requirements", id="15", ), # inside role requirements # Undeterminable files: pytest.param("test/fixtures/unknown-type.yml", "yaml", id="16"), pytest.param( "releasenotes/notes/run-playbooks-refactor.yaml", "reno", id="17", ), # reno pytest.param("examples/host_vars/localhost.yml", "vars", id="18"), pytest.param("examples/group_vars/all.yml", "vars", id="19"), pytest.param("examples/playbooks/vars/other.yml", "vars", id="20"), pytest.param( "examples/playbooks/vars/subfolder/settings.yml", "vars", id="21", ), # deep vars pytest.param( "molecule/scenario/collections.yml", "requirements", id="22", ), # deprecated 2.8 format pytest.param( "../roles/geerlingguy.mysql/tasks/configure.yml", "tasks", id="23", ), # relative path involved pytest.param("galaxy.yml", "galaxy", id="24"), pytest.param("foo.j2.yml", "jinja2", id="25"), pytest.param("foo.yml.j2", "jinja2", id="26"), pytest.param("foo.j2.yaml", "jinja2", id="27"), pytest.param("foo.yaml.j2", "jinja2", id="28"), pytest.param( "examples/playbooks/rulebook.yml", "playbook", id="29", ), # playbooks folder should determine kind pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", id="30", ), # content should determine it as a rulebook pytest.param( "examples/yamllint/valid.yml", "yaml", id="31", ), # empty yaml is valid yaml, not assuming anything else pytest.param( "examples/other/guess-1.yml", "playbook", id="32", ), # content should determine is as a play pytest.param( "examples/playbooks/tasks/passing_task.yml", "tasks", id="33", ), # content should determine is tasks pytest.param("examples/.collection/galaxy.yml", "galaxy", id="34"), pytest.param("examples/meta/runtime.yml", "meta-runtime", id="35"), pytest.param("examples/meta/changelogs/changelog.yaml", "changelog", id="36"), pytest.param("examples/inventory/inventory.yml", "inventory", id="37"), pytest.param("examples/inventory/production.yml", "inventory", id="38"), pytest.param("examples/playbooks/vars/empty_vars.yml", "vars", id="39"), pytest.param( "examples/playbooks/vars/subfolder/settings.yaml", "vars", id="40", ), pytest.param( "examples/sanity_ignores/tests/sanity/ignore-2.14.txt", "sanity-ignore-file", id="41", ), pytest.param("examples/playbooks/tasks/vars/bug-3289.yml", "vars", id="42"), pytest.param( "examples/site.yml", "playbook", id="43", ), # content should determine it as a play pytest.param( "plugins/modules/fake_module.py", "plugin", id="44", ), pytest.param("examples/meta/changelogs/changelog.yml", "changelog", id="45"), ), ) def test_kinds(path: str, kind: FileType) -> None: """Verify auto-detection logic based on DEFAULT_KINDS.""" # assert Lintable is able to determine file type > lintable_detected = Lintable(path) test/test_file_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/.config/molecule/config.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________ test_included_tasks[include-in-block] _____________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = filename = 'examples/playbooks/include-in-block.yml', file_count = 3 match_count = 1 @pytest.mark.parametrize( ("filename", "file_count", "match_count"), ( pytest.param( "examples/playbooks/blockincludes.yml", 4, 3, id="blockincludes", ), pytest.param( "examples/playbooks/blockincludes2.yml", 4, 3, id="blockincludes2", ), pytest.param("examples/playbooks/taskincludes.yml", 3, 6, id="taskincludes"), pytest.param("examples/playbooks/taskimports.yml", 5, 3, id="taskimports"), pytest.param( "examples/playbooks/include-in-block.yml", 3, 1, id="include-in-block", ), pytest.param( "examples/playbooks/include-import-tasks-in-role.yml", 4, 2, id="role_with_task_inclusions", ), ), ) def test_included_tasks( default_rules_collection: RulesCollection, filename: str, file_count: int, match_count: int, ) -> None: """Check if number of loaded files is correct.""" lintable = Lintable(filename) default_rules_collection.options.enable_list = ["name[prefix]"] runner = Runner(lintable, rules=default_rules_collection) > result = runner.run() test/test_task_includes.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/include-in-block.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_kinds[5] _________________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'test/schemas/test/molecule/cluster/base.yml', kind = 'yaml' @pytest.mark.parametrize( ("path", "kind"), ( pytest.param("tasks/run_test_playbook.yml", "tasks", id="0"), pytest.param("foo/playbook.yml", "playbook", id="1"), pytest.param("playbooks/foo.yml", "playbook", id="2"), pytest.param("examples/roles/foo.yml", "yaml", id="3"), # the only yml file that is not a playbook inside molecule/ folders pytest.param( "examples/.config/molecule/config.yml", "yaml", id="4", ), # molecule shared config pytest.param( "test/schemas/test/molecule/cluster/base.yml", "yaml", id="5", ), # molecule scenario base config pytest.param( "test/schemas/test/molecule/cluster/molecule.yml", "yaml", id="6", ), # molecule scenario config pytest.param( "test/schemas/test/molecule/cluster/foobar.yml", "playbook", id="7", ), # custom playbook name pytest.param( "test/schemas/test/molecule/cluster/converge.yml", "playbook", id="8", ), # common playbook name pytest.param( "roles/foo/molecule/scenario3/requirements.yml", "requirements", id="9", ), # requirements pytest.param( "roles/foo/molecule/scenario3/collections.yml", "requirements", id="10", ), # requirements pytest.param( "roles/foo/meta/argument_specs.yml", "role-arg-spec", id="11", ), # role argument specs # tasks files: pytest.param("tasks/directory with spaces/main.yml", "tasks", id="12"), # tasks pytest.param("tasks/requirements.yml", "tasks", id="13"), # tasks # requirements (we do not support includes yet) pytest.param( "requirements.yml", "requirements", id="14", ), # collection requirements pytest.param( "roles/foo/meta/requirements.yml", "requirements", id="15", ), # inside role requirements # Undeterminable files: pytest.param("test/fixtures/unknown-type.yml", "yaml", id="16"), pytest.param( "releasenotes/notes/run-playbooks-refactor.yaml", "reno", id="17", ), # reno pytest.param("examples/host_vars/localhost.yml", "vars", id="18"), pytest.param("examples/group_vars/all.yml", "vars", id="19"), pytest.param("examples/playbooks/vars/other.yml", "vars", id="20"), pytest.param( "examples/playbooks/vars/subfolder/settings.yml", "vars", id="21", ), # deep vars pytest.param( "molecule/scenario/collections.yml", "requirements", id="22", ), # deprecated 2.8 format pytest.param( "../roles/geerlingguy.mysql/tasks/configure.yml", "tasks", id="23", ), # relative path involved pytest.param("galaxy.yml", "galaxy", id="24"), pytest.param("foo.j2.yml", "jinja2", id="25"), pytest.param("foo.yml.j2", "jinja2", id="26"), pytest.param("foo.j2.yaml", "jinja2", id="27"), pytest.param("foo.yaml.j2", "jinja2", id="28"), pytest.param( "examples/playbooks/rulebook.yml", "playbook", id="29", ), # playbooks folder should determine kind pytest.param( "examples/rulebooks/rulebook-pass.yml", "rulebook", id="30", ), # content should determine it as a rulebook pytest.param( "examples/yamllint/valid.yml", "yaml", id="31", ), # empty yaml is valid yaml, not assuming anything else pytest.param( "examples/other/guess-1.yml", "playbook", id="32", ), # content should determine is as a play pytest.param( "examples/playbooks/tasks/passing_task.yml", "tasks", id="33", ), # content should determine is tasks pytest.param("examples/.collection/galaxy.yml", "galaxy", id="34"), pytest.param("examples/meta/runtime.yml", "meta-runtime", id="35"), pytest.param("examples/meta/changelogs/changelog.yaml", "changelog", id="36"), pytest.param("examples/inventory/inventory.yml", "inventory", id="37"), pytest.param("examples/inventory/production.yml", "inventory", id="38"), pytest.param("examples/playbooks/vars/empty_vars.yml", "vars", id="39"), pytest.param( "examples/playbooks/vars/subfolder/settings.yaml", "vars", id="40", ), pytest.param( "examples/sanity_ignores/tests/sanity/ignore-2.14.txt", "sanity-ignore-file", id="41", ), pytest.param("examples/playbooks/tasks/vars/bug-3289.yml", "vars", id="42"), pytest.param( "examples/site.yml", "playbook", id="43", ), # content should determine it as a play pytest.param( "plugins/modules/fake_module.py", "plugin", id="44", ), pytest.param("examples/meta/changelogs/changelog.yml", "changelog", id="45"), ), ) def test_kinds(path: str, kind: FileType) -> None: """Verify auto-detection logic based on DEFAULT_KINDS.""" # assert Lintable is able to determine file type > lintable_detected = Lintable(path) test/test_file_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/schemas/test/molecule/cluster/base.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________ test_included_tasks[role_with_task_inclusions] ________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = filename = 'examples/playbooks/include-import-tasks-in-role.yml', file_count = 4 match_count = 2 @pytest.mark.parametrize( ("filename", "file_count", "match_count"), ( pytest.param( "examples/playbooks/blockincludes.yml", 4, 3, id="blockincludes", ), pytest.param( "examples/playbooks/blockincludes2.yml", 4, 3, id="blockincludes2", ), pytest.param("examples/playbooks/taskincludes.yml", 3, 6, id="taskincludes"), pytest.param("examples/playbooks/taskimports.yml", 5, 3, id="taskimports"), pytest.param( "examples/playbooks/include-in-block.yml", 3, 1, id="include-in-block", ), pytest.param( "examples/playbooks/include-import-tasks-in-role.yml", 4, 2, id="role_with_task_inclusions", ), ), ) def test_included_tasks( default_rules_collection: RulesCollection, filename: str, file_count: int, match_count: int, ) -> None: """Check if number of loaded files is correct.""" lintable = Lintable(filename) default_rules_collection.options.enable_list = ["name[prefix]"] runner = Runner(lintable, rules=default_rules_collection) > result = runner.run() test/test_task_includes.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/include-import-tasks-in-role.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________ test_runner_unicode_format[ParseableFormatter-colored] ____________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = formatter_cls = @pytest.mark.parametrize( ("formatter_cls"), ( pytest.param(formatters.Formatter, id="Formatter-plain"), pytest.param(formatters.ParseableFormatter, id="ParseableFormatter-colored"), pytest.param(formatters.QuietFormatter, id="QuietFormatter-colored"), pytest.param(formatters.Formatter, id="Formatter-colored"), ), ) def test_runner_unicode_format( default_rules_collection: RulesCollection, formatter_cls: type[formatters.BaseFormatter[Any]], ) -> None: """Check that all formatters are unicode-friendly.""" formatter = formatter_cls(Path.cwd(), display_relative_path=True) runner = Runner( Lintable("examples/playbooks/unicode.yml", kind="playbook"), rules=default_rules_collection, ) > matches = runner.run() test/test_runner.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/unicode.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________ test_runner_unicode_format[QuietFormatter-colored] ______________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = formatter_cls = @pytest.mark.parametrize( ("formatter_cls"), ( pytest.param(formatters.Formatter, id="Formatter-plain"), pytest.param(formatters.ParseableFormatter, id="ParseableFormatter-colored"), pytest.param(formatters.QuietFormatter, id="QuietFormatter-colored"), pytest.param(formatters.Formatter, id="Formatter-colored"), ), ) def test_runner_unicode_format( default_rules_collection: RulesCollection, formatter_cls: type[formatters.BaseFormatter[Any]], ) -> None: """Check that all formatters are unicode-friendly.""" formatter = formatter_cls(Path.cwd(), display_relative_path=True) runner = Runner( Lintable("examples/playbooks/unicode.yml", kind="playbook"), rules=default_rules_collection, ) > matches = runner.run() test/test_runner.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/unicode.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________ test_runner_unicode_format[Formatter-colored] _________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = formatter_cls = @pytest.mark.parametrize( ("formatter_cls"), ( pytest.param(formatters.Formatter, id="Formatter-plain"), pytest.param(formatters.ParseableFormatter, id="ParseableFormatter-colored"), pytest.param(formatters.QuietFormatter, id="QuietFormatter-colored"), pytest.param(formatters.Formatter, id="Formatter-colored"), ), ) def test_runner_unicode_format( default_rules_collection: RulesCollection, formatter_cls: type[formatters.BaseFormatter[Any]], ) -> None: """Check that all formatters are unicode-friendly.""" formatter = formatter_cls(Path.cwd(), display_relative_path=True) runner = Runner( Lintable("examples/playbooks/unicode.yml", kind="playbook"), rules=default_rules_collection, ) > matches = runner.run() test/test_runner.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/unicode.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_extract_from_list ____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_extract_from_list() -> None: """Check that tasks get extracted from blocks if present.""" block = { "block": [{"tasks": {"name": "hello", "command": "whoami"}}], "test_none": None, "test_string": "foo", } blocks = AnsibleSequence([block]) > test_list = utils.extract_from_list(blocks, ["block"]) test/test_utils.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/utils.py:809: in extract_from_list subresults = add_action_type(block[candidate], candidate) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ actions = [{'tasks': {'command': 'whoami', 'name': 'hello'}}] action_type = 'block' def add_action_type( actions: AnsibleBaseYAMLObject, action_type: str ) -> AnsibleSequence: """Add action markers to task objects.""" > results = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1085: TypeError _______________________ test_runner_with_directory[rel] ________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = directory_name = PosixPath('test/fixtures/verbosity-tests') @pytest.mark.parametrize( "directory_name", ( pytest.param(Path("test/fixtures/verbosity-tests"), id="rel"), pytest.param(Path("test/fixtures/verbosity-tests").resolve(), id="abs"), ), ) def test_runner_with_directory( default_rules_collection: RulesCollection, directory_name: Path, ) -> None: """Check that runner detects a directory as role.""" > runner = Runner(directory_name, rules=default_rules_collection) test/test_runner.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:104: in __init__ expand_dirs_in_lintables(self.lintables) ansiblelint/file_utils.py:556: in expand_dirs_in_lintables lintables.add(Lintable(filename)) ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/verbosity-tests/.yamllint (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_extract_from_list_recursive _______________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_extract_from_list_recursive() -> None: """Check that tasks get extracted from blocks if present.""" block = AnsibleMapping({ "block": [{"block": [{"name": "hello", "command": "whoami"}]}], }) blocks = AnsibleSequence([block]) > test_list = utils.extract_from_list(blocks, ["block"]) test/test_utils.py:242: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/utils.py:809: in extract_from_list subresults = add_action_type(block[candidate], candidate) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ actions = [{'block': [{'command': 'whoami', 'name': 'hello'}]}] action_type = 'block' def add_action_type( actions: AnsibleBaseYAMLObject, action_type: str ) -> AnsibleSequence: """Add action markers to task objects.""" > results = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1085: TypeError ____________________________ test_template[simple] _____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 template = '{{ playbook_dir }}', output = '/a/b/c' @pytest.mark.parametrize( ("template", "output"), ( pytest.param("{{ playbook_dir }}", "/a/b/c", id="simple"), # Does not work the same with ansible 2.19 with data tagging # pytest.param( # "{{ 'hello' | doesnotexist }}", # "hello", # newer implementation ignores unknown filters # id="unknown_filter", # ), pytest.param( "{{ hello | to_json }}", "{{ hello | to_json }}", id="to_json_filter_on_undefined_variable", ), pytest.param( "{{ hello | to_nice_yaml }}", "{{ hello | to_nice_yaml }}", id="to_nice_yaml_filter_on_undefined_variable", ), ), ) def test_template(template: str, output: str) -> None: """Verify that resolvable template vars and filters get rendered.""" > result = utils.template( basedir=Path("/base/dir"), value=template, variables={"playbook_dir": "/a/b/c"}, fail_on_error=False, ) test/test_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/utils.py:315: in template value = ansible_template( ansiblelint/utils.py:209: in ansible_template templated = templar.template(varname, **kwargs) # type: ignore[no-untyped-call] /usr/lib/python3/dist-packages/ansible/template/__init__.py:278: in template _display.deprecated( /usr/lib/python3/dist-packages/ansible/utils/display.py:678: in deprecated self._deprecated_with_plugin_info( /usr/lib/python3/dist-packages/ansible/utils/display.py:715: in _deprecated_with_plugin_info self.warning('Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.') _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.' formatted = False def warning( # noqa: DOC103 self: Display, # noqa: ARG001 msg: str, formatted: bool = False, # noqa: ARG001,FBT001,FBT002 *, help_text: str | None = None, # noqa: ARG001 obj: Any = None, # noqa: ARG001,ANN401 ) -> None: # pragma: no cover """Override ansible.utils.display.Display.warning to avoid printing warnings.""" > warnings.warn( message=msg, category=AnsibleWarning, stacklevel=2, source={"msg": msg}, ) E ansible_compat.runtime.AnsibleWarning: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. /usr/lib/python3/dist-packages/ansible_compat/runtime.py:242: AnsibleWarning _______________________ test_runner_with_directory[abs] ________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = directory_name = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/test/fixtures/verbosity-tests') @pytest.mark.parametrize( "directory_name", ( pytest.param(Path("test/fixtures/verbosity-tests"), id="rel"), pytest.param(Path("test/fixtures/verbosity-tests").resolve(), id="abs"), ), ) def test_runner_with_directory( default_rules_collection: RulesCollection, directory_name: Path, ) -> None: """Check that runner detects a directory as role.""" > runner = Runner(directory_name, rules=default_rules_collection) test/test_runner.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:104: in __init__ expand_dirs_in_lintables(self.lintables) ansiblelint/file_utils.py:556: in expand_dirs_in_lintables lintables.add(Lintable(filename)) ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = test/fixtures/verbosity-tests/.yamllint (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_files_not_scanned_twice _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_files_not_scanned_twice(default_rules_collection: RulesCollection) -> None: """Ensure that lintables aren't double-checked.""" checked_files: set[Lintable] = set() filename = Path("examples/playbooks/common-include-1.yml").resolve() runner = Runner( filename, rules=default_rules_collection, verbosity=0, checked_files=checked_files, ) > run1 = runner.run() test/test_runner.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/common-include-1.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________ test_template[to_json_filter_on_undefined_variable] ______________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 template = '{{ hello | to_json }}', output = '{{ hello | to_json }}' @pytest.mark.parametrize( ("template", "output"), ( pytest.param("{{ playbook_dir }}", "/a/b/c", id="simple"), # Does not work the same with ansible 2.19 with data tagging # pytest.param( # "{{ 'hello' | doesnotexist }}", # "hello", # newer implementation ignores unknown filters # id="unknown_filter", # ), pytest.param( "{{ hello | to_json }}", "{{ hello | to_json }}", id="to_json_filter_on_undefined_variable", ), pytest.param( "{{ hello | to_nice_yaml }}", "{{ hello | to_nice_yaml }}", id="to_nice_yaml_filter_on_undefined_variable", ), ), ) def test_template(template: str, output: str) -> None: """Verify that resolvable template vars and filters get rendered.""" > result = utils.template( basedir=Path("/base/dir"), value=template, variables={"playbook_dir": "/a/b/c"}, fail_on_error=False, ) test/test_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/utils.py:315: in template value = ansible_template( ansiblelint/utils.py:209: in ansible_template templated = templar.template(varname, **kwargs) # type: ignore[no-untyped-call] /usr/lib/python3/dist-packages/ansible/template/__init__.py:278: in template _display.deprecated( /usr/lib/python3/dist-packages/ansible/utils/display.py:678: in deprecated self._deprecated_with_plugin_info( /usr/lib/python3/dist-packages/ansible/utils/display.py:715: in _deprecated_with_plugin_info self.warning('Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.') _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.' formatted = False def warning( # noqa: DOC103 self: Display, # noqa: ARG001 msg: str, formatted: bool = False, # noqa: ARG001,FBT001,FBT002 *, help_text: str | None = None, # noqa: ARG001 obj: Any = None, # noqa: ARG001,ANN401 ) -> None: # pragma: no cover """Override ansible.utils.display.Display.warning to avoid printing warnings.""" > warnings.warn( message=msg, category=AnsibleWarning, stacklevel=2, source={"msg": msg}, ) E ansible_compat.runtime.AnsibleWarning: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. /usr/lib/python3/dist-packages/ansible_compat/runtime.py:242: AnsibleWarning _________________________ test_include_wrong_syntax[1] _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 filename = 'examples/playbooks/common-include-wrong-syntax.yml', failures = 1 checked_files_no = 1 default_rules_collection = @pytest.mark.parametrize( ("filename", "failures", "checked_files_no"), ( pytest.param( "examples/playbooks/common-include-wrong-syntax.yml", 1, 1, id="1", ), pytest.param( "examples/playbooks/common-include-wrong-syntax2.yml", 1, 1, id="2", ), pytest.param( "examples/playbooks/common-include-wrong-syntax3.yml", 0, 2, id="3", ), ), ) def test_include_wrong_syntax( filename: str, failures: int, checked_files_no: int, default_rules_collection: RulesCollection, ) -> None: """Ensure that lintables aren't double-checked.""" checked_files: set[Lintable] = set() path = Path(filename).resolve() runner = Runner( path, rules=default_rules_collection, verbosity=0, checked_files=checked_files, ) > result = runner.run() test/test_runner.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/common-include-wrong-syntax.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________ test_template[to_nice_yaml_filter_on_undefined_variable] ___________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 template = '{{ hello | to_nice_yaml }}', output = '{{ hello | to_nice_yaml }}' @pytest.mark.parametrize( ("template", "output"), ( pytest.param("{{ playbook_dir }}", "/a/b/c", id="simple"), # Does not work the same with ansible 2.19 with data tagging # pytest.param( # "{{ 'hello' | doesnotexist }}", # "hello", # newer implementation ignores unknown filters # id="unknown_filter", # ), pytest.param( "{{ hello | to_json }}", "{{ hello | to_json }}", id="to_json_filter_on_undefined_variable", ), pytest.param( "{{ hello | to_nice_yaml }}", "{{ hello | to_nice_yaml }}", id="to_nice_yaml_filter_on_undefined_variable", ), ), ) def test_template(template: str, output: str) -> None: """Verify that resolvable template vars and filters get rendered.""" > result = utils.template( basedir=Path("/base/dir"), value=template, variables={"playbook_dir": "/a/b/c"}, fail_on_error=False, ) test/test_utils.py:273: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/utils.py:315: in template value = ansible_template( ansiblelint/utils.py:209: in ansible_template templated = templar.template(varname, **kwargs) # type: ignore[no-untyped-call] /usr/lib/python3/dist-packages/ansible/template/__init__.py:278: in template _display.deprecated( /usr/lib/python3/dist-packages/ansible/utils/display.py:678: in deprecated self._deprecated_with_plugin_info( /usr/lib/python3/dist-packages/ansible/utils/display.py:715: in _deprecated_with_plugin_info self.warning('Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.') _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.' formatted = False def warning( # noqa: DOC103 self: Display, # noqa: ARG001 msg: str, formatted: bool = False, # noqa: ARG001,FBT001,FBT002 *, help_text: str | None = None, # noqa: ARG001 obj: Any = None, # noqa: ARG001,ANN401 ) -> None: # pragma: no cover """Override ansible.utils.display.Display.warning to avoid printing warnings.""" > warnings.warn( message=msg, category=AnsibleWarning, stacklevel=2, source={"msg": msg}, ) E ansible_compat.runtime.AnsibleWarning: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. /usr/lib/python3/dist-packages/ansible_compat/runtime.py:242: AnsibleWarning ______________________________ test_logger_debug _______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 caplog = <_pytest.logging.LogCaptureFixture object at 0xf3a16190> def test_logger_debug(caplog: LogCaptureFixture) -> None: """Test that the double verbosity arg causes logger to be DEBUG.""" > options = cli.get_config(["-vv"]) test/test_utils.py:290: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/cli.py:598: in get_config file_config, options.config_file = load_config(options.config_file) ansiblelint/cli.py:92: in load_config config = clean_json(config_lintable.data) ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = .ansible-lint (ansible-lint-config) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_include_wrong_syntax[2] _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 filename = 'examples/playbooks/common-include-wrong-syntax2.yml', failures = 1 checked_files_no = 1 default_rules_collection = @pytest.mark.parametrize( ("filename", "failures", "checked_files_no"), ( pytest.param( "examples/playbooks/common-include-wrong-syntax.yml", 1, 1, id="1", ), pytest.param( "examples/playbooks/common-include-wrong-syntax2.yml", 1, 1, id="2", ), pytest.param( "examples/playbooks/common-include-wrong-syntax3.yml", 0, 2, id="3", ), ), ) def test_include_wrong_syntax( filename: str, failures: int, checked_files_no: int, default_rules_collection: RulesCollection, ) -> None: """Ensure that lintables aren't double-checked.""" checked_files: set[Lintable] = set() path = Path(filename).resolve() runner = Runner( path, rules=default_rules_collection, verbosity=0, checked_files=checked_files, ) > result = runner.run() test/test_runner.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/common-include-wrong-syntax2.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________________ test_include_wrong_syntax[3] _________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 filename = 'examples/playbooks/common-include-wrong-syntax3.yml', failures = 0 checked_files_no = 2 default_rules_collection = @pytest.mark.parametrize( ("filename", "failures", "checked_files_no"), ( pytest.param( "examples/playbooks/common-include-wrong-syntax.yml", 1, 1, id="1", ), pytest.param( "examples/playbooks/common-include-wrong-syntax2.yml", 1, 1, id="2", ), pytest.param( "examples/playbooks/common-include-wrong-syntax3.yml", 0, 2, id="3", ), ), ) def test_include_wrong_syntax( filename: str, failures: int, checked_files_no: int, default_rules_collection: RulesCollection, ) -> None: """Ensure that lintables aren't double-checked.""" checked_files: set[Lintable] = set() path = Path(filename).resolve() runner = Runner( path, rules=default_rules_collection, verbosity=0, checked_files=checked_files, ) > result = runner.run() test/test_runner.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/common-include-wrong-syntax3.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_runner_tmp_file _____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_runner_tmp_file0') default_rules_collection = def test_runner_tmp_file( tmp_path: Path, default_rules_collection: RulesCollection, ) -> None: """Ensure we do not ignore an explicit temporary file from linting.""" # https://github.com/ansible/ansible-lint/issues/2628 filename = tmp_path / "playbook.yml" filename.write_text("---\n") runner = Runner( filename, rules=default_rules_collection, verbosity=0, ) > result = runner.run() test/test_runner.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_runner_tmp_file0/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_with_full_path ______________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_with_full_path(default_rules_collection: RulesCollection) -> None: """Ensure that lintables include file path starting from home directory.""" filename = Path("examples/playbooks/deep").absolute() > runner = Runner( filename, rules=default_rules_collection, verbosity=0, ) test/test_runner.py:265: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:104: in __init__ expand_dirs_in_lintables(self.lintables) ansiblelint/file_utils.py:556: in expand_dirs_in_lintables lintables.add(Lintable(filename)) ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/deep/empty.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_skip_import_playbook ___________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = tmp_path = PosixPath('/tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_skip_import_playbook0') def test_skip_import_playbook( default_rules_collection: RulesCollection, tmp_path: Path ) -> None: """Verify that a playbook import is skipped after a failure.""" playbook_path = tmp_path / "playbook.yml" playbook_path.write_text(MAIN_PLAYBOOK) (tmp_path / "imported_playbook.yml").write_text(IMPORTED_PLAYBOOK) runner = Runner(playbook_path, rules=default_rules_collection) > results = runner.run() test/test_skip_import_playbook.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/pytest-of-pbuilder1/pytest-0/popen-gw0/test_skip_import_playbook0/playbook.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_role_tasks_with_block __________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_role_tasks_with_block(default_rules_collection: RulesCollection) -> None: """Check that blocks in role tasks can contain skips.""" results = Runner( "examples/playbooks/roles/fixture_1", rules=default_rules_collection, > ).run() test/test_skip_inside_yaml.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/roles/fixture_1/tasks/main.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_cli_auto_detect _____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 capfd = <_pytest.capture.CaptureFixture object at 0xf3a4f760> def test_cli_auto_detect(capfd: CaptureFixture[str]) -> None: """Test that run without arguments it will detect and lint the entire repository.""" cmd = [ sys.executable, "-m", "ansiblelint", "-x", "schema", # exclude schema as our test file would fail it "-v", "-p", "--nocolor", "--offline", "--exclude=examples", "--exclude=test", "--exclude=src", "--exclude=collections", "--exclude=.github", ] result = subprocess.run(cmd, check=False).returncode # We de expect to fail on our own repo due to test examples we have > assert result == RC.VIOLATIONS_FOUND E assert 1 == 2 E + where 2 = RC.VIOLATIONS_FOUND test/test_utils.py:323: AssertionError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/__main__.py", line 496, in _run_cli_entrypoint() ~~~~~~~~~~~~~~~~~~~^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/__main__.py", line 418, in _run_cli_entrypoint sys.exit(main(sys.argv)) ~~~~^^^^^^^^^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/__main__.py", line 292, in main cache_dir_lock = initialize_options(argv[1:]) File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/__main__.py", line 123, in initialize_options new_options = cli.get_config(arguments or []) File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/cli.py", line 598, in get_config file_config, options.config_file = load_config(options.config_file) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/cli.py", line 92, in load_config config = clean_json(config_lintable.data) ^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/file_utils.py", line 427, in data self.state = parse_yaml_linenumbers(self) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/utils.py", line 1107, in parse_yaml_linenumbers result = AnsibleSequence() TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ___________________________ test_inline_skips[yaml] ____________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = lintable = 'examples/playbooks/test_skip_inside_yaml.yml', expected = 4 @pytest.mark.parametrize( ("lintable", "expected"), (pytest.param("examples/playbooks/test_skip_inside_yaml.yml", 4, id="yaml"),), ) def test_inline_skips( default_rules_collection: RulesCollection, lintable: str, expected: int, ) -> None: """Check that playbooks can contain skips.""" > results = Runner(lintable, rules=default_rules_collection).run() test/test_skip_inside_yaml.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/test_skip_inside_yaml.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_find_children ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_find_children(default_rules_collection: RulesCollection) -> None: """Verify correct function of find_children().""" Runner( rules=default_rules_collection, > ).find_children(Lintable("examples/playbooks/find_children.yml")) test/test_utils.py:430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:533: in find_children for child in self.play_children( ansiblelint/runner.py:594: in play_children v = template( ansiblelint/utils.py:315: in template value = ansible_template( ansiblelint/utils.py:209: in ansible_template templated = templar.template(varname, **kwargs) # type: ignore[no-untyped-call] /usr/lib/python3/dist-packages/ansible/template/__init__.py:278: in template _display.deprecated( /usr/lib/python3/dist-packages/ansible/utils/display.py:678: in deprecated self._deprecated_with_plugin_info( /usr/lib/python3/dist-packages/ansible/utils/display.py:715: in _deprecated_with_plugin_info self.warning('Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.') _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.' formatted = False def warning( # noqa: DOC103 self: Display, # noqa: ARG001 msg: str, formatted: bool = False, # noqa: ARG001,FBT001,FBT002 *, help_text: str | None = None, # noqa: ARG001 obj: Any = None, # noqa: ARG001,ANN401 ) -> None: # pragma: no cover """Override ansible.utils.display.Display.warning to avoid printing warnings.""" > warnings.warn( message=msg, category=AnsibleWarning, stacklevel=2, source={"msg": msg}, ) E ansible_compat.runtime.AnsibleWarning: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg. /usr/lib/python3/dist-packages/ansible_compat/runtime.py:242: AnsibleWarning _____________________ test_list_tags_includes_opt_in_rules _____________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 project_path = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build') def test_list_tags_includes_opt_in_rules(project_path: Path) -> None: """Checks that listing tags also includes the opt-in rules.""" # Piggyback off the .yamllint in the root of the repo, just for testing. # We'll "override" it with the one in the fixture. fakerole = Path("test") / "fixtures" / "list-rules-tests" result_list_tags = run_ansible_lint("-L", str(fakerole), cwd=project_path) > assert ("opt-in" in result_list_tags.stdout) is True E AssertionError: assert ('opt-in' in '') is True E + where '' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-L', 'test/fixtures/list-rules-tests'...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stdout test/test_list_rules.py:83: AssertionError __________________________ test_find_children_in_task __________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_find_children_in_task(default_rules_collection: RulesCollection) -> None: """Verify correct function of find_children() in tasks.""" Runner( Lintable("examples/playbooks/tasks/bug-2875.yml"), rules=default_rules_collection, > ).run() test/test_utils.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/tasks/bug-2875.yml (tasks) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_task_in_list[0] _____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 file = 'examples/playbooks/task_in_list-0.yml' names = ['A', 'B', 'C', 'D', 'E', 'F', ...] positions = ['.[0].tasks[0]', '.[0].tasks[1]', '.[0].pre_tasks[0]', '.[0].post_tasks[0]', '.[0].post_tasks[0].block[0]', '.[0].post_tasks[0].rescue[0]', ...] @pytest.mark.parametrize( ("file", "names", "positions"), ( pytest.param( "examples/playbooks/task_in_list-0.yml", ["A", "B", "C", "D", "E", "F", "G"], [ ".[0].tasks[0]", ".[0].tasks[1]", ".[0].pre_tasks[0]", ".[0].post_tasks[0]", ".[0].post_tasks[0].block[0]", ".[0].post_tasks[0].rescue[0]", ".[0].post_tasks[0].always[0]", ], id="0", ), ), ) def test_task_in_list(file: str, names: list[str], positions: list[str]) -> None: """Check that tasks get extracted from blocks if present.""" lintable = Lintable(file) assert lintable.kind tasks = list( > utils.task_in_list(data=lintable.data, file=lintable, kind=lintable.kind), ) test/test_utils.py:465: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/task_in_list-0.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _______________________ test_load_failure_encoding[yaml] _______________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 path = 'examples/broken/encoding.yml' default_rules_collection = @pytest.mark.parametrize( "path", ( pytest.param("examples/broken/encoding.j2", id="jinja2"), pytest.param("examples/broken/encoding.yml", id="yaml"), ), ) def test_load_failure_encoding( path: str, default_rules_collection: RulesCollection, ) -> None: """Check that we fail when file encoding is wrong.""" > runner = Runner(path, rules=default_rules_collection) test/test_load_failure.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:99: in __init__ item = Lintable(item) ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/broken/encoding.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________________ test_role_meta ________________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 def test_role_meta() -> None: """Test running from inside meta folder.""" role_path = "examples/roles/meta_noqa" result = run_ansible_lint("-v", role_path) assert len(result.stdout) == 0 > assert result.returncode == 0 E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-v', 'examples/roles/meta_noqa'], ret...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_skip_inside_yaml.py:42: AssertionError __________________________ test_pre_tasks[PRE_TASKS] ___________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_text_runner = playbook = '---\n- name: Fixture\n hosts: all\n tasks:\n - name: Bad git 1 # noqa: latest[git]\n action: ansible.built...st[git]\n action: ansible.builtin.git a=b c=d\n - name: Bad git 4\n action: ansible.builtin.git a=b c=d\n' length = 6 @pytest.mark.parametrize( ("playbook", "length"), ( pytest.param(PLAYBOOK_PRE_TASKS, 6, id="PRE_TASKS"), pytest.param(PLAYBOOK_POST_TASKS, 6, id="POST_TASKS"), pytest.param(PLAYBOOK_HANDLERS, 6, id="HANDLERS"), pytest.param(PLAYBOOK_TWO_PLAYS, 6, id="TWO_PLAYS"), pytest.param(PLAYBOOK_WITH_BLOCK, 12, id="WITH_BLOCK"), ), ) def test_pre_tasks( default_text_runner: RunFromText, playbook: str, length: int, ) -> None: """Check that skipping is possible in different playbook parts.""" # When > results = default_text_runner.run_playbook(playbook) test/test_skip_playbook_items.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookyyccz8ni.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_pre_tasks[POST_TASKS] __________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_text_runner = playbook = '---\n- name: Fixture\n hosts: all\n tasks:\n - name: Bad git 1 # noqa: latest[git]\n action: ansible.built...st[git]\n action: ansible.builtin.git a=b c=d\n - name: Bad git 4\n action: ansible.builtin.git a=b c=d\n' length = 6 @pytest.mark.parametrize( ("playbook", "length"), ( pytest.param(PLAYBOOK_PRE_TASKS, 6, id="PRE_TASKS"), pytest.param(PLAYBOOK_POST_TASKS, 6, id="POST_TASKS"), pytest.param(PLAYBOOK_HANDLERS, 6, id="HANDLERS"), pytest.param(PLAYBOOK_TWO_PLAYS, 6, id="TWO_PLAYS"), pytest.param(PLAYBOOK_WITH_BLOCK, 12, id="WITH_BLOCK"), ), ) def test_pre_tasks( default_text_runner: RunFromText, playbook: str, length: int, ) -> None: """Check that skipping is possible in different playbook parts.""" # When > results = default_text_runner.run_playbook(playbook) test/test_skip_playbook_items.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookb_maocin.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_pre_tasks[HANDLERS] ___________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_text_runner = playbook = '---\n- name: Fixture\n hosts: all\n tasks:\n - name: Bad git 1 # noqa: latest[git]\n action: ansible.built...st[git]\n action: ansible.builtin.git a=b c=d\n - name: Bad git 4\n action: ansible.builtin.git a=b c=d\n' length = 6 @pytest.mark.parametrize( ("playbook", "length"), ( pytest.param(PLAYBOOK_PRE_TASKS, 6, id="PRE_TASKS"), pytest.param(PLAYBOOK_POST_TASKS, 6, id="POST_TASKS"), pytest.param(PLAYBOOK_HANDLERS, 6, id="HANDLERS"), pytest.param(PLAYBOOK_TWO_PLAYS, 6, id="TWO_PLAYS"), pytest.param(PLAYBOOK_WITH_BLOCK, 12, id="WITH_BLOCK"), ), ) def test_pre_tasks( default_text_runner: RunFromText, playbook: str, length: int, ) -> None: """Check that skipping is possible in different playbook parts.""" # When > results = default_text_runner.run_playbook(playbook) test/test_skip_playbook_items.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbook8su1oehx.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_pre_tasks[TWO_PLAYS] ___________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_text_runner = playbook = '---\n- name: Fixture\n hosts: all\n tasks:\n - name: Bad git 1 # noqa: latest[git]\n action: ansible.built...st[git]\n action: ansible.builtin.git a=b c=d\n - name: Bad git 4\n action: ansible.builtin.git a=b c=d\n' length = 6 @pytest.mark.parametrize( ("playbook", "length"), ( pytest.param(PLAYBOOK_PRE_TASKS, 6, id="PRE_TASKS"), pytest.param(PLAYBOOK_POST_TASKS, 6, id="POST_TASKS"), pytest.param(PLAYBOOK_HANDLERS, 6, id="HANDLERS"), pytest.param(PLAYBOOK_TWO_PLAYS, 6, id="TWO_PLAYS"), pytest.param(PLAYBOOK_WITH_BLOCK, 12, id="WITH_BLOCK"), ), ) def test_pre_tasks( default_text_runner: RunFromText, playbook: str, length: int, ) -> None: """Check that skipping is possible in different playbook parts.""" # When > results = default_text_runner.run_playbook(playbook) test/test_skip_playbook_items.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookmatqr_k1.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_profile_listing _____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 capfd = <_pytest.capture.CaptureFixture object at 0xf427ae90> def test_profile_listing(capfd: CaptureFixture[str]) -> None: """Test that run without arguments it will detect and lint the entire repository.""" cmd = [ sys.executable, "-m", "ansiblelint", "-P", ] result = subprocess.run(cmd, check=False).returncode > assert result == 0 E assert 1 == 0 test/test_profiles.py:38: AssertionError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/__main__.py", line 496, in _run_cli_entrypoint() ~~~~~~~~~~~~~~~~~~~^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/__main__.py", line 418, in _run_cli_entrypoint sys.exit(main(sys.argv)) ~~~~^^^^^^^^^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/__main__.py", line 292, in main cache_dir_lock = initialize_options(argv[1:]) File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/__main__.py", line 123, in initialize_options new_options = cli.get_config(arguments or []) File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/cli.py", line 598, in get_config file_config, options.config_file = load_config(options.config_file) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/cli.py", line 92, in load_config config = clean_json(config_lintable.data) ^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/file_utils.py", line 427, in data self.state = parse_yaml_linenumbers(self) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/ansiblelint/utils.py", line 1107, in parse_yaml_linenumbers result = AnsibleSequence() TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' __________________________ test_pre_tasks[WITH_BLOCK] __________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_text_runner = playbook = '---\n- name: Fixture\n hosts: all\n tasks:\n - name: Bad git 1 # noqa: latest[git]\n action: ansible.built... action: ansible.builtin.git a=b c=d\n - name: Bad git 8\n action: ansible.builtin.git a=b c=d\n' length = 12 @pytest.mark.parametrize( ("playbook", "length"), ( pytest.param(PLAYBOOK_PRE_TASKS, 6, id="PRE_TASKS"), pytest.param(PLAYBOOK_POST_TASKS, 6, id="POST_TASKS"), pytest.param(PLAYBOOK_HANDLERS, 6, id="HANDLERS"), pytest.param(PLAYBOOK_TWO_PLAYS, 6, id="TWO_PLAYS"), pytest.param(PLAYBOOK_WITH_BLOCK, 12, id="WITH_BLOCK"), ), ) def test_pre_tasks( default_text_runner: RunFromText, playbook: str, length: int, ) -> None: """Check that skipping is possible in different playbook parts.""" # When > results = default_text_runner.run_playbook(playbook) test/test_skip_playbook_items.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbookteaqects.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________ test_include_children_load_playbook_failed_syntax_check ____________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_include_children_load_playbook_failed_syntax_check() -> None: """Verify include_children() logs playbook failed to load due to syntax-check.""" result = run_ansible_lint( Path("playbooks/import-failed-syntax-check.yml"), cwd=Path(__file__).resolve().parent.parent / "examples", ) > assert ( "Failed to load syntax-error.yml playbook due to failing syntax check." in result.stderr ) E assert 'Failed to load syntax-error.yml playbook due to failing syntax check.' in 'Traceback (most recent call last):\n File "", line 198, in _run_module_as_main\n File "... result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n' E + where 'Traceback (most recent call last):\n File "", line 198, in _run_module_as_main\n File "... result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n' = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', 'playbooks/import-failed-syntax-check....result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').stderr test/test_utils.py:506: AssertionError ______________________________ test_playbook_noqa ______________________________ [gw0] linux -- Python 3.13.3 /usr/bin/python3.13 default_text_runner = def test_playbook_noqa(default_text_runner: RunFromText) -> None: """Check that noqa is properly taken into account on vars and tasks.""" > results = default_text_runner.run_playbook(PLAYBOOK_WITH_NOQA) test/test_skiputils.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/testing/__init__.py:60: in run_playbook results = self._call_runner(Path(fh.name)) ansiblelint/testing/__init__.py:43: in _call_runner return runner.run() ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = /tmp/playbook4q1sl3yp.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_run_collection ______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 test_rules_collection = ematchtestfile = examples/playbooks/ematcher-rule.yml (playbook) def test_run_collection( test_rules_collection: RulesCollection, ematchtestfile: Lintable, ) -> None: """Test that default rules match pre-meditated violations.""" matches = test_rules_collection.run(ematchtestfile) > assert len(matches) == 4 # 3 occurrences of BANNED using TEST0001 + 1 for raw-task E assert 3 == 4 E + where 3 = len([[TEST0001] (BANNED string found.) matched examples/playbooks/ematcher-rule.yml:3 name: BANNED, [TEST0001] (BANNED s... line, [TEST0001] (BANNED string found.) matched examples/playbooks/ematcher-rule.yml:9 msg: A 3rd BANNED line]) test/test_rules_collection.py:69: AssertionError ------------------------------ Captured log setup ------------------------------ WARNING ansiblelint._internal.rules:rules.py:69 Rule UnsetVariableMatcherRule has an invalid version_changed field '', is should be a 'X.Y.Z' format value. WARNING ansiblelint._internal.rules:rules.py:69 Rule EMatcherRule has an invalid version_changed field '', is should be a 'X.Y.Z' format value. WARNING ansiblelint._internal.rules:rules.py:69 Rule RawTaskRule has an invalid version_changed field '', is should be a 'X.Y.Z' format value. ------------------------------ Captured log call ------------------------------- WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EMatcherRule.matchtasks while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EMatcherRule.matchyaml while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UnsetVariableMatcherRule.matchtasks while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UnsetVariableMatcherRule.matchyaml while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RawTaskRule.matchtasks while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RawTaskRule.matchyaml while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' __________________________ test_skip_non_existent_id ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 test_rules_collection = ematchtestfile = examples/playbooks/ematcher-rule.yml (playbook) def test_skip_non_existent_id( test_rules_collection: RulesCollection, ematchtestfile: Lintable, ) -> None: """Check that skipping invalid IDs changes nothing.""" matches = test_rules_collection.run(ematchtestfile, skip_list=["DOESNOTEXIST"]) > assert len(matches) == 4 E assert 3 == 4 E + where 3 = len([[TEST0001] (BANNED string found.) matched examples/playbooks/ematcher-rule.yml:3 name: BANNED, [TEST0001] (BANNED s... line, [TEST0001] (BANNED string found.) matched examples/playbooks/ematcher-rule.yml:9 msg: A 3rd BANNED line]) test/test_rules_collection.py:133: AssertionError ------------------------------ Captured log setup ------------------------------ WARNING ansiblelint._internal.rules:rules.py:69 Rule UnsetVariableMatcherRule has an invalid version_changed field '', is should be a 'X.Y.Z' format value. WARNING ansiblelint._internal.rules:rules.py:69 Rule EMatcherRule has an invalid version_changed field '', is should be a 'X.Y.Z' format value. WARNING ansiblelint._internal.rules:rules.py:69 Rule RawTaskRule has an invalid version_changed field '', is should be a 'X.Y.Z' format value. ------------------------------ Captured log call ------------------------------- WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EMatcherRule.matchtasks while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from EMatcherRule.matchyaml while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UnsetVariableMatcherRule.matchtasks while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from UnsetVariableMatcherRule.matchyaml while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RawTaskRule.matchtasks while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' WARNING ansiblelint._internal.rules:rules.py:107 Ignored exception from RawTaskRule.matchyaml while processing examples/playbooks/ematcher-rule.yml (playbook): _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ____________________________ test_negative_no_param ____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_negative_no_param() -> None: """Negative test no param.""" bad_runner = Runner(FILE, rules=collection) > errs = bad_runner.run() test/test_with_skip_tagid.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/with-skip-tag-id.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_negative_with_id _____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_negative_with_id() -> None: """Negative test with_id.""" with_id = "yaml" bad_runner = Runner(FILE, rules=collection, tags=frozenset([with_id])) > errs = bad_runner.run() test/test_with_skip_tagid.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/with-skip-tag-id.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_negative_with_tag ____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_negative_with_tag() -> None: """Negative test with_tag.""" with_tag = "yaml[trailing-spaces]" bad_runner = Runner(FILE, rules=collection, tags=frozenset([with_tag])) > errs = bad_runner.run() test/test_with_skip_tagid.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/with-skip-tag-id.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_positive_skip_id _____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_positive_skip_id() -> None: """Positive test skip_id.""" skip_id = "yaml" good_runner = Runner(FILE, rules=collection, skip_list=[skip_id]) > assert good_runner.run() == [] test/test_with_skip_tagid.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/with-skip-tag-id.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ___________________________ test_positive_skip_id_2 ____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_positive_skip_id_2() -> None: """Positive test skip_id.""" skip_id = "key-order" good_runner = Runner(FILE, rules=collection, tags=frozenset([skip_id])) > assert good_runner.run() == [] test/test_with_skip_tagid.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/with-skip-tag-id.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ____________________________ test_positive_skip_tag ____________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_positive_skip_tag() -> None: """Positive test skip_tag.""" skip_tag = "yaml[trailing-spaces]" good_runner = Runner(FILE, rules=collection, skip_list=[skip_tag]) > assert good_runner.run() == [] test/test_with_skip_tagid.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/with-skip-tag-id.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_rule_listing _______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 def test_rule_listing() -> None: """Test that rich list format output is rendered as a table. This check also offers the contract of having rule id, short and long descriptions in the console output. """ rules_path = Path("./test/rules/fixtures").resolve() result = run_ansible_lint("-r", str(rules_path), "-L") > assert result.returncode == 0 E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['/usr/bin/python3.13', '-m', 'ansiblelint', '--offline', '-r', '/build/reproducible-path/ansibl...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_rules_collection.py:151: AssertionError __________________________ test_runner[nomatchestest] __________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook = PosixPath('examples/playbooks/nomatchestest.yml'), exclude = [] length = 0 @pytest.mark.parametrize( ("playbook", "exclude", "length"), ( pytest.param( Path("examples/playbooks/nomatchestest.yml"), [], 0, id="nomatchestest", ), pytest.param(Path("examples/playbooks/unicode.yml"), [], 1, id="unicode"), pytest.param( LOTS_OF_WARNINGS_PLAYBOOK, [LOTS_OF_WARNINGS_PLAYBOOK], 993, id="lots_of_warnings", ), pytest.param(Path("examples/playbooks/become.yml"), [], 0, id="become"), pytest.param( Path("examples/playbooks/contains_secrets.yml"), [], 0, id="contains_secrets", ), ), ) def test_runner( default_rules_collection: RulesCollection, playbook: Path, exclude: list[str], length: int, ) -> None: """Test that runner can go through any corner cases.""" runner = Runner(playbook, rules=default_rules_collection, exclude_paths=exclude) > matches = runner.run() test/test_runner.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/nomatchestest.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_runner[unicode] _____________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook = PosixPath('examples/playbooks/unicode.yml'), exclude = [], length = 1 @pytest.mark.parametrize( ("playbook", "exclude", "length"), ( pytest.param( Path("examples/playbooks/nomatchestest.yml"), [], 0, id="nomatchestest", ), pytest.param(Path("examples/playbooks/unicode.yml"), [], 1, id="unicode"), pytest.param( LOTS_OF_WARNINGS_PLAYBOOK, [LOTS_OF_WARNINGS_PLAYBOOK], 993, id="lots_of_warnings", ), pytest.param(Path("examples/playbooks/become.yml"), [], 0, id="become"), pytest.param( Path("examples/playbooks/contains_secrets.yml"), [], 0, id="contains_secrets", ), ), ) def test_runner( default_rules_collection: RulesCollection, playbook: Path, exclude: list[str], length: int, ) -> None: """Test that runner can go through any corner cases.""" runner = Runner(playbook, rules=default_rules_collection, exclude_paths=exclude) > matches = runner.run() test/test_runner.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/unicode.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_runner[lots_of_warnings] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook = PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples/playbooks/lots_of_warnings.yml') exclude = [PosixPath('/build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build/examples/playbooks/lots_of_warnings.yml')] length = 993 @pytest.mark.parametrize( ("playbook", "exclude", "length"), ( pytest.param( Path("examples/playbooks/nomatchestest.yml"), [], 0, id="nomatchestest", ), pytest.param(Path("examples/playbooks/unicode.yml"), [], 1, id="unicode"), pytest.param( LOTS_OF_WARNINGS_PLAYBOOK, [LOTS_OF_WARNINGS_PLAYBOOK], 993, id="lots_of_warnings", ), pytest.param(Path("examples/playbooks/become.yml"), [], 0, id="become"), pytest.param( Path("examples/playbooks/contains_secrets.yml"), [], 0, id="contains_secrets", ), ), ) def test_runner( default_rules_collection: RulesCollection, playbook: Path, exclude: list[str], length: int, ) -> None: """Test that runner can go through any corner cases.""" runner = Runner(playbook, rules=default_rules_collection, exclude_paths=exclude) > matches = runner.run() test/test_runner.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/lots_of_warnings.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _____________________________ test_runner[become] ______________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook = PosixPath('examples/playbooks/become.yml'), exclude = [], length = 0 @pytest.mark.parametrize( ("playbook", "exclude", "length"), ( pytest.param( Path("examples/playbooks/nomatchestest.yml"), [], 0, id="nomatchestest", ), pytest.param(Path("examples/playbooks/unicode.yml"), [], 1, id="unicode"), pytest.param( LOTS_OF_WARNINGS_PLAYBOOK, [LOTS_OF_WARNINGS_PLAYBOOK], 993, id="lots_of_warnings", ), pytest.param(Path("examples/playbooks/become.yml"), [], 0, id="become"), pytest.param( Path("examples/playbooks/contains_secrets.yml"), [], 0, id="contains_secrets", ), ), ) def test_runner( default_rules_collection: RulesCollection, playbook: Path, exclude: list[str], length: int, ) -> None: """Test that runner can go through any corner cases.""" runner = Runner(playbook, rules=default_rules_collection, exclude_paths=exclude) > matches = runner.run() test/test_runner.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/become.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ________________________ test_runner[contains_secrets] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = playbook = PosixPath('examples/playbooks/contains_secrets.yml'), exclude = [] length = 0 @pytest.mark.parametrize( ("playbook", "exclude", "length"), ( pytest.param( Path("examples/playbooks/nomatchestest.yml"), [], 0, id="nomatchestest", ), pytest.param(Path("examples/playbooks/unicode.yml"), [], 1, id="unicode"), pytest.param( LOTS_OF_WARNINGS_PLAYBOOK, [LOTS_OF_WARNINGS_PLAYBOOK], 993, id="lots_of_warnings", ), pytest.param(Path("examples/playbooks/become.yml"), [], 0, id="become"), pytest.param( Path("examples/playbooks/contains_secrets.yml"), [], 0, id="contains_secrets", ), ), ) def test_runner( default_rules_collection: RulesCollection, playbook: Path, exclude: list[str], length: int, ) -> None: """Test that runner can go through any corner cases.""" runner = Runner(playbook, rules=default_rules_collection, exclude_paths=exclude) > matches = runner.run() test/test_runner.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/contains_secrets.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError __________________________ test_runner_exclude_paths ___________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = def test_runner_exclude_paths(default_rules_collection: RulesCollection) -> None: """Test that exclude paths do work.""" > runner = Runner( "examples/playbooks/deep/", rules=default_rules_collection, exclude_paths=["examples/playbooks/deep/empty.yml"], ) test/test_runner.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:104: in __init__ expand_dirs_in_lintables(self.lintables) ansiblelint/file_utils.py:556: in expand_dirs_in_lintables lintables.add(Lintable(filename)) ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/deep/empty.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ______________________________ test_run_skip_rule ______________________________ [gw1] linux -- Python 3.13.3 /usr/bin/python3.13 def test_run_skip_rule() -> None: """Test that we can skip a rule with -x.""" result = run_ansible_lint( "-x", "name[casing]", "examples/playbooks/rule-name-casing.yml", executable="ansible-lint", ) > assert result.returncode == 0 E AssertionError: assert 1 == 0 E + where 1 = CompletedProcess(args=['ansible-lint', '--offline', '-x', 'name[casing]', 'examples/playbooks/rule-name-casing.yml'], ...result = AnsibleSequence()\nTypeError: _AnsibleSequence.__new__() missing 1 required positional argument: \'value\'\n').returncode test/test_with_skip_tagid.py:65: AssertionError _________________________ test_runner_exclude_globs[1] _________________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = exclude_path = '**/playbooks_globs/*b.yml' @pytest.mark.parametrize( ("exclude_path"), (pytest.param("**/playbooks_globs/*b.yml", id="1"),), ) def test_runner_exclude_globs( default_rules_collection: RulesCollection, exclude_path: str, ) -> None: """Test that globs work.""" > runner = Runner( "examples/playbooks_globs", rules=default_rules_collection, exclude_paths=[exclude_path], ) test/test_runner.py:99: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:104: in __init__ expand_dirs_in_lintables(self.lintables) ansiblelint/file_utils.py:556: in expand_dirs_in_lintables lintables.add(Lintable(filename)) ansiblelint/file_utils.py:272: in __init__ _ = self.data ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks_globs/a.yml (yaml) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError _________________ test_runner_unicode_format[Formatter-plain] __________________ [gw2] linux -- Python 3.13.3 /usr/bin/python3.13 default_rules_collection = formatter_cls = @pytest.mark.parametrize( ("formatter_cls"), ( pytest.param(formatters.Formatter, id="Formatter-plain"), pytest.param(formatters.ParseableFormatter, id="ParseableFormatter-colored"), pytest.param(formatters.QuietFormatter, id="QuietFormatter-colored"), pytest.param(formatters.Formatter, id="Formatter-colored"), ), ) def test_runner_unicode_format( default_rules_collection: RulesCollection, formatter_cls: type[formatters.BaseFormatter[Any]], ) -> None: """Check that all formatters are unicode-friendly.""" formatter = formatter_cls(Path.cwd(), display_relative_path=True) runner = Runner( Lintable("examples/playbooks/unicode.yml", kind="playbook"), rules=default_rules_collection, ) > matches = runner.run() test/test_runner.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ansiblelint/runner.py:161: in run matches = self._run() ansiblelint/runner.py:215: in _run if isinstance(lintable.data, States) and lintable.exc: ansiblelint/file_utils.py:427: in data self.state = parse_yaml_linenumbers(self) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ lintable = examples/playbooks/unicode.yml (playbook) @cache def parse_yaml_linenumbers( lintable: Lintable, ) -> AnsibleBaseYAMLObject | None: """Parse yaml as ansible.utils.parse_yaml but with linenumbers. The line numbers are stored in each node's LINE_NUMBER_KEY key. """ loader: AnsibleLoader > result = AnsibleSequence() E TypeError: _AnsibleSequence.__new__() missing 1 required positional argument: 'value' ansiblelint/utils.py:1107: TypeError ============================= slowest 10 durations ============================= 4.41s call test/test_app.py::test_with_inventory_concurrent_syntax_checks 4.25s call ansiblelint/rules/var_naming.py::test_var_naming_with_pattern_foreign_role 4.19s call ansiblelint/rules/var_naming.py::test_var_naming_with_pattern 3.94s call test/test_app.py::test_app_no_matches 3.79s call ansiblelint/rules/loop_var_prefix.py::test_loop_var_prefix[pass] 3.44s call test/test_dependencies_in_meta.py::test_external_dependency_is_ok 2.85s call ansiblelint/rules/no_same_owner.py::test_no_same_owner_rule[fail] 2.66s call test/test_requirements.py::test_reqs 2.49s call test/test_file_path_evaluation.py::test_file_path_evaluation[using-only-import_tasks] 2.41s call test/test_formatter_json.py::test_code_climate_parsable_ignored =========================== short test summary info ============================ FAILED ansiblelint/rules/name.py::test_name_template - TypeError: _AnsibleSeq... FAILED ansiblelint/rules/args.py::test_args_module_fail - TypeError: _Ansible... FAILED ansiblelint/rules/jinja.py::test_jinja_file[0] - TypeError: _AnsibleSe... FAILED ansiblelint/rules/no_changed_when.py::test_rule_no_changed_when[pass] FAILED ansiblelint/rules/avoid_implicit.py::test_template_instead_of_copy_positive FAILED ansiblelint/rules/no_changed_when.py::test_rule_no_changed_when[fail] FAILED ansiblelint/rules/avoid_implicit.py::test_template_instead_of_copy_negative FAILED ansiblelint/rules/jinja.py::test_jinja_invalid - TypeError: _AnsibleSe... FAILED ansiblelint/rules/no_free_form.py::test_rule_no_free_form[pass] - Type... FAILED ansiblelint/rules/command_instead_of_module.py::test_command_instead_of_module[pass] FAILED ansiblelint/rules/jinja.py::test_jinja_valid - TypeError: _AnsibleSequ... FAILED ansiblelint/rules/no_free_form.py::test_rule_no_free_form[fail] - Type... FAILED ansiblelint/rules/command_instead_of_module.py::test_command_instead_of_module[fail] FAILED ansiblelint/rules/jinja.py::test_jinja_nested_var_errors - TypeError: ... FAILED ansiblelint/rules/no_handler.py::test_no_handler[fail] - TypeError: _A... FAILED ansiblelint/rules/command_instead_of_shell.py::test_rule_command_instead_of_shell[good] FAILED ansiblelint/rules/no_handler.py::test_no_handler[pass] - TypeError: _A... FAILED ansiblelint/rules/command_instead_of_shell.py::test_rule_command_instead_of_shell[bad] FAILED ansiblelint/rules/key_order.py::test_key_order_rule[pass] - TypeError:... FAILED ansiblelint/rules/complexity.py::test_complexity[pass] - TypeError: _A... FAILED ansiblelint/rules/key_order.py::test_key_order_rule[fail] - TypeError:... FAILED ansiblelint/rules/complexity.py::test_complexity[fail] - TypeError: _A... FAILED ansiblelint/rules/literal_compare.py::test_literal_compare[fail] - Typ... FAILED ansiblelint/rules/deprecated_bare_vars.py::test_use_bare_positive - Ty... FAILED ansiblelint/rules/literal_compare.py::test_literal_compare[pass] - Typ... FAILED ansiblelint/rules/deprecated_bare_vars.py::test_use_bare_negative - Ty... FAILED ansiblelint/rules/deprecated_local_action.py::test_local_action - Type... FAILED ansiblelint/rules/deprecated_local_action.py::test_local_action_transform FAILED ansiblelint/rules/empty_string_compare.py::test_rule_empty_string_compare_fail FAILED ansiblelint/rules/empty_string_compare.py::test_rule_empty_string_compare_pass FAILED ansiblelint/rules/galaxy.py::test_galaxy_no_collection_version - TypeE... FAILED ansiblelint/rules/no_jinja_when.py::test_jinja_file_positive - TypeErr... FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[tags-format] - TypeError... FAILED ansiblelint/rules/no_jinja_when.py::test_jinja_file_negative - TypeErr... FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[tags-length] - TypeError... FAILED ansiblelint/rules/no_log_password.py::test_no_log_unused[NoLogPasswordsRule] FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[tags-count] - TypeError:... FAILED ansiblelint/rules/no_log_password.py::test_no_log_false[NoLogPasswordsRule] FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[tags] - TypeError: _Ansi... FAILED ansiblelint/rules/no_log_password.py::test_no_log_no[NoLogPasswordsRule] FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[pass] - TypeError: _Ansi... FAILED ansiblelint/rules/no_log_password.py::test_password_with_lock[NoLogPasswordsRule] FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[schema] - TypeError: _An... FAILED ansiblelint/rules/no_log_password.py::test_no_log_yes[NoLogPasswordsRule] FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[invalid-dependency-version] FAILED ansiblelint/rules/no_log_password.py::test_no_log_true[NoLogPasswordsRule] FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[no-changelog] - TypeErro... FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[no-collection-version] FAILED ansiblelint/rules/no_log_password.py::test_no_log_password_lock_yes[NoLogPasswordsRule] FAILED ansiblelint/rules/galaxy.py::test_galaxy_rule[broken_no_runtime] - Typ... FAILED ansiblelint/rules/no_log_password.py::test_no_log_password_lock_yes_but_no_password[NoLogPasswordsRule] FAILED ansiblelint/rules/galaxy_version_incorrect.py::test_galaxy_collection_version_positive FAILED ansiblelint/rules/no_log_password.py::test_password_lock_false[NoLogPasswordsRule] FAILED ansiblelint/rules/galaxy_version_incorrect.py::test_galaxy_collection_version_negative FAILED ansiblelint/rules/no_log_password.py::test_no_log_password_transform FAILED ansiblelint/rules/ignore_errors.py::test_ignore_errors_true[IgnoreErrorsRule] FAILED ansiblelint/rules/no_prompting.py::test_no_prompting_fail - TypeError:... FAILED ansiblelint/rules/ignore_errors.py::test_ignore_errors_false[IgnoreErrorsRule] FAILED ansiblelint/rules/no_relative_paths.py::test_no_relative_paths[fail] FAILED ansiblelint/rules/ignore_errors.py::test_ignore_errors_check_mode[IgnoreErrorsRule] FAILED ansiblelint/rules/no_relative_paths.py::test_no_relative_paths[pass] FAILED ansiblelint/rules/ignore_errors.py::test_ignore_errors_register[IgnoreErrorsRule] FAILED ansiblelint/rules/ignore_errors.py::test_failed_when[IgnoreErrorsRule] FAILED ansiblelint/rules/jinja.py::test_jinja_spacing_playbook - TypeError: _... FAILED ansiblelint/rules/jinja.py::test_jinja_spacing_vars - TypeError: _Ansi... FAILED ansiblelint/rules/loop_var_prefix.py::test_loop_var_prefix[pass] - Typ... FAILED ansiblelint/rules/loop_var_prefix.py::test_loop_var_prefix[fail] - Typ... FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[4] FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[5] FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[6] FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[7] FAILED ansiblelint/rules/meta_incorrect.py::test_default_galaxy_info - TypeEr... FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[8] FAILED ansiblelint/rules/meta_no_tags.py::test_valid_tag_rule[MetaTagValidRule] FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[9] FAILED ansiblelint/rules/meta_no_tags.py::test_meta_not_tags[MetaTagValidRule] FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[10] FAILED test/test_cli.py::test_config_can_be_overridden - TypeError: _AnsibleS... FAILED ansiblelint/rules/meta_no_tags.py::test_no_galaxy_tags_list[MetaTagValidRule] FAILED test/test_cli.py::test_different_config_file - TypeError: _AnsibleSequ... FAILED ansiblelint/rules/meta_no_tags.py::test_galaxy_categories_as_list[MetaTagValidRule] FAILED test/test_cli.py::test_expand_path_user_and_vars_config_file - TypeErr... FAILED ansiblelint/rules/meta_no_tags.py::test_tags_not_a_string[MetaTagValidRule] FAILED test/test_cli.py::test_path_from_config_do_not_depend_on_cwd - TypeErr... FAILED ansiblelint/rules/meta_runtime.py::test_default_meta_supported_version[pass0] FAILED test/test_cli.py::test_extra_vars_loaded - TypeError: _AnsibleSequence... FAILED ansiblelint/rules/meta_runtime.py::test_default_meta_supported_version[fail0] FAILED ansiblelint/rules/meta_runtime.py::test_default_meta_supported_version[fail1] FAILED ansiblelint/rules/meta_runtime.py::test_default_meta_supported_version[fail2] FAILED ansiblelint/rules/meta_runtime.py::test_added_meta_supported_version[pass1] FAILED ansiblelint/rules/meta_video_links.py::test_video_links[1] - TypeError... FAILED ansiblelint/rules/meta_video_links.py::test_video_links[2] - TypeError... FAILED ansiblelint/rules/name.py::test_file_positive - TypeError: _AnsibleSeq... FAILED ansiblelint/rules/no_same_owner.py::test_no_same_owner_rule[fail] - Ty... FAILED ansiblelint/rules/name.py::test_file_negative - TypeError: _AnsibleSeq... FAILED ansiblelint/rules/no_same_owner.py::test_no_same_owner_rule[pass] - Ty... FAILED ansiblelint/rules/name.py::test_name_prefix_positive - TypeError: _Ans... FAILED test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_module FAILED ansiblelint/rules/name.py::test_name_prefix_negative - TypeError: _Ans... FAILED ansiblelint/rules/name.py::test_name_prefix_negative_2 - TypeError: _A... FAILED ansiblelint/rules/name.py::test_name_prefix_negative_3 - TypeError: _A... FAILED ansiblelint/rules/name.py::test_rule_name_lowercase - TypeError: _Ansi... FAILED ansiblelint/rules/name.py::test_name_play - TypeError: _AnsibleSequenc... FAILED ansiblelint/rules/schema.py::test_schema[rulebook] - TypeError: _Ansib... FAILED ansiblelint/rules/schema.py::test_schema[rulebook2] - TypeError: _Ansi... FAILED ansiblelint/rules/schema.py::test_schema[playbook] - TypeError: _Ansib... FAILED ansiblelint/rules/only_builtins.py::test_only_builtins_fail - Assertio... FAILED ansiblelint/rules/schema.py::test_schema[playbook2] - TypeError: _Ansi... FAILED ansiblelint/rules/var_naming.py::test_invalid_var_name_playbook[0] - T... FAILED test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_script FAILED ansiblelint/rules/var_naming.py::test_invalid_var_name_playbook[1] - T... FAILED ansiblelint/rules/var_naming.py::test_invalid_var_name_varsfile - Type... FAILED ansiblelint/rules/var_naming.py::test_invalid_vars_diff_files - TypeEr... FAILED ansiblelint/rules/only_builtins.py::test_only_builtins_allow - Asserti... FAILED ansiblelint/rules/var_naming.py::test_var_naming_with_role_prefix - Ty... FAILED ansiblelint/rules/only_builtins.py::test_only_builtin_pass[OnlyBuiltinsRule] FAILED ansiblelint/rules/var_naming.py::test_var_naming_with_role_prefix_plays FAILED test/test_cli_role_paths.py::test_run_single_role_path_with_trailing_slash FAILED ansiblelint/rules/partial_become.py::test_partial_become_pass - TypeEr... FAILED ansiblelint/rules/partial_become.py::test_partial_become_fail - TypeEr... FAILED ansiblelint/rules/risky_octal.py::test_octal[pass] - TypeError: _Ansib... FAILED ansiblelint/rules/risky_octal.py::test_octal[fail] - TypeError: _Ansib... FAILED ansiblelint/rules/risky_shell_pipe.py::test_risky_shell_pipe[pass] - T... FAILED ansiblelint/rules/risky_shell_pipe.py::test_risky_shell_pipe[fail] - T... FAILED ansiblelint/rules/role_name.py::test_role_name_path[fail] - TypeError:... FAILED test/test_cli_role_paths.py::test_run_multiple_role_path_no_trailing_slash FAILED ansiblelint/rules/role_name.py::test_role_deps_path_names[fail] - Type... FAILED ansiblelint/rules/role_name.py::test_role_no_deps[no_deps] - TypeError... FAILED ansiblelint/rules/run_once.py::test_run_once[pass] - TypeError: _Ansib... FAILED ansiblelint/rules/run_once.py::test_run_once[fail] - TypeError: _Ansib... FAILED ansiblelint/rules/schema.py::test_schema[galaxy] - TypeError: _Ansible... FAILED ansiblelint/rules/schema.py::test_schema[requirements] - TypeError: _A... FAILED ansiblelint/rules/schema.py::test_schema[meta] - TypeError: _AnsibleSe... FAILED ansiblelint/rules/schema.py::test_schema[vars] - TypeError: _AnsibleSe... FAILED ansiblelint/rules/schema.py::test_schema[execution-environment] - Type... FAILED ansiblelint/rules/schema.py::test_schema[execution-environment-broken] FAILED test/test_cli_role_paths.py::test_run_multiple_role_path_with_trailing_slash FAILED ansiblelint/rules/schema.py::test_schema[meta-runtime] - TypeError: _A... FAILED ansiblelint/rules/schema.py::test_schema[meta-runtime-broken] - TypeEr... FAILED ansiblelint/rules/schema.py::test_schema[inventory] - TypeError: _Ansi... FAILED ansiblelint/rules/schema.py::test_schema[inventory-broken] - TypeError... FAILED ansiblelint/rules/schema.py::test_schema[ansible-lint-config] - TypeEr... FAILED ansiblelint/rules/schema.py::test_schema[ansible-lint-config2] - TypeE... FAILED ansiblelint/rules/schema.py::test_schema[ansible-lint-config-broken0] FAILED ansiblelint/rules/schema.py::test_schema[ansible-lint-config-broken1] FAILED ansiblelint/rules/schema.py::test_schema[ansible-navigator-config] - T... FAILED ansiblelint/rules/schema.py::test_schema[ansible-navigator-config-broken] FAILED ansiblelint/rules/var_naming.py::test_var_naming_with_pattern - Assert... FAILED ansiblelint/rules/schema.py::test_schema[role-arg-spec] - TypeError: _... FAILED ansiblelint/rules/schema.py::test_schema[role-arg-spec-broken] - TypeE... FAILED ansiblelint/rules/schema.py::test_schema[changelog] - TypeError: _Ansi... FAILED test/test_file_utils.py::test_kinds[6] - TypeError: _AnsibleSequence._... FAILED test/test_cli_role_paths.py::test_run_inside_role_dir - AssertionError... FAILED test/test_file_utils.py::test_kinds[16] - TypeError: _AnsibleSequence.... FAILED test/test_file_utils.py::test_kinds[30] - TypeError: _AnsibleSequence.... FAILED test/test_file_utils.py::test_kinds[31] - TypeError: _AnsibleSequence.... FAILED test/test_file_utils.py::test_kinds[32] - TypeError: _AnsibleSequence.... FAILED test/test_file_utils.py::test_kinds[43] - TypeError: _AnsibleSequence.... FAILED test/test_file_utils.py::test_lintable_updated[no_change] - TypeError:... FAILED test/test_file_utils.py::test_lintable_updated[updated_quotes] - TypeE... FAILED test/test_file_utils.py::test_lintable_updated[shorten_file] - TypeErr... FAILED test/test_file_utils.py::test_lintable_content_setter_with_bad_types[none] FAILED test/test_file_utils.py::test_lintable_content_setter_with_bad_types[bytes] FAILED test/test_file_utils.py::test_lintable_with_new_file - TypeError: _Ans... FAILED test/test_cli_role_paths.py::test_run_role_three_dir_deep - AssertionE... FAILED test/test_file_utils.py::test_bug_2513 - TypeError: _AnsibleSequence._... FAILED test/test_formatter.py::test_format_coloured_string - TypeError: _Ansi... FAILED test/test_formatter.py::test_unicode_format_string - TypeError: _Ansib... FAILED test/test_formatter.py::test_dict_format_line - TypeError: _AnsibleSeq... FAILED test/test_cli_role_paths.py::test_run_playbook - AssertionError: asser... FAILED ansiblelint/rules/var_naming.py::test_var_naming_with_pattern_foreign_role FAILED test/test_cli_role_paths.py::test_run_role_name_invalid[normal] - Asse... FAILED ansiblelint/rules/var_naming.py::test_var_naming_with_include_tasks_and_vars FAILED test/test_cli_role_paths.py::test_run_role_name_invalid[skipped] - Ass... FAILED ansiblelint/rules/var_naming.py::test_var_naming_with_set_fact_and_cacheable FAILED test/test_cli_role_paths.py::test_run_role_name_with_prefix - Assertio... FAILED ansiblelint/rules/var_naming.py::test_var_naming_with_include_role_import_role FAILED test/rules/test_deprecated_module.py::test_module_deprecated - assert ... FAILED test/rules/test_inline_env_var.py::test_success - TypeError: _AnsibleS... FAILED test/rules/test_inline_env_var.py::test_fail - TypeError: _AnsibleSequ... FAILED test/rules/test_no_changed_when.py::test_command_changes_positive - Ty... FAILED test/test_cli_role_paths.py::test_run_role_name_from_meta - AssertionE... FAILED test/rules/test_no_changed_when.py::test_command_changes_negative - Ty... FAILED test/rules/test_package_latest.py::test_package_not_latest_positive - ... FAILED test/rules/test_package_latest.py::test_package_not_latest_negative - ... FAILED test/rules/test_role_names.py::test_role_name[ROLE_EMPTY_META] - TypeE... FAILED test/rules/test_syntax_check.py::test_get_ansible_syntax_check_matches[0] FAILED test/rules/test_syntax_check.py::test_get_ansible_syntax_check_matches[1] FAILED test/rules/test_syntax_check.py::test_empty_playbook - TypeError: _Ans... FAILED test/rules/test_syntax_check.py::test_extra_vars_passed_to_command - T... FAILED test/test_formatter_sarif.py::test_sarif_file[0] - AssertionError: ass... FAILED test/rules/test_syntax_check.py::test_syntax_check_role - TypeError: _... FAILED test/test_cli_role_paths.py::test_run_invalid_role_name_from_meta - As... FAILED test/test_adjacent_plugins.py::test_adj_action - TypeError: _AnsibleSe... FAILED test/test_ansiblesyntax.py::test_null_tasks - TypeError: _AnsibleSeque... FAILED test/test_app.py::test_generate_ignore - TypeError: _AnsibleSequence._... FAILED test/test_formatter_sarif.py::test_sarif_file[1] - AssertionError: ass... FAILED test/test_cli_role_paths.py::test_run_single_role_path_with_roles_path_env FAILED test/test_formatter_sarif.py::test_sarif_file_creates_it_if_none_exists[0] FAILED test/test_import_include_role.py::test_import_role2[IMPORT_ROLE] - Typ... FAILED test/test_cli_role_paths.py::test_run_playbook_github[on] - assert (':... FAILED test/test_import_include_role.py::test_import_role2[IMPORT_ROLE_FQCN] FAILED test/test_import_include_role.py::test_import_role2[IMPORT_ROLE_INLINE] FAILED test/test_import_include_role.py::test_import_role2[INCLUDE_ROLE] - Ty... FAILED test/test_import_include_role.py::test_import_role2[INCLUDE_ROLE_FQCN] FAILED test/test_import_include_role.py::test_import_role2[INCLUDE_ROLE_INLINE] FAILED test/test_import_playbook.py::test_import_playbook_invalid - TypeError... FAILED test/test_import_tasks.py::test_import_tasks[0] - TypeError: _AnsibleS... FAILED test/test_import_tasks.py::test_import_tasks[1] - TypeError: _AnsibleS... FAILED test/test_include_miss_file_with_role.py::test_cases_warning_message FAILED test/test_include_miss_file_with_role.py::test_cases_that_do_not_report[inplace] FAILED test/test_include_miss_file_with_role.py::test_cases_that_do_not_report[relative] FAILED test/test_internal_rules.py::test_incorrect_module_args[playbook] - Ty... FAILED test/test_lint_rule.py::test_raw_rule_matching - TypeError: _AnsibleSe... FAILED test/test_cli_role_paths.py::test_run_role_identified - AssertionError... FAILED test/test_list_rules.py::test_list_rules_includes_opt_in_rules - Asser... FAILED test/test_list_rules.py::test_list_rules_includes_autofix - AssertionE... FAILED test/test_cli_role_paths.py::test_run_role_identified_prefix_missing FAILED test/test_list_rules.py::test_list_rules_with_format_option[plain] - A... FAILED test/test_app.py::test_with_inventory_concurrent_syntax_checks - Asser... FAILED test/test_cli.py::test_ensure_config_are_equal[1] - TypeError: _Ansibl... FAILED test/test_cli.py::test_ensure_config_are_equal[2] - TypeError: _Ansibl... FAILED test/test_cli.py::test_ensure_config_are_equal[3] - TypeError: _Ansibl... FAILED test/test_cli.py::test_ensure_config_are_equal[4] - TypeError: _Ansibl... FAILED test/test_cli.py::test_ensure_config_are_equal[5] - TypeError: _Ansibl... FAILED test/test_list_rules.py::test_list_rules_with_format_option[full] - As... FAILED test/test_cli.py::test_ensure_config_are_equal[6] - TypeError: _Ansibl... FAILED test/test_cli.py::test_ensure_config_are_equal[7] - TypeError: _Ansibl... FAILED test/test_cli.py::test_ensure_config_are_equal[8] - TypeError: _Ansibl... FAILED test/test_cli.py::test_ensure_config_are_equal[9] - TypeError: _Ansibl... FAILED test/test_cli.py::test_ensure_config_are_equal[10] - TypeError: _Ansib... FAILED test/test_cli.py::test_ensure_config_are_equal[11] - TypeError: _Ansib... FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[1] FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[2] FAILED test/test_cli.py::test_ensure_write_cli_does_not_consume_lintables[3] FAILED test/test_dependencies_in_meta.py::test_external_dependency_is_ok - Ty... FAILED test/test_local_content.py::test_local_collection - TypeError: _Ansibl... FAILED test/test_list_rules.py::test_list_rules_with_format_option[md] - Asse... FAILED test/test_main.py::test_list_tags - subprocess.CalledProcessError: Com... FAILED test/test_skiputils.py::test_playbook_noqa2 - TypeError: _AnsibleSeque... FAILED test/test_skiputils.py::test_capture_warning_outdated_tag - TypeError:... FAILED test/test_file_path_evaluation.py::test_file_path_evaluation[using-only-import_tasks] FAILED test/test_strict.py::test_strict[on] - AssertionError: assert 1 == 2 FAILED test/test_file_path_evaluation.py::test_file_path_evaluation[using-only-include_tasks] FAILED test/test_strict.py::test_strict[off] - AssertionError: assert 1 == 0 FAILED test/test_task_includes.py::test_included_tasks[blockincludes] - TypeE... FAILED test/test_file_utils.py::test_discover_lintables_silent - TypeError: _... FAILED test/test_task_includes.py::test_included_tasks[blockincludes2] - Type... FAILED test/test_file_utils.py::test_discover_lintables_umlaut - TypeError: _... FAILED test/test_task_includes.py::test_included_tasks[taskincludes] - TypeEr... FAILED test/test_task_includes.py::test_included_tasks[taskimports] - TypeErr... FAILED test/test_file_utils.py::test_kinds[3] - TypeError: _AnsibleSequence._... FAILED test/test_file_utils.py::test_kinds[4] - TypeError: _AnsibleSequence._... FAILED test/test_task_includes.py::test_included_tasks[include-in-block] - Ty... FAILED test/test_file_utils.py::test_kinds[5] - TypeError: _AnsibleSequence._... FAILED test/test_task_includes.py::test_included_tasks[role_with_task_inclusions] FAILED test/test_runner.py::test_runner_unicode_format[ParseableFormatter-colored] FAILED test/test_runner.py::test_runner_unicode_format[QuietFormatter-colored] FAILED test/test_runner.py::test_runner_unicode_format[Formatter-colored] - T... FAILED test/test_utils.py::test_extract_from_list - TypeError: _AnsibleSequen... FAILED test/test_runner.py::test_runner_with_directory[rel] - TypeError: _Ans... FAILED test/test_utils.py::test_extract_from_list_recursive - TypeError: _Ans... FAILED test/test_utils.py::test_template[simple] - ansible_compat.runtime.Ans... FAILED test/test_runner.py::test_runner_with_directory[abs] - TypeError: _Ans... FAILED test/test_runner.py::test_files_not_scanned_twice - TypeError: _Ansibl... FAILED test/test_utils.py::test_template[to_json_filter_on_undefined_variable] FAILED test/test_runner.py::test_include_wrong_syntax[1] - TypeError: _Ansibl... FAILED test/test_utils.py::test_template[to_nice_yaml_filter_on_undefined_variable] FAILED test/test_utils.py::test_logger_debug - TypeError: _AnsibleSequence.__... FAILED test/test_runner.py::test_include_wrong_syntax[2] - TypeError: _Ansibl... FAILED test/test_runner.py::test_include_wrong_syntax[3] - TypeError: _Ansibl... FAILED test/test_runner.py::test_runner_tmp_file - TypeError: _AnsibleSequenc... FAILED test/test_runner.py::test_with_full_path - TypeError: _AnsibleSequence... FAILED test/test_skip_import_playbook.py::test_skip_import_playbook - TypeErr... FAILED test/test_skip_inside_yaml.py::test_role_tasks_with_block - TypeError:... FAILED test/test_utils.py::test_cli_auto_detect - assert 1 == 2 FAILED test/test_skip_inside_yaml.py::test_inline_skips[yaml] - TypeError: _A... FAILED test/test_utils.py::test_find_children - ansible_compat.runtime.Ansibl... FAILED test/test_list_rules.py::test_list_tags_includes_opt_in_rules - Assert... FAILED test/test_utils.py::test_find_children_in_task - TypeError: _AnsibleSe... FAILED test/test_utils.py::test_task_in_list[0] - TypeError: _AnsibleSequence... FAILED test/test_load_failure.py::test_load_failure_encoding[yaml] - TypeErro... FAILED test/test_skip_inside_yaml.py::test_role_meta - AssertionError: assert... FAILED test/test_skip_playbook_items.py::test_pre_tasks[PRE_TASKS] - TypeErro... FAILED test/test_skip_playbook_items.py::test_pre_tasks[POST_TASKS] - TypeErr... FAILED test/test_skip_playbook_items.py::test_pre_tasks[HANDLERS] - TypeError... FAILED test/test_skip_playbook_items.py::test_pre_tasks[TWO_PLAYS] - TypeErro... FAILED test/test_profiles.py::test_profile_listing - assert 1 == 0 FAILED test/test_skip_playbook_items.py::test_pre_tasks[WITH_BLOCK] - TypeErr... FAILED test/test_utils.py::test_include_children_load_playbook_failed_syntax_check FAILED test/test_skiputils.py::test_playbook_noqa - TypeError: _AnsibleSequen... FAILED test/test_rules_collection.py::test_run_collection - assert 3 == 4 FAILED test/test_rules_collection.py::test_skip_non_existent_id - assert 3 == 4 FAILED test/test_with_skip_tagid.py::test_negative_no_param - TypeError: _Ans... FAILED test/test_with_skip_tagid.py::test_negative_with_id - TypeError: _Ansi... FAILED test/test_with_skip_tagid.py::test_negative_with_tag - TypeError: _Ans... FAILED test/test_with_skip_tagid.py::test_positive_skip_id - TypeError: _Ansi... FAILED test/test_with_skip_tagid.py::test_positive_skip_id_2 - TypeError: _An... FAILED test/test_with_skip_tagid.py::test_positive_skip_tag - TypeError: _Ans... FAILED test/test_rules_collection.py::test_rule_listing - AssertionError: ass... FAILED test/test_runner.py::test_runner[nomatchestest] - TypeError: _AnsibleS... FAILED test/test_runner.py::test_runner[unicode] - TypeError: _AnsibleSequenc... FAILED test/test_runner.py::test_runner[lots_of_warnings] - TypeError: _Ansib... FAILED test/test_runner.py::test_runner[become] - TypeError: _AnsibleSequence... FAILED test/test_runner.py::test_runner[contains_secrets] - TypeError: _Ansib... FAILED test/test_runner.py::test_runner_exclude_paths - TypeError: _AnsibleSe... FAILED test/test_with_skip_tagid.py::test_run_skip_rule - AssertionError: ass... FAILED test/test_runner.py::test_runner_exclude_globs[1] - TypeError: _Ansibl... FAILED test/test_runner.py::test_runner_unicode_format[Formatter-plain] - Typ... ERROR test/test_file_utils.py::test_lintable_write[no_change] - TypeError: _A... ERROR test/test_file_utils.py::test_lintable_write[forced_rewrite] - TypeErro... ERROR test/test_file_utils.py::test_lintable_write[updated_quotes] - TypeErro... ERROR test/test_file_utils.py::test_lintable_write[shorten_file] - TypeError:... ERROR test/test_file_utils.py::test_lintable_write[forced_and_updated] - Type... ERROR test/test_file_utils.py::test_lintable_content_deleter[updated_quotes] ERROR test/test_formatter_json.py::TestCodeclimateJSONFormatter::test_json_format_list ERROR test/test_formatter_json.py::TestCodeclimateJSONFormatter::test_result_is_json ERROR test/test_formatter_json.py::TestCodeclimateJSONFormatter::test_json_single_match ERROR test/test_formatter_json.py::TestCodeclimateJSONFormatter::test_result_is_list ERROR test/test_formatter_json.py::TestCodeclimateJSONFormatter::test_validate_codeclimate_schema ERROR test/test_formatter_json.py::TestCodeclimateJSONFormatter::test_validate_codeclimate_schema_with_positions ERROR test/test_formatter_sarif.py::TestSarifFormatter::test_sarif_format_list ERROR test/test_formatter_sarif.py::TestSarifFormatter::test_sarif_result_is_json ERROR test/test_formatter_sarif.py::TestSarifFormatter::test_sarif_single_match ERROR test/test_formatter_sarif.py::TestSarifFormatter::test_sarif_format - T... ERROR test/test_formatter_sarif.py::TestSarifFormatter::test_validate_sarif_schema ERROR test/test_yaml_utils.py::test_get_path_to_play[ignore_unrecognized_yaml_file] ERROR test/test_yaml_utils.py::test_get_path_to_task[ignore_unrecognized_yaml_file] ERROR test/test_yaml_utils.py::test_tasks_in_list_empty_file - TypeError: _An... ======= 309 failed, 450 passed, 3 skipped, 20 errors in 62.79s (0:01:02) ======= E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/ansible-lint-25.2.1/.pybuild/cpython3_3.13/build; python3.13 -m pytest -n 3 -k "not (test_spdx or test_args_module_pass or test_risky_file_permissions or test_fqcn_builtin_fail or test_fqcn_builtin_pass or test_transformer or test_call_from_outside_venv or test_schema_moves or test_rules_id_format or test_yamllint or test_example or test_example_custom_module or test_verbosity or test_task_hook_import_playbook or test_request_timeouterror_handling or test_requests_uses_timeout or test_schema_refresh_cli or test_refresh_schemas or test_jinja_transform or test_no_tabs_rule or test_nodeps[1] or test_nodeps[2] or test_import_playbook_from_collection or test_broken_ansible_cfg or test_find_children_in_module or test_args_module_relative_import or test_find_children_in_playbook)" dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:38: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/5793 and its subdirectories Thu Apr 17 23:17:07 UTC 2025 W: No second build log, what happened?