Thu Apr 18 14:22:46 UTC 2024 I: starting to build debugpy/unstable/armhf on jenkins on '2024-04-18 14:22' Thu Apr 18 14:22:46 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_19/1838/console.log Thu Apr 18 14:22:46 UTC 2024 I: Downloading source for unstable/debugpy=1.8.0+ds-4 --2024-04-18 14:22:46-- http://deb.debian.org/debian/pool/main/d/debugpy/debugpy_1.8.0%2bds-4.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2523 (2.5K) [text/prs.lines.tag] Saving to: ‘debugpy_1.8.0+ds-4.dsc’ 0K .. 100% 327M=0s 2024-04-18 14:22:46 (327 MB/s) - ‘debugpy_1.8.0+ds-4.dsc’ saved [2523/2523] Thu Apr 18 14:22:46 UTC 2024 I: debugpy_1.8.0+ds-4.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: debugpy Binary: python3-debugpy Architecture: all Version: 1.8.0+ds-4 Maintainer: Debian Python Team Uploaders: Julian Gilbey Homepage: https://github.com/microsoft/debugpy Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/python-team/packages/debugpy Vcs-Git: https://salsa.debian.org/python-team/packages/debugpy.git Testsuite: autopkgtest Testsuite-Triggers: gdb, python3-all, python3-django, python3-flask, python3-gevent, python3-psutil, python3-pytest, python3-pytest-timeout, python3-pytest-xdist, python3-requests Build-Depends: debhelper-compat (= 13), dh-python, dh-sequence-python3, pybuild-plugin-pyproject, python3-all, python3-django , python3-flask , python3-gevent , python3-psutil , python3-pydevd (<< 2.11), python3-pydevd (>= 2.10.0+ds-2), python3-pytest , python3-pytest-timeout , python3-pytest-xdist , python3-requests , python3-setuptools Package-List: python3-debugpy deb python optional arch=all Checksums-Sha1: bbb37fc81248e522cb8c0cbbb97e241eca9a6e0f 145796 debugpy_1.8.0+ds.orig.tar.xz 5719f07ad5e79d92a6819dac8b772fb264d65686 6672 debugpy_1.8.0+ds-4.debian.tar.xz Checksums-Sha256: 6314f991ee1559b188cce5eb6e1342fa007853385c12e140b5876437e42f11a9 145796 debugpy_1.8.0+ds.orig.tar.xz 21db72c7e33dc71d706a64dd154122df4c690ab837c7d225bdbae6ded477cfde 6672 debugpy_1.8.0+ds-4.debian.tar.xz Files: 3f271b068a214da8466b38d11ca13a9b 145796 debugpy_1.8.0+ds.orig.tar.xz 759c4c9eaf4d878f298f86d4ce638373 6672 debugpy_1.8.0+ds-4.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEfhrD+iemSShMMj72aVxCkxbAe/4FAmWdEA0ACgkQaVxCkxbA e/4R4A/+L+uNrXe0Umq3hc0ygp2ATIkG/CGg/fBsNFVzYL/u9LsrxtbtIqI5kzH2 VpaGG7g0fd9SIS9kXXxo3Jc65vpUGgbczhCBLPICl7LpSJinCAPsuheGpMOkDgtO zajHGnUjTBTJYXI0ytE1+cqtniaLcUGo7P7Mug5CJ1Xoi0hBc55vSHhrcCKF5jWV njbT/esZyKsi2zPKE7Dij5EXOb22GHj4l+U767itTixP/E14R8iYh/qiTY1Vgv/4 tc0HsAG9N3gXm7+uMVAxYd1vSZsaLGzOXv0fUaI6u9cH60K8tdmKINZE+TrMoK0O 8fKpAgtoscJTi0t1+R5x9++AYEMLXgqCTI7hT2J637+7nGpWqt3ArOHCZm4K4bGv IybOcmB/Jx9xl55q9++zXWSnDwuHyOdAIuQmULZ2gjKhlvI0N6N/x1Bv9yXeLXoW ++JGFoE2IhnULg27rbXhZD/jtjZIhKdaHmFSqScmtOv53F+M2KkSr/ZdHAzu3F4R E6x7UQa2w4frGJwNEDm8lfAHsAdnbX/+HIQ56p62ypfAKNx8DGipu8av4T7yc6Ue 0gSncLNaAmnu/TsQtaZ+VWUjysTP3GABRY53TlVuRxOgoIKp14SCvu0REvMWnj9I 4D71/UmllKX50A68U+cyn215uj+TVx603FmX++7UFuIQzExFXvs= =Y0gE -----END PGP SIGNATURE----- Thu Apr 18 14:22:46 UTC 2024 I: Checking whether the package is not for us Thu Apr 18 14:22:46 UTC 2024 I: Starting 1st build on remote node virt64c-armhf-rb.debian.net. Thu Apr 18 14:22:46 UTC 2024 I: Preparing to do remote build '1' on virt64c-armhf-rb.debian.net. Thu Apr 18 17:49:52 UTC 2024 I: Deleting $TMPDIR on virt64c-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Apr 18 02:22:53 -12 2024 I: pbuilder-time-stamp: 1713450173 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 [debugpy_1.8.0+ds-4.dsc] I: copying [./debugpy_1.8.0+ds.orig.tar.xz] I: copying [./debugpy_1.8.0+ds-4.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Jan 9 09:21:17 2024 gpgv: using RSA key 7E1AC3FA27A649284C323EF6695C429316C07BFE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./debugpy_1.8.0+ds-4.dsc: no acceptable signature found dpkg-source: info: extracting debugpy in debugpy-1.8.0+ds dpkg-source: info: unpacking debugpy_1.8.0+ds.orig.tar.xz dpkg-source: info: unpacking debugpy_1.8.0+ds-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying pypi-version.patch dpkg-source: info: applying remove-pydevd-from-setup.patch dpkg-source: info: applying allow_unvendored.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/31572/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='73a0868741bc467b95a96dacd0d5a716' 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='31572' 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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc' SUDO_GID='113' SUDO_UID='107' 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 virt64c 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 17 07:43 /bin -> usr/bin I: user script /srv/workspace/pbuilder/31572/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: debhelper-compat (= 13), dh-python, dh-sequence-python3, pybuild-plugin-pyproject, python3-all, python3-django, python3-flask, python3-gevent, python3-psutil, python3-pydevd (<< 2.11), python3-pydevd (>= 2.10.0+ds-2), python3-pytest, python3-pytest-timeout, python3-pytest-xdist, python3-requests, python3-setuptools dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19442 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 debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 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-django; however: Package python3-django is not installed. pbuilder-satisfydepends-dummy depends on python3-flask; however: Package python3-flask is not installed. pbuilder-satisfydepends-dummy depends on python3-gevent; however: Package python3-gevent is not installed. pbuilder-satisfydepends-dummy depends on python3-psutil; however: Package python3-psutil is not installed. pbuilder-satisfydepends-dummy depends on python3-pydevd (<< 2.11); however: Package python3-pydevd is not installed. pbuilder-satisfydepends-dummy depends on python3-pydevd (>= 2.10.0+ds-2); however: Package python3-pydevd is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-timeout; however: Package python3-pytest-timeout 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-requests; however: Package python3-requests is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools 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: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gdb{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbabeltrace1{a} libbrotli1{a} libc-ares2{a} libcom-err2{a} libcurl3t64-gnutls{a} libdebhelper-perl{a} libdebuginfod-common{a} libdebuginfod1t64{a} libdw1t64{a} libelf1t64{a} libev4t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0t64{a} libgssapi-krb5-2{a} libicu72{a} libjs-jquery{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libmagic-mgc{a} libmagic1t64{a} libnghttp2-14{a} libpipeline1{a} libpsl5t64{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libpython3.11t64{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libreadline8t64{a} librtmp1{a} libsource-highlight-common{a} libsource-highlight4t64{a} libssh2-1t64{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} openssl{a} po-debconf{a} pybuild-plugin-pyproject{a} python3{a} python3-all{a} python3-asgiref{a} python3-blinker{a} python3-build{a} python3-bytecode{a} python3-certifi{a} python3-chardet{a} python3-charset-normalizer{a} python3-click{a} python3-colorama{a} python3-coverage{a} python3-distutils{a} python3-django{a} python3-execnet{a} python3-flask{a} python3-gevent{a} python3-greenlet{a} python3-idna{a} python3-iniconfig{a} python3-installer{a} python3-itsdangerous{a} python3-jinja2{a} python3-lib2to3{a} python3-markupsafe{a} python3-minimal{a} python3-packaging{a} python3-pkg-resources{a} python3-pluggy{a} python3-psutil{a} python3-pydevd{a} python3-pyproject-hooks{a} python3-pytest{a} python3-pytest-timeout{a} python3-pytest-xdist{a} python3-requests{a} python3-setuptools{a} python3-six{a} python3-sqlparse{a} python3-toml{a} python3-urllib3{a} python3-werkzeug{a} python3-wheel{a} python3-zope.event{a} python3-zope.interface{a} python3.11{a} python3.11-minimal{a} python3.12{a} python3.12-minimal{a} readline-common{a} sensible-utils{a} tzdata{a} ucf{a} The following packages are RECOMMENDED but will NOT be installed: curl javascript-common krb5-locales libarchive-cpio-perl libc6-dbg libglib2.0-data libltdl-dev libmail-sendmail-perl lynx publicsuffix python3-babel python3-dotenv python3-openssl python3-pygments python3-pyinotify python3-simplejson python3-tz shared-mime-info wget xdg-user-dirs 0 packages upgraded, 119 newly installed, 0 to remove and 0 not upgraded. Need to get 47.2 MB of archives. After unpacking 184 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.22 [22.4 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf ucf all 3.0043+nmu1 [55.2 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf libdebuginfod-common all 0.191-1 [22.9 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf libpython3.11-minimal armhf 3.11.9-1 [805 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.2-1 [83.5 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf python3.11-minimal armhf 3.11.9-1 [1600 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.11.8-1 [26.3 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf tzdata all 2024a-2 [255 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-4 [69.3 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-4 [145 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf libpython3.11-stdlib armhf 3.11.9-1 [1704 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf python3.11 armhf 3.11.9-1 [602 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.11.8-1 [9332 B] Get: 16 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.11.8-1 [27.4 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.3-1 [795 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.3-1 [1783 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf openssl armhf 3.2.1-3 [1326 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf ca-certificates all 20240203 [158 kB] Get: 21 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3 [314 kB] Get: 22 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3 [98.1 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3 [42.0 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.21-14+b1 [157 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-3+b1 [1091 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.40-6 [85.2 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.12.1-1 [1375 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf autoconf all 2.71-3 [332 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf autopoint all 0.21-14 [496 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.15.3 [88.0 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-7 [517 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf libsub-override-perl all 0.10-1 [10.6 kB] Get: 40 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 42 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.191-1+b1 [183 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b2 [106 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-4+b1 [9070 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.9.14+dfsg-1.3+b2 [599 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.21-14+b1 [1230 kB] Get: 47 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf debhelper all 13.15.3 [901 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 68.1.2-2 [241 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf python3-lib2to3 all 3.12.3-1 [77.6 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf python3-distutils all 3.12.3-1 [131 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 68.1.2-2 [468 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20240401 [107 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf libdw1t64 armhf 0.191-1+b1 [227 kB] Get: 56 http://deb.debian.org/debian unstable/main armhf libglib2.0-0t64 armhf 2.78.4-6 [1053 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf libbabeltrace1 armhf 1.5.11-3+b6 [155 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf libbrotli1 armhf 1.1.0-2+b3 [284 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf libkrb5support0 armhf 1.20.1-6+b1 [30.6 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf libcom-err2 armhf 1.47.0-2.4 [19.5 kB] Get: 61 http://deb.debian.org/debian unstable/main armhf libk5crypto3 armhf 1.20.1-6+b1 [75.5 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf libkeyutils1 armhf 1.6.3-3 [7908 B] Get: 63 http://deb.debian.org/debian unstable/main armhf libkrb5-3 armhf 1.20.1-6+b1 [290 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf libgssapi-krb5-2 armhf 1.20.1-6+b1 [112 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf libnghttp2-14 armhf 1.61.0-1 [63.0 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf libpsl5t64 armhf 0.21.2-1.1 [55.6 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2+b4 [53.2 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf libssh2-1t64 armhf 1.11.0-4.1+b2 [198 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf libcurl3t64-gnutls armhf 8.7.1-2 [383 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf libdebuginfod1t64 armhf 0.191-1+b1 [27.3 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf libpython3.11t64 armhf 3.11.9-1 [1674 kB] Get: 72 http://deb.debian.org/debian unstable/main armhf libsource-highlight-common all 3.1.9-4.3 [77.5 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf libsource-highlight4t64 armhf 3.1.9-4.3 [288 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf gdb armhf 13.2-1+b2 [3378 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf libc-ares2 armhf 1.27.0-1 [132 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf libev4t64 armhf 1:4.33-2.1 [37.6 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 78 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.3-1 [1808 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf python3-packaging all 24.0-1 [45.5 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf python3-pyproject-hooks all 1.0.0-2 [10.6 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf python3-toml all 0.10.2-1 [16.2 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf python3-wheel all 0.43.0-1 [52.5 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf python3-build all 1.1.1-1 [32.5 kB] Get: 84 http://deb.debian.org/debian unstable/main armhf python3-installer all 0.7.0+dfsg1-3 [18.6 kB] Get: 85 http://deb.debian.org/debian unstable/main armhf pybuild-plugin-pyproject all 6.20240401 [11.0 kB] Get: 86 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.3-1 [659 kB] Get: 87 http://deb.debian.org/debian unstable/main armhf python3-all armhf 3.11.8-1 [1056 B] Get: 88 http://deb.debian.org/debian unstable/main armhf python3-asgiref all 3.8.1-1 [28.8 kB] Get: 89 http://deb.debian.org/debian unstable/main armhf python3-blinker all 1.7.0-1 [15.5 kB] Get: 90 http://deb.debian.org/debian unstable/main armhf python3-bytecode all 0.15.1-3 [41.5 kB] Get: 91 http://deb.debian.org/debian unstable/main armhf python3-certifi all 2023.11.17-1 [155 kB] Get: 92 http://deb.debian.org/debian unstable/main armhf python3-chardet all 5.2.0+dfsg-1 [107 kB] Get: 93 http://deb.debian.org/debian unstable/main armhf python3-charset-normalizer all 3.3.2-1 [51.6 kB] Get: 94 http://deb.debian.org/debian unstable/main armhf python3-colorama all 0.4.6-4 [36.2 kB] Get: 95 http://deb.debian.org/debian unstable/main armhf python3-click all 8.1.7-1 [94.0 kB] Get: 96 http://deb.debian.org/debian unstable/main armhf python3-coverage armhf 7.2.7+dfsg1-1+b1 [168 kB] Get: 97 http://deb.debian.org/debian unstable/main armhf python3-sqlparse all 0.4.4-1 [37.6 kB] Get: 98 http://deb.debian.org/debian unstable/main armhf python3-django all 3:4.2.11-1 [2736 kB] Get: 99 http://deb.debian.org/debian unstable/main armhf python3-execnet all 2.0.2-1 [37.2 kB] Get: 100 http://deb.debian.org/debian unstable/main armhf python3-itsdangerous all 2.1.2-4 [17.1 kB] Get: 101 http://deb.debian.org/debian unstable/main armhf python3-markupsafe armhf 2.1.5-1 [13.9 kB] Get: 102 http://deb.debian.org/debian unstable/main armhf python3-jinja2 all 3.1.3-1 [119 kB] Get: 103 http://deb.debian.org/debian unstable/main armhf python3-werkzeug all 3.0.2-1 [206 kB] Get: 104 http://deb.debian.org/debian unstable/main armhf python3-flask all 3.0.3-1 [104 kB] Get: 105 http://deb.debian.org/debian unstable/main armhf python3-greenlet armhf 3.0.1-3 [171 kB] Get: 106 http://deb.debian.org/debian unstable/main armhf python3-zope.event all 5.0-0.1 [8164 B] Get: 107 http://deb.debian.org/debian unstable/main armhf python3-zope.interface armhf 6.1-1 [150 kB] Get: 108 http://deb.debian.org/debian unstable/main armhf python3-gevent armhf 24.2.1-0.1 [1054 kB] Get: 109 http://deb.debian.org/debian unstable/main armhf python3-idna all 3.6-2 [37.0 kB] Get: 110 http://deb.debian.org/debian unstable/main armhf python3-iniconfig all 1.1.1-2 [6396 B] Get: 111 http://deb.debian.org/debian unstable/main armhf python3-pluggy all 1.4.0-1 [26.2 kB] Get: 112 http://deb.debian.org/debian unstable/main armhf python3-psutil armhf 5.9.8-2 [225 kB] Get: 113 http://deb.debian.org/debian unstable/main armhf python3-pydevd armhf 2.10.0+ds-10 [576 kB] Get: 114 http://deb.debian.org/debian unstable/main armhf python3-pytest all 8.1.1-1 [245 kB] Get: 115 http://deb.debian.org/debian unstable/main armhf python3-pytest-timeout all 2.3.1-1 [21.9 kB] Get: 116 http://deb.debian.org/debian unstable/main armhf python3-pytest-xdist all 3.5.0-1 [42.1 kB] Get: 117 http://deb.debian.org/debian unstable/main armhf python3-six all 1.16.0-6 [16.3 kB] Get: 118 http://deb.debian.org/debian unstable/main armhf python3-urllib3 all 1.26.18-2 [116 kB] Get: 119 http://deb.debian.org/debian unstable/main armhf python3-requests all 2.31.0+dfsg-1 [68.6 kB] Fetched 47.2 MB in 1s (39.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19442 files and directories currently installed.) Preparing to unpack .../0-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package ucf. Preparing to unpack .../1-ucf_3.0043+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0043+nmu1) ... Selecting previously unselected package libdebuginfod-common. Preparing to unpack .../2-libdebuginfod-common_0.191-1_all.deb ... Unpacking libdebuginfod-common (0.191-1) ... Selecting previously unselected package libpython3.11-minimal:armhf. Preparing to unpack .../3-libpython3.11-minimal_3.11.9-1_armhf.deb ... Unpacking libpython3.11-minimal:armhf (3.11.9-1) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../4-libexpat1_2.6.2-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.2-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../5-python3.11-minimal_3.11.9-1_armhf.deb ... Unpacking python3.11-minimal (3.11.9-1) ... Setting up libpython3.11-minimal:armhf (3.11.9-1) ... Setting up libexpat1:armhf (2.6.2-1) ... Setting up python3.11-minimal (3.11.9-1) ... 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 ... 19844 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.8-1_armhf.deb ... Unpacking python3-minimal (3.11.8-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2024a-2_all.deb ... Unpacking tzdata (2024a-2) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package libreadline8t64:armhf. Preparing to unpack .../5-libreadline8t64_8.2-4_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-4) ... Selecting previously unselected package libpython3.11-stdlib:armhf. Preparing to unpack .../6-libpython3.11-stdlib_3.11.9-1_armhf.deb ... Unpacking libpython3.11-stdlib:armhf (3.11.9-1) ... Selecting previously unselected package python3.11. Preparing to unpack .../7-python3.11_3.11.9-1_armhf.deb ... Unpacking python3.11 (3.11.9-1) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../8-libpython3-stdlib_3.11.8-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.11.8-1) ... Setting up python3-minimal (3.11.8-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 ... 20836 files and directories currently installed.) Preparing to unpack .../000-python3_3.11.8-1_armhf.deb ... Unpacking python3 (3.11.8-1) ... Selecting previously unselected package libpython3.12-minimal:armhf. Preparing to unpack .../001-libpython3.12-minimal_3.12.3-1_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.3-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../002-python3.12-minimal_3.12.3-1_armhf.deb ... Unpacking python3.12-minimal (3.12.3-1) ... Selecting previously unselected package openssl. Preparing to unpack .../003-openssl_3.2.1-3_armhf.deb ... Unpacking openssl (3.2.1-3) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../004-ca-certificates_20240203_all.deb ... Unpacking ca-certificates (20240203) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../005-libmagic-mgc_1%3a5.45-3_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../006-libmagic1t64_1%3a5.45-3_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../007-file_1%3a5.45-3_armhf.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../008-gettext-base_0.21-14+b1_armhf.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../009-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../010-groff-base_1.23.0-3+b1_armhf.deb ... Unpacking groff-base (1.23.0-3+b1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../011-bsdextrautils_2.40-6_armhf.deb ... Unpacking bsdextrautils (2.40-6) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../012-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../013-man-db_2.12.1-1_armhf.deb ... Unpacking man-db (2.12.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../014-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../015-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../016-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../017-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../018-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../019-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../020-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../021-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../022-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../023-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../024-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../025-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1t64:armhf. Preparing to unpack .../026-libelf1t64_0.191-1+b1_armhf.deb ... Unpacking libelf1t64:armhf (0.191-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../027-dwz_0.15-1+b2_armhf.deb ... Unpacking dwz (0.15-1+b2) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../028-libicu72_72.1-4+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-4+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../029-libxml2_2.9.14+dfsg-1.3+b2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../030-gettext_0.21-14+b1_armhf.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../031-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 .../032-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../033-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../034-python3-pkg-resources_68.1.2-2_all.deb ... Unpacking python3-pkg-resources (68.1.2-2) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../035-python3-lib2to3_3.12.3-1_all.deb ... Unpacking python3-lib2to3 (3.12.3-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../036-python3-distutils_3.12.3-1_all.deb ... Unpacking python3-distutils (3.12.3-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../037-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../038-dh-python_6.20240401_all.deb ... Unpacking dh-python (6.20240401) ... Selecting previously unselected package libdw1t64:armhf. Preparing to unpack .../039-libdw1t64_0.191-1+b1_armhf.deb ... Unpacking libdw1t64:armhf (0.191-1+b1) ... Selecting previously unselected package libglib2.0-0t64:armhf. Preparing to unpack .../040-libglib2.0-0t64_2.78.4-6_armhf.deb ... Unpacking libglib2.0-0t64:armhf (2.78.4-6) ... Selecting previously unselected package libbabeltrace1:armhf. Preparing to unpack .../041-libbabeltrace1_1.5.11-3+b6_armhf.deb ... Unpacking libbabeltrace1:armhf (1.5.11-3+b6) ... Selecting previously unselected package libbrotli1:armhf. Preparing to unpack .../042-libbrotli1_1.1.0-2+b3_armhf.deb ... Unpacking libbrotli1:armhf (1.1.0-2+b3) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../043-libkrb5support0_1.20.1-6+b1_armhf.deb ... Unpacking libkrb5support0:armhf (1.20.1-6+b1) ... Selecting previously unselected package libcom-err2:armhf. Preparing to unpack .../044-libcom-err2_1.47.0-2.4_armhf.deb ... Unpacking libcom-err2:armhf (1.47.0-2.4) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../045-libk5crypto3_1.20.1-6+b1_armhf.deb ... Unpacking libk5crypto3:armhf (1.20.1-6+b1) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../046-libkeyutils1_1.6.3-3_armhf.deb ... Unpacking libkeyutils1:armhf (1.6.3-3) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../047-libkrb5-3_1.20.1-6+b1_armhf.deb ... Unpacking libkrb5-3:armhf (1.20.1-6+b1) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../048-libgssapi-krb5-2_1.20.1-6+b1_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.20.1-6+b1) ... Selecting previously unselected package libnghttp2-14:armhf. Preparing to unpack .../049-libnghttp2-14_1.61.0-1_armhf.deb ... Unpacking libnghttp2-14:armhf (1.61.0-1) ... Selecting previously unselected package libpsl5t64:armhf. Preparing to unpack .../050-libpsl5t64_0.21.2-1.1_armhf.deb ... Unpacking libpsl5t64:armhf (0.21.2-1.1) ... Selecting previously unselected package librtmp1:armhf. Preparing to unpack .../051-librtmp1_2.4+20151223.gitfa8646d.1-2+b4_armhf.deb ... Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b4) ... Selecting previously unselected package libssh2-1t64:armhf. Preparing to unpack .../052-libssh2-1t64_1.11.0-4.1+b2_armhf.deb ... Unpacking libssh2-1t64:armhf (1.11.0-4.1+b2) ... Selecting previously unselected package libcurl3t64-gnutls:armhf. Preparing to unpack .../053-libcurl3t64-gnutls_8.7.1-2_armhf.deb ... Unpacking libcurl3t64-gnutls:armhf (8.7.1-2) ... Selecting previously unselected package libdebuginfod1t64:armhf. Preparing to unpack .../054-libdebuginfod1t64_0.191-1+b1_armhf.deb ... Unpacking libdebuginfod1t64:armhf (0.191-1+b1) ... Selecting previously unselected package libpython3.11t64:armhf. Preparing to unpack .../055-libpython3.11t64_3.11.9-1_armhf.deb ... Unpacking libpython3.11t64:armhf (3.11.9-1) ... Selecting previously unselected package libsource-highlight-common. Preparing to unpack .../056-libsource-highlight-common_3.1.9-4.3_all.deb ... Unpacking libsource-highlight-common (3.1.9-4.3) ... Selecting previously unselected package libsource-highlight4t64:armhf. Preparing to unpack .../057-libsource-highlight4t64_3.1.9-4.3_armhf.deb ... Unpacking libsource-highlight4t64:armhf (3.1.9-4.3) ... Selecting previously unselected package gdb. Preparing to unpack .../058-gdb_13.2-1+b2_armhf.deb ... Unpacking gdb (13.2-1+b2) ... Selecting previously unselected package libc-ares2:armhf. Preparing to unpack .../059-libc-ares2_1.27.0-1_armhf.deb ... Unpacking libc-ares2:armhf (1.27.0-1) ... Selecting previously unselected package libev4t64:armhf. Preparing to unpack .../060-libev4t64_1%3a4.33-2.1_armhf.deb ... Unpacking libev4t64:armhf (1:4.33-2.1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../061-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../062-libpython3.12-stdlib_3.12.3-1_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.3-1) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../063-python3-packaging_24.0-1_all.deb ... Unpacking python3-packaging (24.0-1) ... Selecting previously unselected package python3-pyproject-hooks. Preparing to unpack .../064-python3-pyproject-hooks_1.0.0-2_all.deb ... Unpacking python3-pyproject-hooks (1.0.0-2) ... Selecting previously unselected package python3-toml. Preparing to unpack .../065-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../066-python3-wheel_0.43.0-1_all.deb ... Unpacking python3-wheel (0.43.0-1) ... Selecting previously unselected package python3-build. Preparing to unpack .../067-python3-build_1.1.1-1_all.deb ... Unpacking python3-build (1.1.1-1) ... Selecting previously unselected package python3-installer. Preparing to unpack .../068-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 .../069-pybuild-plugin-pyproject_6.20240401_all.deb ... Unpacking pybuild-plugin-pyproject (6.20240401) ... Selecting previously unselected package python3.12. Preparing to unpack .../070-python3.12_3.12.3-1_armhf.deb ... Unpacking python3.12 (3.12.3-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../071-python3-all_3.11.8-1_armhf.deb ... Unpacking python3-all (3.11.8-1) ... Selecting previously unselected package python3-asgiref. Preparing to unpack .../072-python3-asgiref_3.8.1-1_all.deb ... Unpacking python3-asgiref (3.8.1-1) ... Selecting previously unselected package python3-blinker. Preparing to unpack .../073-python3-blinker_1.7.0-1_all.deb ... Unpacking python3-blinker (1.7.0-1) ... Selecting previously unselected package python3-bytecode. Preparing to unpack .../074-python3-bytecode_0.15.1-3_all.deb ... Unpacking python3-bytecode (0.15.1-3) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../075-python3-certifi_2023.11.17-1_all.deb ... Unpacking python3-certifi (2023.11.17-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../076-python3-chardet_5.2.0+dfsg-1_all.deb ... Unpacking python3-chardet (5.2.0+dfsg-1) ... Selecting previously unselected package python3-charset-normalizer. Preparing to unpack .../077-python3-charset-normalizer_3.3.2-1_all.deb ... Unpacking python3-charset-normalizer (3.3.2-1) ... Selecting previously unselected package python3-colorama. Preparing to unpack .../078-python3-colorama_0.4.6-4_all.deb ... Unpacking python3-colorama (0.4.6-4) ... Selecting previously unselected package python3-click. Preparing to unpack .../079-python3-click_8.1.7-1_all.deb ... Unpacking python3-click (8.1.7-1) ... Selecting previously unselected package python3-coverage. Preparing to unpack .../080-python3-coverage_7.2.7+dfsg1-1+b1_armhf.deb ... Unpacking python3-coverage (7.2.7+dfsg1-1+b1) ... Selecting previously unselected package python3-sqlparse. Preparing to unpack .../081-python3-sqlparse_0.4.4-1_all.deb ... Unpacking python3-sqlparse (0.4.4-1) ... Selecting previously unselected package python3-django. Preparing to unpack .../082-python3-django_3%3a4.2.11-1_all.deb ... Unpacking python3-django (3:4.2.11-1) ... Selecting previously unselected package python3-execnet. Preparing to unpack .../083-python3-execnet_2.0.2-1_all.deb ... Unpacking python3-execnet (2.0.2-1) ... Selecting previously unselected package python3-itsdangerous. Preparing to unpack .../084-python3-itsdangerous_2.1.2-4_all.deb ... Unpacking python3-itsdangerous (2.1.2-4) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../085-python3-markupsafe_2.1.5-1_armhf.deb ... Unpacking python3-markupsafe (2.1.5-1) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../086-python3-jinja2_3.1.3-1_all.deb ... Unpacking python3-jinja2 (3.1.3-1) ... Selecting previously unselected package python3-werkzeug. Preparing to unpack .../087-python3-werkzeug_3.0.2-1_all.deb ... Unpacking python3-werkzeug (3.0.2-1) ... Selecting previously unselected package python3-flask. Preparing to unpack .../088-python3-flask_3.0.3-1_all.deb ... Unpacking python3-flask (3.0.3-1) ... Selecting previously unselected package python3-greenlet. Preparing to unpack .../089-python3-greenlet_3.0.1-3_armhf.deb ... Unpacking python3-greenlet (3.0.1-3) ... Selecting previously unselected package python3-zope.event. Preparing to unpack .../090-python3-zope.event_5.0-0.1_all.deb ... Unpacking python3-zope.event (5.0-0.1) ... Selecting previously unselected package python3-zope.interface. Preparing to unpack .../091-python3-zope.interface_6.1-1_armhf.deb ... Unpacking python3-zope.interface (6.1-1) ... Selecting previously unselected package python3-gevent. Preparing to unpack .../092-python3-gevent_24.2.1-0.1_armhf.deb ... Unpacking python3-gevent (24.2.1-0.1) ... Selecting previously unselected package python3-idna. Preparing to unpack .../093-python3-idna_3.6-2_all.deb ... Unpacking python3-idna (3.6-2) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../094-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../095-python3-pluggy_1.4.0-1_all.deb ... Unpacking python3-pluggy (1.4.0-1) ... Selecting previously unselected package python3-psutil. Preparing to unpack .../096-python3-psutil_5.9.8-2_armhf.deb ... Unpacking python3-psutil (5.9.8-2) ... Selecting previously unselected package python3-pydevd. Preparing to unpack .../097-python3-pydevd_2.10.0+ds-10_armhf.deb ... Unpacking python3-pydevd (2.10.0+ds-10) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../098-python3-pytest_8.1.1-1_all.deb ... Unpacking python3-pytest (8.1.1-1) ... Selecting previously unselected package python3-pytest-timeout. Preparing to unpack .../099-python3-pytest-timeout_2.3.1-1_all.deb ... Unpacking python3-pytest-timeout (2.3.1-1) ... Selecting previously unselected package python3-pytest-xdist. Preparing to unpack .../100-python3-pytest-xdist_3.5.0-1_all.deb ... Unpacking python3-pytest-xdist (3.5.0-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../101-python3-six_1.16.0-6_all.deb ... Unpacking python3-six (1.16.0-6) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../102-python3-urllib3_1.26.18-2_all.deb ... Unpacking python3-urllib3 (1.26.18-2) ... Selecting previously unselected package python3-requests. Preparing to unpack .../103-python3-requests_2.31.0+dfsg-1_all.deb ... Unpacking python3-requests (2.31.0+dfsg-1) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:armhf (1.5.7-2) ... Setting up libev4t64:armhf (1:4.33-2.1) ... Setting up libkeyutils1:armhf (1.6.3-3) ... Setting up libicu72:armhf (72.1-4+b1) ... Setting up bsdextrautils (2.40-6) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libbrotli1:armhf (1.1.0-2+b3) ... Setting up libmagic1t64:armhf (1:5.45-3) ... Setting up libpython3.12-minimal:armhf (3.12.3-1) ... Setting up libpsl5t64:armhf (0.21.2-1.1) ... Setting up libnghttp2-14:armhf (1.61.0-1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:armhf (1.47.0-2.4) ... Setting up libc-ares2:armhf (1.27.0-1) ... Setting up file (1:5.45-3) ... Setting up libsource-highlight-common (3.1.9-4.3) ... Setting up libelf1t64:armhf (0.191-1+b1) ... Setting up libkrb5support0:armhf (1.20.1-6+b1) ... Setting up libdw1t64:armhf (0.191-1+b1) ... Setting up tzdata (2024a-2) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Apr 18 14:24:38 UTC 2024. Universal Time is now: Thu Apr 18 14:24:38 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up libglib2.0-0t64:armhf (2.78.4-6) ... No schema files found: doing nothing. Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2+b4) ... Setting up autopoint (0.21-14) ... Setting up libk5crypto3:armhf (1.20.1-6+b1) ... Setting up libbabeltrace1:armhf (1.5.11-3+b6) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b2) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up netbase (6.4) ... Setting up libkrb5-3:armhf (1.20.1-6+b1) ... Setting up libssh2-1t64:armhf (1.11.0-4.1+b2) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up openssl (3.2.1-3) ... Setting up readline-common (8.2-4) ... Setting up libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up python3.12-minimal (3.12.3-1) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up libsource-highlight4t64:armhf (3.1.9-4.3) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 146 added, 0 removed; done. Setting up libgssapi-krb5-2:armhf (1.20.1-6+b1) ... Setting up ucf (3.0043+nmu1) ... Setting up libreadline8t64:armhf (8.2-4) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up groff-base (1.23.0-3+b1) ... Setting up libpython3.12-stdlib:armhf (3.12.3-1) ... Setting up libdebuginfod-common (0.191-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:armhf (3.11.9-1) ... Setting up python3.12 (3.12.3-1) ... Setting up libpython3.11t64:armhf (3.11.9-1) ... Setting up libcurl3t64-gnutls:armhf (8.7.1-2) ... Setting up man-db (2.12.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3-stdlib:armhf (3.11.8-1) ... Setting up python3.11 (3.11.9-1) ... Setting up libdebuginfod1t64:armhf (0.191-1+b1) ... Setting up debhelper (13.15.3) ... Setting up python3 (3.11.8-1) ... Setting up python3-markupsafe (2.1.5-1) ... Setting up python3-wheel (0.43.0-1) ... Setting up python3-psutil (5.9.8-2) ... Setting up python3-six (1.16.0-6) ... Setting up python3-jinja2 (3.1.3-1) ... Setting up python3-packaging (24.0-1) ... Setting up gdb (13.2-1+b2) ... Setting up python3-sqlparse (0.4.4-1) ... Setting up python3-pyproject-hooks (1.0.0-2) ... Setting up python3-certifi (2023.11.17-1) ... Setting up python3-werkzeug (3.0.2-1) ... Setting up python3-greenlet (3.0.1-3) ... Setting up python3-bytecode (0.15.1-3) ... Setting up python3-idna (3.6-2) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-installer (0.7.0+dfsg1-3) ... Setting up python3-urllib3 (1.26.18-2) ... Setting up python3-pluggy (1.4.0-1) ... Setting up python3-build (1.1.1-1) ... Setting up python3-execnet (2.0.2-1) ... Setting up python3-lib2to3 (3.12.3-1) ... Setting up python3-asgiref (3.8.1-1) ... Setting up python3-blinker (1.7.0-1) ... Setting up python3-pkg-resources (68.1.2-2) ... Setting up python3-distutils (3.12.3-1) ... python3.12: can't get files for byte-compilation Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-django (3:4.2.11-1) ... Setting up python3-setuptools (68.1.2-2) ... Setting up python3-colorama (0.4.6-4) ... Setting up python3-zope.event (5.0-0.1) ... Setting up python3-zope.interface (6.1-1) ... Setting up python3-charset-normalizer (3.3.2-1) ... Setting up python3-pytest (8.1.1-1) ... Setting up python3-itsdangerous (2.1.2-4) ... Setting up python3-all (3.11.8-1) ... Setting up python3-coverage (7.2.7+dfsg1-1+b1) ... Setting up python3-gevent (24.2.1-0.1) ... Setting up python3-click (8.1.7-1) ... Setting up python3-chardet (5.2.0+dfsg-1) ... Setting up python3-requests (2.31.0+dfsg-1) ... Setting up python3-pydevd (2.10.0+ds-10) ... Setting up dh-python (6.20240401) ... Setting up python3-pytest-xdist (3.5.0-1) ... Setting up python3-pytest-timeout (2.3.1-1) ... Setting up pybuild-plugin-pyproject (6.20240401) ... Setting up python3-flask (3.0.3-1) ... Processing triggers for libc-bin (2.37-17) ... Processing triggers for ca-certificates (20240203) ... 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/debugpy-1.8.0+ds/ && 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 > ../debugpy_1.8.0+ds-4_source.changes dpkg-buildpackage: info: source package debugpy dpkg-buildpackage: info: source version 1.8.0+ds-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Julian Gilbey dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf dpkg-source: info: using options from debugpy-1.8.0+ds/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ debian/rules clean dh clean --buildsystem=pybuild debian/rules execute_after_dh_testdir make[1]: Entering directory '/build/reproducible-path/debugpy-1.8.0+ds' grep -q 1.8.0 src/debugpy/_version.py make[1]: Leaving directory '/build/reproducible-path/debugpy-1.8.0+ds' dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild debian/rules execute_after_dh_testdir make[1]: Entering directory '/build/reproducible-path/debugpy-1.8.0+ds' grep -q 1.8.0 src/debugpy/_version.py make[1]: Leaving directory '/build/reproducible-path/debugpy-1.8.0+ds' 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.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/debugpy copying src/debugpy/_version.py -> build/lib/debugpy copying src/debugpy/public_api.py -> build/lib/debugpy copying src/debugpy/__main__.py -> build/lib/debugpy copying src/debugpy/__init__.py -> build/lib/debugpy creating build/lib/debugpy/common copying src/debugpy/common/sockets.py -> build/lib/debugpy/common copying src/debugpy/common/singleton.py -> build/lib/debugpy/common copying src/debugpy/common/messaging.py -> build/lib/debugpy/common copying src/debugpy/common/json.py -> build/lib/debugpy/common copying src/debugpy/common/log.py -> build/lib/debugpy/common copying src/debugpy/common/stacks.py -> build/lib/debugpy/common copying src/debugpy/common/__init__.py -> build/lib/debugpy/common copying src/debugpy/common/util.py -> build/lib/debugpy/common copying src/debugpy/common/timestamp.py -> build/lib/debugpy/common creating build/lib/debugpy/server copying src/debugpy/server/attach_pid_injected.py -> build/lib/debugpy/server copying src/debugpy/server/cli.py -> build/lib/debugpy/server copying src/debugpy/server/api.py -> build/lib/debugpy/server copying src/debugpy/server/__init__.py -> build/lib/debugpy/server creating build/lib/debugpy/launcher copying src/debugpy/launcher/debuggee.py -> build/lib/debugpy/launcher copying src/debugpy/launcher/winapi.py -> build/lib/debugpy/launcher copying src/debugpy/launcher/output.py -> build/lib/debugpy/launcher copying src/debugpy/launcher/handlers.py -> build/lib/debugpy/launcher copying src/debugpy/launcher/__main__.py -> build/lib/debugpy/launcher copying src/debugpy/launcher/__init__.py -> build/lib/debugpy/launcher creating build/lib/debugpy/_vendored copying src/debugpy/_vendored/_pydevd_packaging.py -> build/lib/debugpy/_vendored copying src/debugpy/_vendored/force_pydevd.py -> build/lib/debugpy/_vendored copying src/debugpy/_vendored/__init__.py -> build/lib/debugpy/_vendored copying src/debugpy/_vendored/_util.py -> build/lib/debugpy/_vendored creating build/lib/debugpy/adapter copying src/debugpy/adapter/sessions.py -> build/lib/debugpy/adapter copying src/debugpy/adapter/clients.py -> build/lib/debugpy/adapter copying src/debugpy/adapter/components.py -> build/lib/debugpy/adapter copying src/debugpy/adapter/servers.py -> build/lib/debugpy/adapter copying src/debugpy/adapter/launchers.py -> build/lib/debugpy/adapter copying src/debugpy/adapter/__main__.py -> build/lib/debugpy/adapter copying src/debugpy/adapter/__init__.py -> build/lib/debugpy/adapter UPDATING build/lib/debugpy/_version.py set build/lib/debugpy/_version.py to '1.8.0' installing to build/bdist.linux-armv7l/wheel running install running install_lib creating build/bdist.linux-armv7l creating build/bdist.linux-armv7l/wheel creating build/bdist.linux-armv7l/wheel/debugpy copying build/lib/debugpy/_version.py -> build/bdist.linux-armv7l/wheel/debugpy creating build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/sockets.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/singleton.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/messaging.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/json.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/log.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/stacks.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/util.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/timestamp.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/public_api.py -> build/bdist.linux-armv7l/wheel/debugpy creating build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/server/attach_pid_injected.py -> build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/server/cli.py -> build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/server/api.py -> build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/server/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/__main__.py -> build/bdist.linux-armv7l/wheel/debugpy creating build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/debuggee.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/winapi.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/output.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/handlers.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/__main__.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher creating build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/_vendored/_pydevd_packaging.py -> build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/_vendored/force_pydevd.py -> build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/_vendored/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/_vendored/_util.py -> build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy creating build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/sessions.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/clients.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/components.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/servers.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/launchers.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/__main__.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter running install_egg_info running egg_info creating src/debugpy.egg-info writing src/debugpy.egg-info/PKG-INFO writing dependency_links to src/debugpy.egg-info/dependency_links.txt writing top-level names to src/debugpy.egg-info/top_level.txt writing manifest file 'src/debugpy.egg-info/SOURCES.txt' reading manifest file 'src/debugpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cdo]' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'src/debugpy.egg-info/SOURCES.txt' Copying src/debugpy.egg-info to build/bdist.linux-armv7l/wheel/debugpy-1.8.0.egg-info running install_scripts creating build/bdist.linux-armv7l/wheel/debugpy-1.8.0.dist-info/WHEEL creating '/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/.tmp-r9gcguhj/debugpy-1.8.0-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it adding 'debugpy/__init__.py' adding 'debugpy/__main__.py' adding 'debugpy/_version.py' adding 'debugpy/public_api.py' adding 'debugpy/_vendored/__init__.py' adding 'debugpy/_vendored/_pydevd_packaging.py' adding 'debugpy/_vendored/_util.py' adding 'debugpy/_vendored/force_pydevd.py' adding 'debugpy/adapter/__init__.py' adding 'debugpy/adapter/__main__.py' adding 'debugpy/adapter/clients.py' adding 'debugpy/adapter/components.py' adding 'debugpy/adapter/launchers.py' adding 'debugpy/adapter/servers.py' adding 'debugpy/adapter/sessions.py' adding 'debugpy/common/__init__.py' adding 'debugpy/common/json.py' adding 'debugpy/common/log.py' adding 'debugpy/common/messaging.py' adding 'debugpy/common/singleton.py' adding 'debugpy/common/sockets.py' adding 'debugpy/common/stacks.py' adding 'debugpy/common/timestamp.py' adding 'debugpy/common/util.py' adding 'debugpy/launcher/__init__.py' adding 'debugpy/launcher/__main__.py' adding 'debugpy/launcher/debuggee.py' adding 'debugpy/launcher/handlers.py' adding 'debugpy/launcher/output.py' adding 'debugpy/launcher/winapi.py' adding 'debugpy/server/__init__.py' adding 'debugpy/server/api.py' adding 'debugpy/server/attach_pid_injected.py' adding 'debugpy/server/cli.py' adding 'debugpy-1.8.0.dist-info/LICENSE' adding 'debugpy-1.8.0.dist-info/METADATA' adding 'debugpy-1.8.0.dist-info/WHEEL' adding 'debugpy-1.8.0.dist-info/top_level.txt' adding 'debugpy-1.8.0.dist-info/RECORD' removing build/bdist.linux-armv7l/wheel Successfully built debugpy-1.8.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" module I: pybuild base:311: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy * Building wheel... running bdist_wheel running build running build_py UPDATING build/lib/debugpy/_version.py set build/lib/debugpy/_version.py to '1.8.0' installing to build/bdist.linux-armv7l/wheel running install running install_lib creating build/bdist.linux-armv7l/wheel creating build/bdist.linux-armv7l/wheel/debugpy copying build/lib/debugpy/_version.py -> build/bdist.linux-armv7l/wheel/debugpy creating build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/sockets.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/singleton.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/messaging.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/json.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/log.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/stacks.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/util.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/common/timestamp.py -> build/bdist.linux-armv7l/wheel/debugpy/common copying build/lib/debugpy/public_api.py -> build/bdist.linux-armv7l/wheel/debugpy creating build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/server/attach_pid_injected.py -> build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/server/cli.py -> build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/server/api.py -> build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/server/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/server copying build/lib/debugpy/__main__.py -> build/bdist.linux-armv7l/wheel/debugpy creating build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/debuggee.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/winapi.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/output.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/handlers.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/__main__.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher copying build/lib/debugpy/launcher/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/launcher creating build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/_vendored/_pydevd_packaging.py -> build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/_vendored/force_pydevd.py -> build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/_vendored/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/_vendored/_util.py -> build/bdist.linux-armv7l/wheel/debugpy/_vendored copying build/lib/debugpy/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy creating build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/sessions.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/clients.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/components.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/servers.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/launchers.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/__main__.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter copying build/lib/debugpy/adapter/__init__.py -> build/bdist.linux-armv7l/wheel/debugpy/adapter running install_egg_info running egg_info writing src/debugpy.egg-info/PKG-INFO writing dependency_links to src/debugpy.egg-info/dependency_links.txt writing top-level names to src/debugpy.egg-info/top_level.txt reading manifest file 'src/debugpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cdo]' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'src/debugpy.egg-info/SOURCES.txt' Copying src/debugpy.egg-info to build/bdist.linux-armv7l/wheel/debugpy-1.8.0.egg-info running install_scripts creating build/bdist.linux-armv7l/wheel/debugpy-1.8.0.dist-info/WHEEL creating '/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.tmp-la8bottu/debugpy-1.8.0-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it adding 'debugpy/__init__.py' adding 'debugpy/__main__.py' adding 'debugpy/_version.py' adding 'debugpy/public_api.py' adding 'debugpy/_vendored/__init__.py' adding 'debugpy/_vendored/_pydevd_packaging.py' adding 'debugpy/_vendored/_util.py' adding 'debugpy/_vendored/force_pydevd.py' adding 'debugpy/adapter/__init__.py' adding 'debugpy/adapter/__main__.py' adding 'debugpy/adapter/clients.py' adding 'debugpy/adapter/components.py' adding 'debugpy/adapter/launchers.py' adding 'debugpy/adapter/servers.py' adding 'debugpy/adapter/sessions.py' adding 'debugpy/common/__init__.py' adding 'debugpy/common/json.py' adding 'debugpy/common/log.py' adding 'debugpy/common/messaging.py' adding 'debugpy/common/singleton.py' adding 'debugpy/common/sockets.py' adding 'debugpy/common/stacks.py' adding 'debugpy/common/timestamp.py' adding 'debugpy/common/util.py' adding 'debugpy/launcher/__init__.py' adding 'debugpy/launcher/__main__.py' adding 'debugpy/launcher/debuggee.py' adding 'debugpy/launcher/handlers.py' adding 'debugpy/launcher/output.py' adding 'debugpy/launcher/winapi.py' adding 'debugpy/server/__init__.py' adding 'debugpy/server/api.py' adding 'debugpy/server/attach_pid_injected.py' adding 'debugpy/server/cli.py' adding 'debugpy-1.8.0.dist-info/LICENSE' adding 'debugpy-1.8.0.dist-info/METADATA' adding 'debugpy-1.8.0.dist-info/WHEEL' adding 'debugpy-1.8.0.dist-info/top_level.txt' adding 'debugpy-1.8.0.dist-info/RECORD' removing build/bdist.linux-armv7l/wheel Successfully built debugpy-1.8.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with "installer" module debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/debugpy-1.8.0+ds' # * The http_proxy setting is to disable the proxies that pybuild # introduces; the tests might set up and use a local http server. # (See https://bugs.debian.org/1022188) export http_proxy=""; \ PYBUILD_TEST_ARGS="--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'" dh_auto_test || \ PYBUILD_TEST_ARGS="--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]' -n1" dh_auto_test I: pybuild pybuild:308: rm -rf /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/debugpy/_vendored/pydevd; mkdir /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/debugpy/_vendored/pydevd; done I: pybuild base:311: cd /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build; python3.12 -m pytest --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]' ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0 Test environment for tests-7719 System paths: sys.executable: /usr/bin/python3.12 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.12/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.12/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/.local/lib/python3.12/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.12 sysconfig.get_path('platstdlib'): /usr/lib/python3.12 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.12 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.12/os.py threading.__file__: /usr/lib/python3.12/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 rootdir: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build configfile: pytest.ini testpaths: tests plugins: timeout-2.3.1, xdist-3.5.0 timeout: 30.0s timeout method: thread timeout func_only: False created: 8/8 workers 8 workers [1216 items] ........................................................................ [ 5%] ........................................................................ [ 11%] ......................................................................s. [ 17%] ss...................................................................... [ 23%] ........................................................................ [ 29%] ........................................................................ [ 35%] .........................................................Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given TypeError: () takes 0 positional arguments but 1 was given [gw1] node down: Not properly terminated F replacing crashed worker gw1 [gw2] node down: Not properly terminated F replacing crashed worker gw2 [gw5] node down: Not properly terminated F replacing crashed worker gw5 [gw4] node down: Not properly terminated F replacing crashed worker gw4 [gw7] node down: Not properly terminated F replacing crashed worker gw7 [gw6] node down: Not properly terminated F replacing crashed worker gw6 [gw0] node down: Not properly terminated F replacing crashed worker gw0 [gw3] node down: Not properly terminated F replacing crashed worker gw3 ................................s..........s.......s...........s........ [ 46%] s..............................................sss...................... [ 52%] ........................................................................ [ 57%] ....................................................................sss. [ 63%] ......................................ss.sss.ssss.s..ssssss.s........... [ 69%] ...................ss.sssss............................................. [ 75%] ........................................................................ [ 81%] ........................................................................ [ 87%] ........................................................................ [ 93%] .......................................................................0.00s - Debugger warning: It seems that frozen modules are being used, which may 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off 0.00s - to python to disable frozen modules. 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. I+03.247: debugpy and pydevd logs will be under /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/tests/_logs/3.12-32 =================================== FAILURES =================================== _______________________ tests/debugpy/test_exception.py ________________________ [gw1] linux -- Python 3.12.3 /usr/bin/python3.12 worker 'gw1' crashed while running 'tests/debugpy/test_exception.py::test_systemexit[1-zero-uncaught--attach_connect(cli)-program]' _______________________ tests/debugpy/test_exception.py ________________________ [gw2] linux -- Python 3.12.3 /usr/bin/python3.12 worker 'gw2' crashed while running 'tests/debugpy/test_exception.py::test_systemexit[1--uncaught-raised-launch(console=internalConsole)-module]' _______________________ tests/debugpy/test_exception.py ________________________ [gw5] linux -- Python 3.12.3 /usr/bin/python3.12 worker 'gw5' crashed while running 'tests/debugpy/test_exception.py::test_raise_exception_options[program-launch-exceptions2-unhandled]' _______________________ tests/debugpy/test_exception.py ________________________ [gw4] linux -- Python 3.12.3 /usr/bin/python3.12 worker 'gw4' crashed while running 'tests/debugpy/test_exception.py::test_systemexit[nan-zero-uncaught--attach_listen(cli)-module]' _______________________ tests/debugpy/test_exception.py ________________________ [gw7] linux -- Python 3.12.3 /usr/bin/python3.12 worker 'gw7' crashed while running 'tests/debugpy/test_exception.py::test_systemexit[1---raised-attach_pid-module]' _______________________ tests/debugpy/test_exception.py ________________________ [gw6] linux -- Python 3.12.3 /usr/bin/python3.12 worker 'gw6' crashed while running 'tests/debugpy/test_exception.py::test_systemexit[nan--uncaught-raised-launch(console=integratedTerminal)-program]' _______________________ tests/debugpy/test_exception.py ________________________ [gw0] linux -- Python 3.12.3 /usr/bin/python3.12 worker 'gw0' crashed while running 'tests/debugpy/test_exception.py::test_systemexit[0---raised-attach_pid-program]' _______________________ tests/debugpy/test_exception.py ________________________ [gw3] linux -- Python 3.12.3 /usr/bin/python3.12 worker 'gw3' crashed while running 'tests/debugpy/test_exception.py::test_systemexit[nan---raised-attach_listen(api)-program]' =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/fixtures.py:1314: 32 warnings /usr/lib/python3/dist-packages/_pytest/fixtures.py:1314: PytestRemovedIn9Warning: Marks applied to fixtures have no effect See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function return fixture_marker(fixture_function) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/debugpy/test_exception.py::test_systemexit[1-zero-uncaught--attach_connect(cli)-program] FAILED tests/debugpy/test_exception.py::test_systemexit[1--uncaught-raised-launch(console=internalConsole)-module] FAILED tests/debugpy/test_exception.py::test_raise_exception_options[program-launch-exceptions2-unhandled] FAILED tests/debugpy/test_exception.py::test_systemexit[nan-zero-uncaught--attach_listen(cli)-module] FAILED tests/debugpy/test_exception.py::test_systemexit[1---raised-attach_pid-module] FAILED tests/debugpy/test_exception.py::test_systemexit[nan--uncaught-raised-launch(console=integratedTerminal)-program] FAILED tests/debugpy/test_exception.py::test_systemexit[0---raised-attach_pid-program] FAILED tests/debugpy/test_exception.py::test_systemexit[nan---raised-attach_listen(api)-program] ===== 8 failed, 1170 passed, 38 skipped, 32 warnings in 1375.85s (0:22:55) ===== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build; python3.12 -m pytest --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]' I: pybuild pybuild:308: rm -rf /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd; mkdir /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd; done I: pybuild base:311: cd /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build; python3.11 -m pytest --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]' ============================= test session starts ============================== platform linux -- Python 3.11.9, pytest-8.1.1, pluggy-1.4.0 Test environment for tests-27159 System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 rootdir: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build configfile: pytest.ini testpaths: tests plugins: timeout-2.3.1, xdist-3.5.0 timeout: 30.0s timeout method: thread timeout func_only: False created: 8/8 workers 8 workers [1216 items] ........................................................................ [ 5%] ........................................................................ [ 11%] ....................................................................s..s [ 17%] s....................................................................... [ 23%] ........................................................................ [ 29%] ........................................................................ [ 35%] ........................................................................ [ 41%] ........................................................................ [ 47%] ........................................................................ [ 53%] ........................................................................ [ 59%] .....................................s............s.......s.FE.........s [ 65%] ...FEs..........................Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given [gw3] node down: Not properly terminated F replacing crashed worker gw3 ................................................FE....Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given [gw1] node down: Not properly terminated F replacing crashed worker gw1 ..sss....F.E..............................Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given [gw0] node down: Not properly terminated F replacing crashed worker gw0 ..............sss.......F.E...........FE.......FE..FE............FE..... [ 80%] ..............................s.ssss.s.sssssssss...s.sss..ssss.s........ [ 86%] ......................................................................... [ 92%] ........................................................................ [ 98%] .............. ==================================== ERRORS ==================================== _ ERROR at teardown of test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] _ [gw5] linux -- Python 3.11.9 /usr/bin/python3.11 request = > long_tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw5/test_success_exitcodes__break_11') @pytest.fixture(autouse=True) def test_wrapper(request, long_tmpdir): def write_log(filename, data): filename = os.path.join(log.log_dir, filename) if not isinstance(data, bytes): data = data.encode("utf-8") with open(filename, "wb") as f: f.write(data) session.Session.reset_counter() session.Session.tmpdir = long_tmpdir original_log_dir = log.log_dir failed = True try: if log.log_dir is None: log.log_dir = (long_tmpdir / "debugpy_logs").strpath else: log_subdir = request.node.nodeid log_subdir = log_subdir.replace("::", "/") for ch in r":?*|<>": log_subdir = log_subdir.replace(ch, f"&#{ord(ch)};") log.log_dir += "/" + log_subdir try: py.path.local(log.log_dir).remove() except Exception: pass print("\n") # make sure on-screen logs start on a new line with log.to_file(prefix="tests"): timestamp.reset() log.info("{0} started.", request.node.nodeid) log.describe_environment("Environment:") try: yield finally: failed = False for report_attr in ("setup_report", "call_report", "teardown_report"): try: report = getattr(request.node, report_attr) except AttributeError: continue failed |= report.failed log.write_format( "error" if report.failed else "info", "pytest {0} phase for {1} {2}.", report.when, request.node.nodeid, report.outcome, ) write_log(report_attr + ".log", report.longreprtext) write_log(report_attr + ".stdout.log", report.capstdout) write_log(report_attr + ".stderr.log", report.capstderr) if failed: write_log("FAILED.log", "") > logs.dump() tests/pytest_fixtures.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dump(): if log.log_dir is None: return log.info("Dumping logs from {0}", json.repr(log.log_dir)) for dirpath, dirnames, filenames in os.walk(log.log_dir): for name in sorted(filenames): if not name.startswith("debugpy") and not name.startswith("pydevd"): continue try: path = os.path.join(dirpath, name) with io.open(path, encoding="utf-8", errors="backslashreplace") as f: s = f.read() except Exception: pass else: path = os.path.relpath(path, log.log_dir) > pytest_timeout.write_title(path) E AttributeError: module 'pytest_timeout' has no attribute 'write_title' tests/logs.py:30: AttributeError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+18.312: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/tests-27626.log". I+00.000: tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] started. I+00.902: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+00.909: Starting Session[1] I+00.975: Attaching Session[1] to module code_to_debug by PID. I+00.976: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]" I+00.977: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "-m", "code_to_debug", "3" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/tmp/pytest-of-pbuilder1/pytest-1/popen-gw5/test_success_exitcodes__break_11:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw5/test_success_exitcodes__break_11/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+00.999: Spawned Debuggee[1] with PID=29363 D+01.010: watchdog-27626 <-- ['register_spawn', 29363, 'Debuggee[1]'] D+01.012: watchdog-27626 --> ['ok'] I+01.012: Capturing Debuggee[1] stderr I+01.034: Capturing Debuggee[1] stdout I+01.060: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]/pydevd.log" } I+01.075: Spawned Adapter[1] with PID=29368 D+01.094: watchdog-27626 <-- ['register_spawn', 29368, 'Adapter[1]'] D+01.095: watchdog-27626 --> ['ok'] D+01.114: Starting message loop for channel Adapter[1] I+01.120: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+05.005: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+05.015: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+05.019: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+05.039: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+05.042: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+05.044: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} I+05.055: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+05.058: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "breakOnSystemExitZero": true, "django": false, "module": "code_to_debug", "args": [ "3" ], "processId": 29363, "debugOptions": [ "ShowReturnValue", "BreakOnSystemExitZero" ] } } I+05.059: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+05.120: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 36149 } } D+06.123: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 1.00s).\n" } } D+07.125: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 2.00s).\n" } } D+08.127: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 3.01s).\n" } } D+09.132: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 4.01s).\n" } } D+10.135: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 5.02s).\n" } } D+11.140: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 6.02s).\n" } } D+12.147: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 7.03s).\n" } } D+13.151: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 8.03s).\n" } } D+14.151: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 9.03s).\n" } } D+15.155: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 10.03s).\n" } } D+15.155: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+15.156: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+15.157: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+15.157: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+15.158: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+15.222: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+15.223: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+15.224: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+15.224: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+15.225: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+15.225: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 29363 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 29363 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 51, 54, 49, 52, 57, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 50, 48, 50, 54, 53, 100, 98, 97, 98, 97, 54, 54, 48, 53, 50, 97, 54, 98, 55, 48, 49, 51, 98, 101, 57, 48, 51, 57, 97, 56, 101, 56, 52, 48, 97, 57, 49, 52, 50, 98, 102, 101, 57, 97, 53, 50, 100, 50, 102, 51, 48, 100, 56, 98, 101, 48, 48, 56, 100, 100, 102, 48, 49, 101, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf7c9cb04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n$1 = (void *) 0x1675670\n" } } D+16.187: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 11.07s).\n" } } D+17.192: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 12.07s).\n" } } D+18.193: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 13.07s).\n" } } D+19.194: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 14.07s).\n" } } D+19.195: Adapter[1] --> { "seq": 30, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[Detaching after vfork from child process 29912]\n" } } D+20.167: Adapter[1] --> { "seq": 31, "type": "response", "request_seq": 2, "success": false, "command": "attach", "message": "Timed out waiting for debug server to connect." } D+20.219: Adapter[1] --> { "seq": 32, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 15.09s).\n" } } D+20.220: Adapter[1] --> { "seq": 33, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[New Thread 0xf6c51420 (LWP 29949)]\n[New Thread 0xf62ff420 (LWP 29951)]\n" } } I+20.265: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 31, "type": "response", "command": "attach", "request_seq": 2} I+20.265: Ending Session[1]. E+20.343: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_exception.py", line 321, in test_success_exitcodes with run(session, target(code_to_debug, args=[repr(exit_code)])): File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 202, in attach_pid with session.request_attach(): ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 638, in request_attach return self._request_start("attach") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_exception.py", line 316, in test_success_exitcodes with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+20.343: Killing Adapter[1]. I+20.344: Killing Debuggee[1]. D+20.344: Closing Adapter[1] message stream D+20.365: Exiting message loop for channel Adapter[1]: No more messages I+20.402: Waiting for Adapter[1] to close listener ports ... I+20.403: Waiting for Adapter[1] with PID=29368 to exit. D+20.426: watchdog-27626 <-- ['unregister_spawn', 29368, 'Adapter[1]'] D+20.427: watchdog-27626 --> ['ok'] --------------------------- Captured stderr teardown --------------------------- I+26.199: pytest setup phase for tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] passed. E+26.200: pytest call phase for tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] failed. I+26.240: Dumping logs from "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]" I+26.241: Not logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/tests-27626.log" anymore. _____ ERROR at teardown of test_success_exitcodes[--3-attach_pid-program] ______ [gw2] linux -- Python 3.11.9 /usr/bin/python3.11 request = > long_tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw2/test_success_exitcodes___3_att8') @pytest.fixture(autouse=True) def test_wrapper(request, long_tmpdir): def write_log(filename, data): filename = os.path.join(log.log_dir, filename) if not isinstance(data, bytes): data = data.encode("utf-8") with open(filename, "wb") as f: f.write(data) session.Session.reset_counter() session.Session.tmpdir = long_tmpdir original_log_dir = log.log_dir failed = True try: if log.log_dir is None: log.log_dir = (long_tmpdir / "debugpy_logs").strpath else: log_subdir = request.node.nodeid log_subdir = log_subdir.replace("::", "/") for ch in r":?*|<>": log_subdir = log_subdir.replace(ch, f"&#{ord(ch)};") log.log_dir += "/" + log_subdir try: py.path.local(log.log_dir).remove() except Exception: pass print("\n") # make sure on-screen logs start on a new line with log.to_file(prefix="tests"): timestamp.reset() log.info("{0} started.", request.node.nodeid) log.describe_environment("Environment:") try: yield finally: failed = False for report_attr in ("setup_report", "call_report", "teardown_report"): try: report = getattr(request.node, report_attr) except AttributeError: continue failed |= report.failed log.write_format( "error" if report.failed else "info", "pytest {0} phase for {1} {2}.", report.when, request.node.nodeid, report.outcome, ) write_log(report_attr + ".log", report.longreprtext) write_log(report_attr + ".stdout.log", report.capstdout) write_log(report_attr + ".stderr.log", report.capstderr) if failed: write_log("FAILED.log", "") > logs.dump() tests/pytest_fixtures.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dump(): if log.log_dir is None: return log.info("Dumping logs from {0}", json.repr(log.log_dir)) for dirpath, dirnames, filenames in os.walk(log.log_dir): for name in sorted(filenames): if not name.startswith("debugpy") and not name.startswith("pydevd"): continue try: path = os.path.join(dirpath, name) with io.open(path, encoding="utf-8", errors="backslashreplace") as f: s = f.read() except Exception: pass else: path = os.path.relpath(path, log.log_dir) > pytest_timeout.write_title(path) E AttributeError: module 'pytest_timeout' has no attribute 'write_title' tests/logs.py:30: AttributeError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+19.712: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/tests-27523.log". I+00.000: tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] started. I+01.193: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.236: Starting Session[1] I+01.267: Attaching Session[1] to program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw2/test_success_exitcodes___3_att8/code_to_debug.py" by PID. I+01.276: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]" I+01.278: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw2/test_success_exitcodes___3_att8/code_to_debug.py", "3" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw2", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw2/test_success_exitcodes___3_att8/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+01.314: Spawned Debuggee[1] with PID=30269 D+01.350: watchdog-27523 <-- ['register_spawn', 30269, 'Debuggee[1]'] D+01.351: watchdog-27523 --> ['ok'] I+01.351: Capturing Debuggee[1] stderr I+01.398: Capturing Debuggee[1] stdout I+01.419: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw2", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]/pydevd.log" } I+01.458: Spawned Adapter[1] with PID=30277 D+01.466: watchdog-27523 <-- ['register_spawn', 30277, 'Adapter[1]'] D+01.467: watchdog-27523 --> ['ok'] D+01.479: Starting message loop for channel Adapter[1] I+01.480: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.724: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.738: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.749: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.770: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+04.772: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+04.793: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+04.795: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+04.796: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "breakOnSystemExitZero": false, "django": false, "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw2/test_success_exitcodes___3_att8/code_to_debug.py", "args": [ "3" ], "processId": 30269, "debugOptions": [ "ShowReturnValue" ] } } I+04.811: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+04.891: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 53243 } } D+05.895: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 1.00s).\n" } } D+06.899: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 2.01s).\n" } } D+07.903: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 3.01s).\n" } } D+08.907: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 4.02s).\n" } } D+09.911: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 5.02s).\n" } } D+10.915: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 6.02s).\n" } } D+11.916: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 7.02s).\n" } } D+12.927: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 8.04s).\n" } } D+13.943: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 9.05s).\n" } } D+14.950: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 10.06s).\n" } } D+14.951: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+14.951: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+14.952: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+14.952: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+14.953: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+14.953: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+15.002: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+15.004: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+15.004: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+15.005: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+15.005: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 30269 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 30269 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 53, 51, 50, 52, 51, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 99, 100, 99, 49, 50, 51, 55, 57, 51, 100, 51, 98, 48, 98, 49, 100, 99, 57, 98, 97, 57, 101, 55, 54, 48, 54, 99, 57, 57, 57, 48, 48, 53, 49, 51, 50, 49, 52, 57, 52, 54, 100, 52, 101, 101, 99, 55, 52, 100, 100, 99, 49, 48, 48, 50, 97, 99, 99, 56, 57, 100, 99, 51, 57, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf76c0b04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n" } } D+15.983: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 11.09s).\n" } } D+15.984: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stderr", "output": "$1 = (void *) 0xfada48\n" } } D+16.987: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 12.10s).\n" } } D+17.991: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 13.10s).\n" } } D+18.994: Adapter[1] --> { "seq": 30, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 14.10s).\n" } } D+19.006: Adapter[1] --> { "seq": 31, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[Detaching after vfork from child process 30696]\n" } } D+19.978: Adapter[1] --> { "seq": 32, "type": "response", "request_seq": 2, "success": false, "command": "attach", "message": "Timed out waiting for debug server to connect." } D+20.026: Adapter[1] --> { "seq": 33, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 15.13s).\n" } } I+20.113: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 32, "type": "response", "command": "attach", "request_seq": 2} I+20.130: Ending Session[1]. E+20.188: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_exception.py", line 321, in test_success_exitcodes with run(session, target(code_to_debug, args=[repr(exit_code)])): File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 202, in attach_pid with session.request_attach(): ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 638, in request_attach return self._request_start("attach") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_exception.py", line 316, in test_success_exitcodes with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+20.188: Killing Adapter[1]. I+20.189: Killing Debuggee[1]. D+20.190: Closing Adapter[1] message stream D+20.209: Exiting message loop for channel Adapter[1]: No more messages I+20.211: Waiting for Adapter[1] to close listener ports ... I+20.211: Waiting for Adapter[1] with PID=30277 to exit. D+20.215: watchdog-27523 <-- ['unregister_spawn', 30277, 'Adapter[1]'] D+20.216: watchdog-27523 --> ['ok'] --------------------------- Captured stderr teardown --------------------------- I+23.451: pytest setup phase for tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] passed. E+23.452: pytest call phase for tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] failed. I+23.475: Dumping logs from "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]" I+23.476: Not logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/tests-27523.log" anymore. _________ ERROR at teardown of test_with_no_output[program-attach_pid] _________ [gw6] linux -- Python 3.11.9 /usr/bin/python3.11 request = > long_tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_with_no_output_program_at0') @pytest.fixture(autouse=True) def test_wrapper(request, long_tmpdir): def write_log(filename, data): filename = os.path.join(log.log_dir, filename) if not isinstance(data, bytes): data = data.encode("utf-8") with open(filename, "wb") as f: f.write(data) session.Session.reset_counter() session.Session.tmpdir = long_tmpdir original_log_dir = log.log_dir failed = True try: if log.log_dir is None: log.log_dir = (long_tmpdir / "debugpy_logs").strpath else: log_subdir = request.node.nodeid log_subdir = log_subdir.replace("::", "/") for ch in r":?*|<>": log_subdir = log_subdir.replace(ch, f"&#{ord(ch)};") log.log_dir += "/" + log_subdir try: py.path.local(log.log_dir).remove() except Exception: pass print("\n") # make sure on-screen logs start on a new line with log.to_file(prefix="tests"): timestamp.reset() log.info("{0} started.", request.node.nodeid) log.describe_environment("Environment:") try: yield finally: failed = False for report_attr in ("setup_report", "call_report", "teardown_report"): try: report = getattr(request.node, report_attr) except AttributeError: continue failed |= report.failed log.write_format( "error" if report.failed else "info", "pytest {0} phase for {1} {2}.", report.when, request.node.nodeid, report.outcome, ) write_log(report_attr + ".log", report.longreprtext) write_log(report_attr + ".stdout.log", report.capstdout) write_log(report_attr + ".stderr.log", report.capstderr) if failed: write_log("FAILED.log", "") > logs.dump() tests/pytest_fixtures.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dump(): if log.log_dir is None: return log.info("Dumping logs from {0}", json.repr(log.log_dir)) for dirpath, dirnames, filenames in os.walk(log.log_dir): for name in sorted(filenames): if not name.startswith("debugpy") and not name.startswith("pydevd"): continue try: path = os.path.join(dirpath, name) with io.open(path, encoding="utf-8", errors="backslashreplace") as f: s = f.read() except Exception: pass else: path = os.path.relpath(path, log.log_dir) > pytest_timeout.write_title(path) E AttributeError: module 'pytest_timeout' has no attribute 'write_title' tests/logs.py:30: AttributeError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+13.996: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/tests-27663.log". I+00.000: tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] started. I+01.103: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.128: Starting Session[1] I+01.158: Attaching Session[1] to program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_with_no_output_program_at0/code_to_debug.py" by PID. I+01.159: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]" I+01.160: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_with_no_output_program_at0/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_with_no_output_program_at0/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+01.198: Spawned Debuggee[1] with PID=2303 D+01.209: watchdog-27663 <-- ['register_spawn', 2303, 'Debuggee[1]'] D+01.210: watchdog-27663 --> ['ok'] I+01.211: Capturing Debuggee[1] stderr I+01.225: Capturing Debuggee[1] stdout I+01.243: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]/pydevd.log" } I+01.274: Spawned Adapter[1] with PID=2307 D+01.301: watchdog-27663 <-- ['register_spawn', 2307, 'Adapter[1]'] D+01.302: watchdog-27663 --> ['ok'] D+01.319: Starting message loop for channel Adapter[1] I+01.321: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.959: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.982: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.994: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.995: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+05.038: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+05.042: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+05.044: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+05.044: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "redirectOutput": true, "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_with_no_output_program_at0/code_to_debug.py", "args": [], "processId": 2303, "debugOptions": [ "ShowReturnValue", "RedirectOutput" ] } } I+05.066: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+05.131: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 47983 } } D+06.142: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 1.01s).\n" } } D+07.146: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 2.02s).\n" } } D+08.151: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 3.02s).\n" } } D+09.158: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 4.03s).\n" } } D+10.166: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 5.04s).\n" } } D+11.174: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 6.04s).\n" } } D+12.185: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 7.05s).\n" } } D+13.191: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 8.06s).\n" } } D+14.198: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 9.07s).\n" } } D+15.206: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 10.07s).\n" } } D+15.206: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+15.207: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+15.208: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+15.208: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+15.209: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+15.278: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+15.279: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+15.280: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+15.280: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+15.281: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+15.317: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 2303 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 2303 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 52, 55, 57, 56, 51, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 54, 98, 101, 51, 49, 100, 49, 48, 51, 50, 56, 48, 53, 56, 99, 54, 99, 50, 51, 49, 51, 57, 99, 50, 50, 52, 98, 101, 50, 48, 51, 52, 99, 102, 100, 57, 102, 99, 48, 57, 100, 97, 53, 98, 57, 53, 51, 101, 54, 56, 54, 53, 56, 50, 98, 56, 56, 100, 50, 100, 48, 102, 54, 50, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf7e07b04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n$1 = (void *) 0xaeb9e8\n" } } D+16.242: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 11.11s).\n" } } D+17.248: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 12.12s).\n" } } D+18.258: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 13.13s).\n" } } D+19.262: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 14.13s).\n" } } D+20.217: Adapter[1] --> { "seq": 30, "type": "response", "request_seq": 2, "success": false, "command": "attach", "message": "Timed out waiting for debug server to connect." } D+20.326: Adapter[1] --> { "seq": 31, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 15.18s).\n" } } I+20.358: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 30, "type": "response", "command": "attach", "request_seq": 2} I+20.359: Ending Session[1]. E+20.453: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_output.py", line 29, in test_with_no_output with run(session, target(code_to_debug)): File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 202, in attach_pid with session.request_attach(): ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 638, in request_attach return self._request_start("attach") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_output.py", line 26, in test_with_no_output with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+20.486: Killing Adapter[1]. I+20.486: Killing Debuggee[1]. D+20.487: Closing Adapter[1] message stream D+20.509: Exiting message loop for channel Adapter[1]: No more messages I+20.510: Waiting for Adapter[1] to close listener ports ... I+20.511: Waiting for Adapter[1] with PID=2307 to exit. D+20.512: watchdog-27663 <-- ['unregister_spawn', 2307, 'Adapter[1]'] D+20.512: watchdog-27663 --> ['ok'] --------------------------- Captured stderr teardown --------------------------- I+24.618: pytest setup phase for tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] passed. E+24.619: pytest call phase for tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] failed. I+24.643: Dumping logs from "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]" I+24.644: Not logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/tests-27663.log" anymore. ____ ERROR at teardown of test_redirect_output[program-disabled-attach_pid] ____ [gw8] linux -- Python 3.11.9 /usr/bin/python3.11 request = > long_tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6') @pytest.fixture(autouse=True) def test_wrapper(request, long_tmpdir): def write_log(filename, data): filename = os.path.join(log.log_dir, filename) if not isinstance(data, bytes): data = data.encode("utf-8") with open(filename, "wb") as f: f.write(data) session.Session.reset_counter() session.Session.tmpdir = long_tmpdir original_log_dir = log.log_dir failed = True try: if log.log_dir is None: log.log_dir = (long_tmpdir / "debugpy_logs").strpath else: log_subdir = request.node.nodeid log_subdir = log_subdir.replace("::", "/") for ch in r":?*|<>": log_subdir = log_subdir.replace(ch, f"&#{ord(ch)};") log.log_dir += "/" + log_subdir try: py.path.local(log.log_dir).remove() except Exception: pass print("\n") # make sure on-screen logs start on a new line with log.to_file(prefix="tests"): timestamp.reset() log.info("{0} started.", request.node.nodeid) log.describe_environment("Environment:") try: yield finally: failed = False for report_attr in ("setup_report", "call_report", "teardown_report"): try: report = getattr(request.node, report_attr) except AttributeError: continue failed |= report.failed log.write_format( "error" if report.failed else "info", "pytest {0} phase for {1} {2}.", report.when, request.node.nodeid, report.outcome, ) write_log(report_attr + ".log", report.longreprtext) write_log(report_attr + ".stdout.log", report.capstdout) write_log(report_attr + ".stderr.log", report.capstderr) if failed: write_log("FAILED.log", "") > logs.dump() tests/pytest_fixtures.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dump(): if log.log_dir is None: return log.info("Dumping logs from {0}", json.repr(log.log_dir)) for dirpath, dirnames, filenames in os.walk(log.log_dir): for name in sorted(filenames): if not name.startswith("debugpy") and not name.startswith("pydevd"): continue try: path = os.path.join(dirpath, name) with io.open(path, encoding="utf-8", errors="backslashreplace") as f: s = f.read() except Exception: pass else: path = os.path.relpath(path, log.log_dir) > pytest_timeout.write_title(path) E AttributeError: module 'pytest_timeout' has no attribute 'write_title' tests/logs.py:30: AttributeError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+17.861: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/tests-32374.log". I+00.000: tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] started. I+01.147: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.177: Starting Session[1] I+01.199: Attaching Session[1] to program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py" by PID. I+01.200: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]" I+01.218: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+01.243: Spawned Debuggee[1] with PID=2830 D+01.265: watchdog-32374 <-- ['register_spawn', 2830, 'Debuggee[1]'] D+01.267: watchdog-32374 --> ['ok'] I+01.267: Capturing Debuggee[1] stdout I+01.294: Capturing Debuggee[1] stderr I+01.299: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]/pydevd.log" } I+01.342: Spawned Adapter[1] with PID=2836 D+01.346: watchdog-32374 <-- ['register_spawn', 2836, 'Adapter[1]'] D+01.348: watchdog-32374 --> ['ok'] D+01.358: Starting message loop for channel Adapter[1] I+01.360: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.473: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.483: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.490: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.491: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+04.493: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+04.505: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+04.517: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+04.518: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "redirectOutput": false, "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py", "args": [], "processId": 2830, "debugOptions": [ "ShowReturnValue" ] } } I+04.528: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+04.599: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 42587 } } D+05.599: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 1.00s).\n" } } D+06.603: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 2.00s).\n" } } D+07.607: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 3.01s).\n" } } D+08.611: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 4.01s).\n" } } D+09.611: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 5.02s).\n" } } D+10.615: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 6.02s).\n" } } D+11.620: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 7.02s).\n" } } D+12.620: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 8.02s).\n" } } D+13.623: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 9.03s).\n" } } D+14.631: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 10.03s).\n" } } D+14.631: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+14.632: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+14.632: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+14.633: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+14.633: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+14.634: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+14.659: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+14.659: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+14.660: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+14.661: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+14.662: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 2830 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 2830 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 52, 50, 53, 56, 55, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 98, 102, 54, 99, 54, 101, 99, 57, 48, 49, 99, 54, 52, 52, 56, 50, 54, 54, 53, 101, 97, 48, 50, 99, 101, 54, 99, 51, 101, 54, 52, 97, 98, 52, 49, 99, 53, 48, 100, 52, 101, 100, 55, 57, 49, 48, 55, 49, 56, 51, 101, 52, 49, 49, 53, 100, 53, 100, 50, 100, 57, 97, 97, 55, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf7d2eb04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n$1 = (void *) 0x21cd9e8\n" } } D+15.668: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 11.07s).\n" } } D+15.668: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[Detaching after vfork from child process 3241]\n" } } D+16.671: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 12.08s).\n" } } D+16.672: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[New Thread 0xf6ce3420 (LWP 3293)]\n[New Thread 0xf62ff420 (LWP 3294)]\n" } } D+16.727: Adapter[1] --> { "seq": 30, "type": "event", "event": "initialized" } I+16.786: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 30, "type": "event", "event": "initialized"} D+16.876: Adapter[1] <-- { "seq": 3, "type": "request", "command": "setBreakpoints", "arguments": { "source": { "path": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py" }, "breakpoints": [ { "line": 7 } ] } } D+16.883: Adapter[1] --> { "seq": 31, "type": "response", "request_seq": 3, "success": true, "command": "setBreakpoints", "body": { "breakpoints": [ { "verified": true, "id": 0, "source": { "path": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py" }, "line": 7 } ] } } I+16.891: Waiting for {..., "type": "response", "command": "setBreakpoints", "request_seq": 3, ...} I+17.010: Realized {..., "type": "response", "command": "setBreakpoints", "request_seq": 3, ...} == {"seq": 31, "type": "response", "command": "setBreakpoints", "request_seq": 3} I+17.010: Breakpoints set in /tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py: 7 (@wait_for_output) D+17.043: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+17.046: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} D+17.083: Adapter[1] --> { "seq": 32, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+17.083: Adapter[1] --> { "seq": 33, "type": "response", "request_seq": 2, "success": true, "command": "attach" } D+17.084: Adapter[1] --> { "seq": 34, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py", "systemProcessId": 2830, "isLocalProcess": true, "startMethod": "attach" } } D+17.084: Adapter[1] --> { "seq": 35, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } I+17.227: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 32, "type": "response", "command": "configurationDone", "request_seq": 4} I+17.227: Waiting for {..., "type": "response", "command": "attach", "request_seq": 2, ...} I+17.334: Realized {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 33, "type": "response", "command": "attach", "request_seq": 2} I+17.358: Waiting for next {..., "type": "event", "event": "process", ...} I+17.465: Realized ( {"seq": 31, "type": "response", "command": "setBreakpoints", "request_seq": 3} >> {..., "type": "event", "event": "process", ...} ): where {..., "type": "event", "event": "process", ...} == {"seq": 34, "type": "event", "event": "process"} I+17.465: Session[1] debuggee.scratchpad['_attach_pid'] = True D+17.482: Adapter[1] <-- { "seq": 5, "type": "request", "command": "evaluate", "arguments": { "context": "repl", "expression": "sys.modules['debuggee'].scratchpad['_attach_pid'] = True" } } I+17.502: Waiting for {..., "type": "response", "command": "evaluate", "request_seq": 5, ...} D+17.551: Adapter[1] --> { "seq": 36, "type": "response", "request_seq": 5, "success": true, "command": "evaluate", "body": { "result": "", "variablesReference": 0, "presentationHint": {} } } D+17.552: Adapter[1] --> { "seq": 37, "type": "event", "event": "stopped", "body": { "reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true } } I+17.552: Debuggee[1] stdout: b'111\n' b'222\n' I+17.552: Debuggee[1] stdout: b'333\n' b'444\n' I+17.673: Realized {..., "type": "response", "command": "evaluate", "request_seq": 5, ...} == {"seq": 36, "type": "response", "command": "evaluate", "request_seq": 5} I+17.674: Waiting for next {..., "type": "event", "event": "stopped", ...} D+17.691: Adapter[1] --> { "seq": 38, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 13.08s).\n" } } D+17.691: Adapter[1] --> { "seq": 39, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[New Thread 0xf58ff420 (LWP 3296)]\n[New Thread 0xf4eff420 (LWP 3297)]\n[New Thread 0xf44ff420 (LWP 3298)]\n[Thread 0xf44ff420 (LWP 3298) exited]\n[New Thread 0xf44ff420 (LWP 3299)]\n[Thread 0xf44ff420 (LWP 3299) exited]\n[New Thread 0xf44ff420 (LWP 3300)]\n[Thread 0xf44ff420 (LWP 3300) exited]\n[New Thread 0xf44ff420 (LWP 3301)]\n[Thread 0xf44ff420 (LWP 3301) exited]\n[New Thread 0xf44ff420 (LWP 3302)]\n[Thread 0xf44ff420 (LWP 3302) exited]\n[New Thread 0xf44ff420 (LWP 3303)]\n[Thread 0xf44ff420 (LWP 3303) exited]\n[New Thread 0xf44ff420 (LWP 3304)]\n[Thread 0xf44ff420 (LWP 3304) exited]\n$2 = 0\n[Inferior 1 (process 2830) detached]\n" } } I+17.811: Realized ({"seq": 35, "type": "event", "event": "thread"} >> {..., "type": "event", "event": "stopped", ...}): where {..., "type": "event", "event": "stopped", ...} == {"seq": 37, "type": "event", "event": "stopped"} D+17.812: Adapter[1] <-- { "seq": 6, "type": "request", "command": "stackTrace", "arguments": { "threadId": 1 } } D+17.835: Adapter[1] --> { "seq": 40, "type": "response", "request_seq": 6, "success": true, "command": "stackTrace", "body": { "stackFrames": [ { "id": 2, "name": "", "line": 7, "column": 1, "source": { "path": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py", "sourceReference": 0 } } ], "totalFrames": 1 } } D+17.836: Adapter[1] --> { "seq": 41, "type": "event", "event": "module", "body": { "reason": "new", "module": { "id": 0, "name": "__main__", "path": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py", "package": "None" } } } I+17.847: Waiting for {..., "type": "response", "command": "stackTrace", "request_seq": 6, ...} I+18.049: Realized {..., "type": "response", "command": "stackTrace", "request_seq": 6, ...} == {"seq": 40, "type": "response", "command": "stackTrace", "request_seq": 6} D+18.080: Adapter[1] <-- { "seq": 7, "type": "request", "command": "continue" } I+18.103: Waiting for {..., "type": "response", "command": "continue", "request_seq": 7, ...} D+18.136: Adapter[1] --> { "seq": 42, "type": "response", "request_seq": 7, "success": true, "command": "continue", "body": { "allThreadsContinued": true } } D+18.137: Adapter[1] --> { "seq": 43, "type": "event", "event": "continued", "body": { "threadId": 1, "allThreadsContinued": true } } D+18.138: Adapter[1] --> { "seq": 44, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+18.171: Adapter[1] --> { "seq": 45, "type": "event", "event": "terminated" } I+18.373: Realized {..., "type": "response", "command": "continue", "request_seq": 7, ...} == {"seq": 42, "type": "response", "command": "continue", "request_seq": 7} I+18.373: Ending Session[1]. I+18.373: Waiting for Debuggee[1] to exit ... D+18.695: Adapter[1] --> { "seq": 46, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 14.09s).\n" } } D+19.658: watchdog-32374 <-- ['unregister_spawn', 2830, 'Debuggee[1]'] D+19.659: watchdog-32374 --> ['ok'] I+19.660: Waiting for {..., "type": "event", "event": "terminated", ...} I+19.800: Realized {..., "type": "event", "event": "terminated", ...} == {"seq": 45, "type": "event", "event": "terminated"} D+19.801: Adapter[1] <-- { "seq": 8, "type": "request", "command": "disconnect" } D+19.803: Adapter[1] --> { "seq": 47, "type": "response", "request_seq": 8, "success": true, "command": "disconnect" } I+19.803: Waiting for {..., "type": "response", "command": "disconnect", "request_seq": 8, ...} I+19.804: /handling #47 response to 8 request "disconnect" to Adapter[1]/ Received "disconnect" response from Adapter[1]; stopping message processing. D+19.830: /handling #47 response to 8 request "disconnect" to Adapter[1]/ Closing Adapter[1] message stream I+19.983: Realized {..., "type": "response", "command": "disconnect", "request_seq": 8, ...} == {"seq": 47, "type": "response", "command": "disconnect", "request_seq": 8} I+19.983: Waiting for {..., "type": "event", "event": "terminated", ...} I+20.108: Realized {..., "type": "event", "event": "terminated", ...} == {"seq": 45, "type": "event", "event": "terminated"} D+20.257: Exiting message loop for channel Adapter[1]: No more messages I+20.258: Finalizing timeline... I+20.335: Waiting for Adapter[1] to close listener ports ... I+20.336: Waiting for Adapter[1] with PID=2836 to exit. D+20.346: watchdog-32374 <-- ['unregister_spawn', 2836, 'Adapter[1]'] D+20.354: watchdog-32374 --> ['ok'] --------------------------- Captured stderr teardown --------------------------- I+21.403: pytest setup phase for tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] passed. E+21.404: pytest call phase for tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] failed. I+21.418: Dumping logs from "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]" I+21.419: Not logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/tests-32374.log" anymore. _ ERROR at teardown of test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] _ [gw10] linux -- Python 3.11.9 /usr/bin/python3.11 request = > long_tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0') @pytest.fixture(autouse=True) def test_wrapper(request, long_tmpdir): def write_log(filename, data): filename = os.path.join(log.log_dir, filename) if not isinstance(data, bytes): data = data.encode("utf-8") with open(filename, "wb") as f: f.write(data) session.Session.reset_counter() session.Session.tmpdir = long_tmpdir original_log_dir = log.log_dir failed = True try: if log.log_dir is None: log.log_dir = (long_tmpdir / "debugpy_logs").strpath else: log_subdir = request.node.nodeid log_subdir = log_subdir.replace("::", "/") for ch in r":?*|<>": log_subdir = log_subdir.replace(ch, f"&#{ord(ch)};") log.log_dir += "/" + log_subdir try: py.path.local(log.log_dir).remove() except Exception: pass print("\n") # make sure on-screen logs start on a new line with log.to_file(prefix="tests"): timestamp.reset() log.info("{0} started.", request.node.nodeid) log.describe_environment("Environment:") try: yield finally: failed = False for report_attr in ("setup_report", "call_report", "teardown_report"): try: report = getattr(request.node, report_attr) except AttributeError: continue failed |= report.failed log.write_format( "error" if report.failed else "info", "pytest {0} phase for {1} {2}.", report.when, request.node.nodeid, report.outcome, ) write_log(report_attr + ".log", report.longreprtext) write_log(report_attr + ".stdout.log", report.capstdout) write_log(report_attr + ".stderr.log", report.capstderr) if failed: write_log("FAILED.log", "") > logs.dump() tests/pytest_fixtures.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dump(): if log.log_dir is None: return log.info("Dumping logs from {0}", json.repr(log.log_dir)) for dirpath, dirnames, filenames in os.walk(log.log_dir): for name in sorted(filenames): if not name.startswith("debugpy") and not name.startswith("pydevd"): continue try: path = os.path.join(dirpath, name) with io.open(path, encoding="utf-8", errors="backslashreplace") as f: s = f.read() except Exception: pass else: path = os.path.relpath(path, log.log_dir) > pytest_timeout.write_title(path) E AttributeError: module 'pytest_timeout' has no attribute 'write_title' tests/logs.py:30: AttributeError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+13.003: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/tests-5597.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] started. I+00.756: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+00.886: Spawning watchdog-5597 for tests-5597: '/usr/bin/python3.11' '/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/watchdog/worker.py' '5597' D+02.390: watchdog-5597 --> ['watchdog', None] I+02.390: Starting Session[1] I+02.427: Listening for incoming connection from BackChannel[1] on port 53725... I+02.427: Launching program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/code_to_debug.py" in Session[1] using "externalTerminal". I+02.439: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" I+02.441: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "53725" } I+02.463: Spawned Adapter[1] with PID=6150 D+02.483: watchdog-5597 <-- ['register_spawn', 6150, 'Adapter[1]'] D+02.487: watchdog-5597 --> ['ok'] D+02.502: Starting message loop for channel Adapter[1] I+02.507: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.579: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.607: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.630: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.632: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+04.639: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+04.644: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+04.646: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+04.647: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/custompy.sh", "-O" ], "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+04.659: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+04.676: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "53145", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0" } } I+04.678: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0" Command line: [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "53145", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "53725", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/Session[1]/adapter_endpoints" } I+04.689: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=6196 D+04.714: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 <-- ['register_spawn', 6196, 'Debuggee[1]'] D+04.716: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 --> ['ok'] I+04.716: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout I+04.731: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr D+04.739: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+22.327: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 2, "success": false, "command": "launch", "message": "Timed out waiting for debuggee to spawn" } I+22.334: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 5, "type": "response", "command": "launch", "request_seq": 2} I+22.334: Ending Session[1]. E+22.362: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 280, in test_custom_python_args with run(session, target(code_to_debug)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 82, in __call__ return f(session, target, *self._args, **self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 148, in launch return session.request_launch() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 635, in request_launch return self._request_start("launch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 271, in test_custom_python_args with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+22.363: Killing Adapter[1]. I+22.363: Killing Debuggee[1]. D+22.364: Closing Adapter[1] message stream D+22.377: Exiting message loop for channel Adapter[1]: No more messages I+22.381: Waiting for Adapter[1] to close listener ports ... I+22.381: Waiting for Adapter[1] with PID=6150 to exit. D+22.387: watchdog-5597 <-- ['unregister_spawn', 6150, 'Adapter[1]'] D+22.388: watchdog-5597 --> ['ok'] D+22.388: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+24.547: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] passed. E+24.548: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] failed. I+24.564: Dumping logs from "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]" I+24.565: Not logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/tests-5597.log" anymore. _ ERROR at teardown of test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] _ [gw10] linux -- Python 3.11.9 /usr/bin/python3.11 request = > long_tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra1') @pytest.fixture(autouse=True) def test_wrapper(request, long_tmpdir): def write_log(filename, data): filename = os.path.join(log.log_dir, filename) if not isinstance(data, bytes): data = data.encode("utf-8") with open(filename, "wb") as f: f.write(data) session.Session.reset_counter() session.Session.tmpdir = long_tmpdir original_log_dir = log.log_dir failed = True try: if log.log_dir is None: log.log_dir = (long_tmpdir / "debugpy_logs").strpath else: log_subdir = request.node.nodeid log_subdir = log_subdir.replace("::", "/") for ch in r":?*|<>": log_subdir = log_subdir.replace(ch, f"&#{ord(ch)};") log.log_dir += "/" + log_subdir try: py.path.local(log.log_dir).remove() except Exception: pass print("\n") # make sure on-screen logs start on a new line with log.to_file(prefix="tests"): timestamp.reset() log.info("{0} started.", request.node.nodeid) log.describe_environment("Environment:") try: yield finally: failed = False for report_attr in ("setup_report", "call_report", "teardown_report"): try: report = getattr(request.node, report_attr) except AttributeError: continue failed |= report.failed log.write_format( "error" if report.failed else "info", "pytest {0} phase for {1} {2}.", report.when, request.node.nodeid, report.outcome, ) write_log(report_attr + ".log", report.longreprtext) write_log(report_attr + ".stdout.log", report.capstdout) write_log(report_attr + ".stderr.log", report.capstderr) if failed: write_log("FAILED.log", "") > logs.dump() tests/pytest_fixtures.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dump(): if log.log_dir is None: return log.info("Dumping logs from {0}", json.repr(log.log_dir)) for dirpath, dirnames, filenames in os.walk(log.log_dir): for name in sorted(filenames): if not name.startswith("debugpy") and not name.startswith("pydevd"): continue try: path = os.path.join(dirpath, name) with io.open(path, encoding="utf-8", errors="backslashreplace") as f: s = f.read() except Exception: pass else: path = os.path.relpath(path, log.log_dir) > pytest_timeout.write_title(path) E AttributeError: module 'pytest_timeout' has no attribute 'write_title' tests/logs.py:30: AttributeError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+24.804: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]/tests-5597.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] started. I+00.680: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+00.702: Starting Session[1] I+00.762: Listening for incoming connection from BackChannel[1] on port 36925... I+00.763: Launching program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra1/code_to_debug.py" in Session[1] using "internalConsole". I+00.764: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]/Session[1]" I+00.765: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "36925" } I+00.819: Spawned Adapter[1] with PID=6998 D+00.831: watchdog-5597 <-- ['register_spawn', 6998, 'Adapter[1]'] D+00.832: watchdog-5597 --> ['ok'] D+00.866: Starting message loop for channel Adapter[1] I+00.871: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+02.556: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+02.587: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+02.613: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+02.614: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+02.621: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+02.637: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+02.644: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+02.645: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra1/custompy.sh", "-O" ], "pythonArgs": [ "-B" ], "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra1/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+02.651: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+19.859: Adapter[1] --> { "seq": 4, "type": "response", "request_seq": 2, "success": false, "command": "launch", "message": "Timed out waiting for debuggee to spawn" } I+19.873: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 4, "type": "response", "command": "launch", "request_seq": 2} I+19.874: Ending Session[1]. E+19.909: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 280, in test_custom_python_args with run(session, target(code_to_debug)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 82, in __call__ return f(session, target, *self._args, **self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 148, in launch return session.request_launch() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 635, in request_launch return self._request_start("launch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 271, in test_custom_python_args with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+19.910: Killing Adapter[1]. D+19.941: Closing Adapter[1] message stream D+19.945: Exiting message loop for channel Adapter[1]: No more messages I+19.946: Waiting for Adapter[1] with PID=6998 to exit. D+19.991: watchdog-5597 <-- ['unregister_spawn', 6998, 'Adapter[1]'] D+19.992: watchdog-5597 --> ['ok'] D+19.992: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+22.547: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] passed. E+22.548: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] failed. I+22.559: Dumping logs from "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]" I+22.559: Not logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]/tests-5597.log" anymore. ____ ERROR at teardown of test_redirect_output[program-enabled-attach_pid] _____ [gw6] linux -- Python 3.11.9 /usr/bin/python3.11 request = > long_tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_redirect_output_program_e7') @pytest.fixture(autouse=True) def test_wrapper(request, long_tmpdir): def write_log(filename, data): filename = os.path.join(log.log_dir, filename) if not isinstance(data, bytes): data = data.encode("utf-8") with open(filename, "wb") as f: f.write(data) session.Session.reset_counter() session.Session.tmpdir = long_tmpdir original_log_dir = log.log_dir failed = True try: if log.log_dir is None: log.log_dir = (long_tmpdir / "debugpy_logs").strpath else: log_subdir = request.node.nodeid log_subdir = log_subdir.replace("::", "/") for ch in r":?*|<>": log_subdir = log_subdir.replace(ch, f"&#{ord(ch)};") log.log_dir += "/" + log_subdir try: py.path.local(log.log_dir).remove() except Exception: pass print("\n") # make sure on-screen logs start on a new line with log.to_file(prefix="tests"): timestamp.reset() log.info("{0} started.", request.node.nodeid) log.describe_environment("Environment:") try: yield finally: failed = False for report_attr in ("setup_report", "call_report", "teardown_report"): try: report = getattr(request.node, report_attr) except AttributeError: continue failed |= report.failed log.write_format( "error" if report.failed else "info", "pytest {0} phase for {1} {2}.", report.when, request.node.nodeid, report.outcome, ) write_log(report_attr + ".log", report.longreprtext) write_log(report_attr + ".stdout.log", report.capstdout) write_log(report_attr + ".stderr.log", report.capstderr) if failed: write_log("FAILED.log", "") > logs.dump() tests/pytest_fixtures.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dump(): if log.log_dir is None: return log.info("Dumping logs from {0}", json.repr(log.log_dir)) for dirpath, dirnames, filenames in os.walk(log.log_dir): for name in sorted(filenames): if not name.startswith("debugpy") and not name.startswith("pydevd"): continue try: path = os.path.join(dirpath, name) with io.open(path, encoding="utf-8", errors="backslashreplace") as f: s = f.read() except Exception: pass else: path = os.path.relpath(path, log.log_dir) > pytest_timeout.write_title(path) E AttributeError: module 'pytest_timeout' has no attribute 'write_title' tests/logs.py:30: AttributeError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+12.403: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/tests-27663.log". I+00.000: tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] started. I+01.054: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.091: Starting Session[1] I+01.124: Attaching Session[1] to program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_redirect_output_program_e7/code_to_debug.py" by PID. I+01.124: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]" I+01.126: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_redirect_output_program_e7/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_redirect_output_program_e7/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+01.143: Spawned Debuggee[1] with PID=7499 D+01.159: watchdog-27663 <-- ['register_spawn', 7499, 'Debuggee[1]'] D+01.160: watchdog-27663 --> ['ok'] I+01.160: Capturing Debuggee[1] stderr I+01.175: Capturing Debuggee[1] stdout I+01.184: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]/pydevd.log" } I+01.199: Spawned Adapter[1] with PID=7503 D+01.211: watchdog-27663 <-- ['register_spawn', 7503, 'Adapter[1]'] D+01.212: watchdog-27663 --> ['ok'] D+01.223: Starting message loop for channel Adapter[1] I+01.224: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+02.673: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+02.684: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+02.687: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+02.688: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+02.690: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+02.713: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+02.716: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+02.717: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "redirectOutput": true, "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_redirect_output_program_e7/code_to_debug.py", "args": [], "processId": 7499, "debugOptions": [ "ShowReturnValue", "RedirectOutput" ] } } I+02.724: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+02.772: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 45669 } } D+03.784: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 1.02s).\n" } } D+04.792: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 2.02s).\n" } } D+05.796: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 3.03s).\n" } } D+06.809: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 4.04s).\n" } } D+07.812: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 5.04s).\n" } } D+08.824: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 6.06s).\n" } } D+09.831: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 7.06s).\n" } } D+10.836: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 8.07s).\n" } } D+11.840: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 9.07s).\n" } } D+12.855: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 10.08s).\n" } } D+12.856: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+12.856: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+12.857: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+12.857: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+12.858: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+12.858: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+12.859: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+12.916: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+12.916: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+12.917: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+12.918: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 7499 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 7499 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 52, 53, 54, 54, 57, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 100, 53, 53, 51, 52, 55, 98, 100, 50, 56, 53, 49, 54, 53, 101, 101, 54, 98, 50, 57, 53, 52, 102, 98, 97, 99, 48, 52, 97, 51, 48, 49, 53, 48, 101, 100, 49, 97, 52, 57, 53, 56, 48, 57, 51, 52, 55, 48, 100, 97, 100, 99, 49, 97, 55, 100, 97, 54, 98, 51, 50, 99, 57, 56, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf7e2eb04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n$1 = (void *) 0x13e29e8\n" } } D+13.888: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 11.12s).\n" } } D+14.896: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 12.13s).\n" } } D+15.904: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 13.14s).\n" } } D+16.917: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 14.15s).\n" } } D+16.917: Adapter[1] --> { "seq": 30, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[Detaching after vfork from child process 7832]\n" } } D+17.815: Adapter[1] --> { "seq": 31, "type": "response", "request_seq": 2, "success": false, "command": "attach", "message": "Timed out waiting for debug server to connect." } I+17.958: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 31, "type": "response", "command": "attach", "request_seq": 2} I+17.958: Ending Session[1]. D+17.987: Adapter[1] --> { "seq": 32, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 15.20s).\n" } } E+17.990: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_output.py", line 125, in test_redirect_output with run(session, target(code_to_debug)): File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 202, in attach_pid with session.request_attach(): ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 638, in request_attach return self._request_start("attach") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_output.py", line 122, in test_redirect_output with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+17.990: Killing Adapter[1]. I+17.991: Killing Debuggee[1]. D+18.023: Exiting message loop for channel Adapter[1]: No more messages D+18.023: Closing Adapter[1] message stream I+18.039: Waiting for Adapter[1] to close listener ports ... I+18.039: Waiting for Adapter[1] with PID=7503 to exit. D+18.047: watchdog-27663 <-- ['unregister_spawn', 7503, 'Adapter[1]'] D+18.048: watchdog-27663 --> ['ok'] --------------------------- Captured stderr teardown --------------------------- I+20.484: pytest setup phase for tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] passed. E+20.485: pytest call phase for tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] failed. I+20.508: Dumping logs from "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]" I+20.509: Not logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/tests-27663.log" anymore. _ ERROR at teardown of test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] _ [gw10] linux -- Python 3.11.9 /usr/bin/python3.11 request = > long_tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2') @pytest.fixture(autouse=True) def test_wrapper(request, long_tmpdir): def write_log(filename, data): filename = os.path.join(log.log_dir, filename) if not isinstance(data, bytes): data = data.encode("utf-8") with open(filename, "wb") as f: f.write(data) session.Session.reset_counter() session.Session.tmpdir = long_tmpdir original_log_dir = log.log_dir failed = True try: if log.log_dir is None: log.log_dir = (long_tmpdir / "debugpy_logs").strpath else: log_subdir = request.node.nodeid log_subdir = log_subdir.replace("::", "/") for ch in r":?*|<>": log_subdir = log_subdir.replace(ch, f"&#{ord(ch)};") log.log_dir += "/" + log_subdir try: py.path.local(log.log_dir).remove() except Exception: pass print("\n") # make sure on-screen logs start on a new line with log.to_file(prefix="tests"): timestamp.reset() log.info("{0} started.", request.node.nodeid) log.describe_environment("Environment:") try: yield finally: failed = False for report_attr in ("setup_report", "call_report", "teardown_report"): try: report = getattr(request.node, report_attr) except AttributeError: continue failed |= report.failed log.write_format( "error" if report.failed else "info", "pytest {0} phase for {1} {2}.", report.when, request.node.nodeid, report.outcome, ) write_log(report_attr + ".log", report.longreprtext) write_log(report_attr + ".stdout.log", report.capstdout) write_log(report_attr + ".stderr.log", report.capstderr) if failed: write_log("FAILED.log", "") > logs.dump() tests/pytest_fixtures.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dump(): if log.log_dir is None: return log.info("Dumping logs from {0}", json.repr(log.log_dir)) for dirpath, dirnames, filenames in os.walk(log.log_dir): for name in sorted(filenames): if not name.startswith("debugpy") and not name.startswith("pydevd"): continue try: path = os.path.join(dirpath, name) with io.open(path, encoding="utf-8", errors="backslashreplace") as f: s = f.read() except Exception: pass else: path = os.path.relpath(path, log.log_dir) > pytest_timeout.write_title(path) E AttributeError: module 'pytest_timeout' has no attribute 'write_title' tests/logs.py:30: AttributeError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+22.734: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/tests-5597.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] started. I+00.481: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+00.498: Starting Session[1] I+00.532: Listening for incoming connection from BackChannel[1] on port 56853... I+00.532: Launching program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/code_to_debug.py" in Session[1] using "integratedTerminal". I+00.533: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]" I+00.534: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "56853" } I+00.564: Spawned Adapter[1] with PID=7538 D+00.576: watchdog-5597 <-- ['register_spawn', 7538, 'Adapter[1]'] D+00.577: watchdog-5597 --> ['ok'] D+00.600: Starting message loop for channel Adapter[1] I+00.604: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+02.786: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+02.803: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+02.815: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+02.820: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } D+02.838: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+02.840: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} I+02.842: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+02.843: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/custompy.sh", "-O" ], "pythonArgs": [ "-B" ], "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+02.865: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+02.882: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "40819", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2" } } I+02.885: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2" Command line: [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "40819", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] (call)", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "56853", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/Session[1]/adapter_endpoints" } I+02.918: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=7610 D+02.936: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 <-- ['register_spawn', 7610, 'Debuggee[1]'] D+02.940: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 --> ['ok'] I+02.941: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout I+02.948: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr D+02.964: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+21.422: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 2, "success": false, "command": "launch", "message": "Timed out waiting for debuggee to spawn" } I+21.427: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 5, "type": "response", "command": "launch", "request_seq": 2} I+21.427: Ending Session[1]. E+21.431: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 280, in test_custom_python_args with run(session, target(code_to_debug)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 82, in __call__ return f(session, target, *self._args, **self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 148, in launch return session.request_launch() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 635, in request_launch return self._request_start("launch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 271, in test_custom_python_args with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+21.492: Killing Adapter[1]. I+21.493: Killing Debuggee[1]. D+21.493: Closing Adapter[1] message stream D+21.518: Exiting message loop for channel Adapter[1]: No more messages I+21.532: Waiting for Adapter[1] to close listener ports ... I+21.532: Waiting for Adapter[1] with PID=7538 to exit. D+21.533: watchdog-5597 <-- ['unregister_spawn', 7538, 'Adapter[1]'] D+21.533: watchdog-5597 --> ['ok'] D+21.534: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+23.652: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] passed. E+23.653: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] failed. I+23.669: Dumping logs from "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]" I+23.670: Not logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/tests-5597.log" anymore. _ ERROR at teardown of test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] _ [gw10] linux -- Python 3.11.9 /usr/bin/python3.11 request = > long_tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3') @pytest.fixture(autouse=True) def test_wrapper(request, long_tmpdir): def write_log(filename, data): filename = os.path.join(log.log_dir, filename) if not isinstance(data, bytes): data = data.encode("utf-8") with open(filename, "wb") as f: f.write(data) session.Session.reset_counter() session.Session.tmpdir = long_tmpdir original_log_dir = log.log_dir failed = True try: if log.log_dir is None: log.log_dir = (long_tmpdir / "debugpy_logs").strpath else: log_subdir = request.node.nodeid log_subdir = log_subdir.replace("::", "/") for ch in r":?*|<>": log_subdir = log_subdir.replace(ch, f"&#{ord(ch)};") log.log_dir += "/" + log_subdir try: py.path.local(log.log_dir).remove() except Exception: pass print("\n") # make sure on-screen logs start on a new line with log.to_file(prefix="tests"): timestamp.reset() log.info("{0} started.", request.node.nodeid) log.describe_environment("Environment:") try: yield finally: failed = False for report_attr in ("setup_report", "call_report", "teardown_report"): try: report = getattr(request.node, report_attr) except AttributeError: continue failed |= report.failed log.write_format( "error" if report.failed else "info", "pytest {0} phase for {1} {2}.", report.when, request.node.nodeid, report.outcome, ) write_log(report_attr + ".log", report.longreprtext) write_log(report_attr + ".stdout.log", report.capstdout) write_log(report_attr + ".stderr.log", report.capstderr) if failed: write_log("FAILED.log", "") > logs.dump() tests/pytest_fixtures.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def dump(): if log.log_dir is None: return log.info("Dumping logs from {0}", json.repr(log.log_dir)) for dirpath, dirnames, filenames in os.walk(log.log_dir): for name in sorted(filenames): if not name.startswith("debugpy") and not name.startswith("pydevd"): continue try: path = os.path.join(dirpath, name) with io.open(path, encoding="utf-8", errors="backslashreplace") as f: s = f.read() except Exception: pass else: path = os.path.relpath(path, log.log_dir) > pytest_timeout.write_title(path) E AttributeError: module 'pytest_timeout' has no attribute 'write_title' tests/logs.py:30: AttributeError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+23.934: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/tests-5597.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] started. I+01.015: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.044: Starting Session[1] I+01.105: Listening for incoming connection from BackChannel[1] on port 41977... I+01.106: Launching program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/code_to_debug.py" in Session[1] using "externalTerminal". I+01.107: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]" I+01.108: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "41977" } I+01.158: Spawned Adapter[1] with PID=7983 D+01.169: watchdog-5597 <-- ['register_spawn', 7983, 'Adapter[1]'] D+01.170: watchdog-5597 --> ['ok'] D+01.193: Starting message loop for channel Adapter[1] I+01.194: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.374: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.390: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.397: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.438: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+04.439: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+04.455: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+04.458: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+04.459: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/custompy.sh", "-O" ], "pythonArgs": [ "-B" ], "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+04.470: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+04.499: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "39199", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3" } } I+04.511: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3" Command line: [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "39199", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "41977", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/Session[1]/adapter_endpoints" } I+04.535: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=8067 D+04.547: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 <-- ['register_spawn', 8067, 'Debuggee[1]'] D+04.548: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 --> ['ok'] I+04.548: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout I+04.569: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr D+04.570: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+21.766: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 2, "success": false, "command": "launch", "message": "Timed out waiting for debuggee to spawn" } I+21.773: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 5, "type": "response", "command": "launch", "request_seq": 2} I+21.773: Ending Session[1]. E+21.784: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 280, in test_custom_python_args with run(session, target(code_to_debug)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 82, in __call__ return f(session, target, *self._args, **self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 148, in launch return session.request_launch() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 635, in request_launch return self._request_start("launch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 271, in test_custom_python_args with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+21.784: Killing Adapter[1]. I+21.799: Killing Debuggee[1]. D+21.799: Closing Adapter[1] message stream D+21.801: Exiting message loop for channel Adapter[1]: No more messages I+21.805: Waiting for Adapter[1] to close listener ports ... I+21.805: Waiting for Adapter[1] with PID=7983 to exit. D+21.821: watchdog-5597 <-- ['unregister_spawn', 7983, 'Adapter[1]'] D+21.822: watchdog-5597 --> ['ok'] D+21.822: Closing BackChannel[1] server socket... --------------------------- Captured stderr teardown --------------------------- I+23.030: pytest setup phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] passed. E+23.031: pytest call phase for tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] failed. I+23.054: Dumping logs from "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]" I+23.055: Not logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/tests-5597.log" anymore. =================================== FAILURES =================================== ____ test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] ____ [gw5] linux -- Python 3.11.9 /usr/bin/python3.11 pyfile = .factory at 0xf57cf208> target = , run = attach_pid, exit_code = 3 break_on_system_exit_zero = 'break_on_system_exit_zero', django = '' @pytest.mark.parametrize("target", targets.all_named) @pytest.mark.parametrize("run", runners.all) @pytest.mark.parametrize("exit_code", [0, 3]) @pytest.mark.parametrize("break_on_system_exit_zero", ["break_on_system_exit_zero", ""]) @pytest.mark.parametrize("django", ["django", ""]) def test_success_exitcodes( pyfile, target, run, exit_code, break_on_system_exit_zero, django ): @pyfile def code_to_debug(): import debuggee import sys debuggee.setup() exit_code = eval(sys.argv[1]) print("sys.exit(%r)" % (exit_code,)) sys.exit(exit_code) with debug.Session() as session: session.expected_exit_code = some.int session.config["breakOnSystemExitZero"] = bool(break_on_system_exit_zero) session.config["django"] = bool(django) > with run(session, target(code_to_debug, args=[repr(exit_code)])): tests/debugpy/test_exception.py:321: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:137: in __enter__ return next(self.gen) tests/debug/runners.py:202: in attach_pid with session.request_attach(): tests/debug/session.py:638: in request_attach return self._request_start("attach") tests/debug/session.py:599: in _request_start start_request.response.result # raise exception if failed tests/timeline.py:1115: in result return self.message.result _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = @property def result(self): """Result of the request. Returns the value of response.body, unless it is an exception, in which case it is raised instead. """ if self.success: return self.body else: > raise self.body E debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. debugpy/common/messaging.py:908: MessageHandlingError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+18.312: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/tests-27626.log". I+00.000: tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] started. I+00.902: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+00.909: Starting Session[1] I+00.975: Attaching Session[1] to module code_to_debug by PID. I+00.976: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]" I+00.977: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "-m", "code_to_debug", "3" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/tmp/pytest-of-pbuilder1/pytest-1/popen-gw5/test_success_exitcodes__break_11:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw5/test_success_exitcodes__break_11/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+00.999: Spawned Debuggee[1] with PID=29363 D+01.010: watchdog-27626 <-- ['register_spawn', 29363, 'Debuggee[1]'] D+01.012: watchdog-27626 --> ['ok'] I+01.012: Capturing Debuggee[1] stderr I+01.034: Capturing Debuggee[1] stdout I+01.060: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw5", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module]/Session[1]/pydevd.log" } I+01.075: Spawned Adapter[1] with PID=29368 D+01.094: watchdog-27626 <-- ['register_spawn', 29368, 'Adapter[1]'] D+01.095: watchdog-27626 --> ['ok'] D+01.114: Starting message loop for channel Adapter[1] I+01.120: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+05.005: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+05.015: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+05.019: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+05.039: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } D+05.042: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+05.044: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} I+05.055: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+05.058: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "breakOnSystemExitZero": true, "django": false, "module": "code_to_debug", "args": [ "3" ], "processId": 29363, "debugOptions": [ "ShowReturnValue", "BreakOnSystemExitZero" ] } } I+05.059: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+05.120: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 36149 } } D+06.123: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 1.00s).\n" } } D+07.125: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 2.00s).\n" } } D+08.127: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 3.01s).\n" } } D+09.132: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 4.01s).\n" } } D+10.135: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 5.02s).\n" } } D+11.140: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 6.02s).\n" } } D+12.147: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 7.03s).\n" } } D+13.151: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 8.03s).\n" } } D+14.151: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 9.03s).\n" } } D+15.155: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 10.03s).\n" } } D+15.155: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+15.156: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+15.157: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+15.157: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+15.158: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+15.222: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+15.223: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+15.224: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+15.224: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+15.225: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+15.225: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 29363 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 29363 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 51, 54, 49, 52, 57, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 50, 48, 50, 54, 53, 100, 98, 97, 98, 97, 54, 54, 48, 53, 50, 97, 54, 98, 55, 48, 49, 51, 98, 101, 57, 48, 51, 57, 97, 56, 101, 56, 52, 48, 97, 57, 49, 52, 50, 98, 102, 101, 57, 97, 53, 50, 100, 50, 102, 51, 48, 100, 56, 98, 101, 48, 48, 56, 100, 100, 102, 48, 49, 101, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf7c9cb04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n$1 = (void *) 0x1675670\n" } } D+16.187: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 11.07s).\n" } } D+17.192: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 12.07s).\n" } } D+18.193: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 13.07s).\n" } } D+19.194: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 14.07s).\n" } } D+19.195: Adapter[1] --> { "seq": 30, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[Detaching after vfork from child process 29912]\n" } } D+20.167: Adapter[1] --> { "seq": 31, "type": "response", "request_seq": 2, "success": false, "command": "attach", "message": "Timed out waiting for debug server to connect." } D+20.219: Adapter[1] --> { "seq": 32, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 29363 (elapsed: 15.09s).\n" } } D+20.220: Adapter[1] --> { "seq": 33, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[New Thread 0xf6c51420 (LWP 29949)]\n[New Thread 0xf62ff420 (LWP 29951)]\n" } } I+20.265: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 31, "type": "response", "command": "attach", "request_seq": 2} I+20.265: Ending Session[1]. E+20.343: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_exception.py", line 321, in test_success_exitcodes with run(session, target(code_to_debug, args=[repr(exit_code)])): File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 202, in attach_pid with session.request_attach(): ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 638, in request_attach return self._request_start("attach") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_exception.py", line 316, in test_success_exitcodes with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+20.343: Killing Adapter[1]. I+20.344: Killing Debuggee[1]. D+20.344: Closing Adapter[1] message stream D+20.365: Exiting message loop for channel Adapter[1]: No more messages I+20.402: Waiting for Adapter[1] to close listener ports ... I+20.403: Waiting for Adapter[1] with PID=29368 to exit. D+20.426: watchdog-27626 <-- ['unregister_spawn', 29368, 'Adapter[1]'] D+20.427: watchdog-27626 --> ['ok'] ________________ test_success_exitcodes[--3-attach_pid-program] ________________ [gw2] linux -- Python 3.11.9 /usr/bin/python3.11 pyfile = .factory at 0xf5582618> target = , run = attach_pid, exit_code = 3 break_on_system_exit_zero = '', django = '' @pytest.mark.parametrize("target", targets.all_named) @pytest.mark.parametrize("run", runners.all) @pytest.mark.parametrize("exit_code", [0, 3]) @pytest.mark.parametrize("break_on_system_exit_zero", ["break_on_system_exit_zero", ""]) @pytest.mark.parametrize("django", ["django", ""]) def test_success_exitcodes( pyfile, target, run, exit_code, break_on_system_exit_zero, django ): @pyfile def code_to_debug(): import debuggee import sys debuggee.setup() exit_code = eval(sys.argv[1]) print("sys.exit(%r)" % (exit_code,)) sys.exit(exit_code) with debug.Session() as session: session.expected_exit_code = some.int session.config["breakOnSystemExitZero"] = bool(break_on_system_exit_zero) session.config["django"] = bool(django) > with run(session, target(code_to_debug, args=[repr(exit_code)])): tests/debugpy/test_exception.py:321: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:137: in __enter__ return next(self.gen) tests/debug/runners.py:202: in attach_pid with session.request_attach(): tests/debug/session.py:638: in request_attach return self._request_start("attach") tests/debug/session.py:599: in _request_start start_request.response.result # raise exception if failed tests/timeline.py:1115: in result return self.message.result _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = @property def result(self): """Result of the request. Returns the value of response.body, unless it is an exception, in which case it is raised instead. """ if self.success: return self.body else: > raise self.body E debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. debugpy/common/messaging.py:908: MessageHandlingError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+19.712: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/tests-27523.log". I+00.000: tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] started. I+01.193: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.236: Starting Session[1] I+01.267: Attaching Session[1] to program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw2/test_success_exitcodes___3_att8/code_to_debug.py" by PID. I+01.276: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]" I+01.278: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw2/test_success_exitcodes___3_att8/code_to_debug.py", "3" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw2", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw2/test_success_exitcodes___3_att8/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+01.314: Spawned Debuggee[1] with PID=30269 D+01.350: watchdog-27523 <-- ['register_spawn', 30269, 'Debuggee[1]'] D+01.351: watchdog-27523 --> ['ok'] I+01.351: Capturing Debuggee[1] stderr I+01.398: Capturing Debuggee[1] stdout I+01.419: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw2", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_exception.py/test_success_exitcodes[--3-attach_pid-program]/Session[1]/pydevd.log" } I+01.458: Spawned Adapter[1] with PID=30277 D+01.466: watchdog-27523 <-- ['register_spawn', 30277, 'Adapter[1]'] D+01.467: watchdog-27523 --> ['ok'] D+01.479: Starting message loop for channel Adapter[1] I+01.480: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.724: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.738: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.749: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.770: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+04.772: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+04.793: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+04.795: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+04.796: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "breakOnSystemExitZero": false, "django": false, "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw2/test_success_exitcodes___3_att8/code_to_debug.py", "args": [ "3" ], "processId": 30269, "debugOptions": [ "ShowReturnValue" ] } } I+04.811: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+04.891: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 53243 } } D+05.895: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 1.00s).\n" } } D+06.899: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 2.01s).\n" } } D+07.903: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 3.01s).\n" } } D+08.907: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 4.02s).\n" } } D+09.911: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 5.02s).\n" } } D+10.915: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 6.02s).\n" } } D+11.916: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 7.02s).\n" } } D+12.927: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 8.04s).\n" } } D+13.943: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 9.05s).\n" } } D+14.950: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 10.06s).\n" } } D+14.951: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+14.951: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+14.952: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+14.952: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+14.953: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+14.953: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+15.002: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+15.004: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+15.004: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+15.005: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+15.005: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 30269 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 30269 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 53, 51, 50, 52, 51, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 99, 100, 99, 49, 50, 51, 55, 57, 51, 100, 51, 98, 48, 98, 49, 100, 99, 57, 98, 97, 57, 101, 55, 54, 48, 54, 99, 57, 57, 57, 48, 48, 53, 49, 51, 50, 49, 52, 57, 52, 54, 100, 52, 101, 101, 99, 55, 52, 100, 100, 99, 49, 48, 48, 50, 97, 99, 99, 56, 57, 100, 99, 51, 57, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf76c0b04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n" } } D+15.983: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 11.09s).\n" } } D+15.984: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stderr", "output": "$1 = (void *) 0xfada48\n" } } D+16.987: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 12.10s).\n" } } D+17.991: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 13.10s).\n" } } D+18.994: Adapter[1] --> { "seq": 30, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 14.10s).\n" } } D+19.006: Adapter[1] --> { "seq": 31, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[Detaching after vfork from child process 30696]\n" } } D+19.978: Adapter[1] --> { "seq": 32, "type": "response", "request_seq": 2, "success": false, "command": "attach", "message": "Timed out waiting for debug server to connect." } D+20.026: Adapter[1] --> { "seq": 33, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 30269 (elapsed: 15.13s).\n" } } I+20.113: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 32, "type": "response", "command": "attach", "request_seq": 2} I+20.130: Ending Session[1]. E+20.188: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_exception.py", line 321, in test_success_exitcodes with run(session, target(code_to_debug, args=[repr(exit_code)])): File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 202, in attach_pid with session.request_attach(): ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 638, in request_attach return self._request_start("attach") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_exception.py", line 316, in test_success_exitcodes with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+20.188: Killing Adapter[1]. I+20.189: Killing Debuggee[1]. D+20.190: Closing Adapter[1] message stream D+20.209: Exiting message loop for channel Adapter[1]: No more messages I+20.211: Waiting for Adapter[1] to close listener ports ... I+20.211: Waiting for Adapter[1] with PID=30277 to exit. D+20.215: watchdog-27523 <-- ['unregister_spawn', 30277, 'Adapter[1]'] D+20.216: watchdog-27523 --> ['ok'] _________________________ tests/debugpy/test_gevent.py _________________________ [gw3] linux -- Python 3.11.9 /usr/bin/python3.11 worker 'gw3' crashed while running 'tests/debugpy/test_gevent.py::test_gevent[program-launch]' ___________________ test_with_no_output[program-attach_pid] ____________________ [gw6] linux -- Python 3.11.9 /usr/bin/python3.11 pyfile = .factory at 0xf4b35d48> target = , run = attach_pid @pytest.mark.parametrize("run", runners.all) def test_with_no_output(pyfile, target, run): @pyfile def code_to_debug(): import debuggee debuggee.setup() () # @wait_for_output with debug.Session() as session: session.config["redirectOutput"] = True > with run(session, target(code_to_debug)): tests/debugpy/test_output.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:137: in __enter__ return next(self.gen) tests/debug/runners.py:202: in attach_pid with session.request_attach(): tests/debug/session.py:638: in request_attach return self._request_start("attach") tests/debug/session.py:599: in _request_start start_request.response.result # raise exception if failed tests/timeline.py:1115: in result return self.message.result _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = @property def result(self): """Result of the request. Returns the value of response.body, unless it is an exception, in which case it is raised instead. """ if self.success: return self.body else: > raise self.body E debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. debugpy/common/messaging.py:908: MessageHandlingError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+13.996: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/tests-27663.log". I+00.000: tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] started. I+01.103: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.128: Starting Session[1] I+01.158: Attaching Session[1] to program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_with_no_output_program_at0/code_to_debug.py" by PID. I+01.159: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]" I+01.160: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_with_no_output_program_at0/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_with_no_output_program_at0/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+01.198: Spawned Debuggee[1] with PID=2303 D+01.209: watchdog-27663 <-- ['register_spawn', 2303, 'Debuggee[1]'] D+01.210: watchdog-27663 --> ['ok'] I+01.211: Capturing Debuggee[1] stderr I+01.225: Capturing Debuggee[1] stdout I+01.243: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_with_no_output[program-attach_pid]/Session[1]/pydevd.log" } I+01.274: Spawned Adapter[1] with PID=2307 D+01.301: watchdog-27663 <-- ['register_spawn', 2307, 'Adapter[1]'] D+01.302: watchdog-27663 --> ['ok'] D+01.319: Starting message loop for channel Adapter[1] I+01.321: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.959: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.982: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.994: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.995: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+05.038: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+05.042: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+05.044: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+05.044: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "redirectOutput": true, "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_with_no_output_program_at0/code_to_debug.py", "args": [], "processId": 2303, "debugOptions": [ "ShowReturnValue", "RedirectOutput" ] } } I+05.066: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+05.131: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 47983 } } D+06.142: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 1.01s).\n" } } D+07.146: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 2.02s).\n" } } D+08.151: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 3.02s).\n" } } D+09.158: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 4.03s).\n" } } D+10.166: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 5.04s).\n" } } D+11.174: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 6.04s).\n" } } D+12.185: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 7.05s).\n" } } D+13.191: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 8.06s).\n" } } D+14.198: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 9.07s).\n" } } D+15.206: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 10.07s).\n" } } D+15.206: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+15.207: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+15.208: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+15.208: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+15.209: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+15.278: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+15.279: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+15.280: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+15.280: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+15.281: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+15.317: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 2303 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 2303 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 52, 55, 57, 56, 51, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 54, 98, 101, 51, 49, 100, 49, 48, 51, 50, 56, 48, 53, 56, 99, 54, 99, 50, 51, 49, 51, 57, 99, 50, 50, 52, 98, 101, 50, 48, 51, 52, 99, 102, 100, 57, 102, 99, 48, 57, 100, 97, 53, 98, 57, 53, 51, 101, 54, 56, 54, 53, 56, 50, 98, 56, 56, 100, 50, 100, 48, 102, 54, 50, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf7e07b04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n$1 = (void *) 0xaeb9e8\n" } } D+16.242: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 11.11s).\n" } } D+17.248: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 12.12s).\n" } } D+18.258: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 13.13s).\n" } } D+19.262: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 14.13s).\n" } } D+20.217: Adapter[1] --> { "seq": 30, "type": "response", "request_seq": 2, "success": false, "command": "attach", "message": "Timed out waiting for debug server to connect." } D+20.326: Adapter[1] --> { "seq": 31, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2303 (elapsed: 15.18s).\n" } } I+20.358: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 30, "type": "response", "command": "attach", "request_seq": 2} I+20.359: Ending Session[1]. E+20.453: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_output.py", line 29, in test_with_no_output with run(session, target(code_to_debug)): File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 202, in attach_pid with session.request_attach(): ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 638, in request_attach return self._request_start("attach") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_output.py", line 26, in test_with_no_output with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+20.486: Killing Adapter[1]. I+20.486: Killing Debuggee[1]. D+20.487: Closing Adapter[1] message stream D+20.509: Exiting message loop for channel Adapter[1]: No more messages I+20.510: Waiting for Adapter[1] to close listener ports ... I+20.511: Waiting for Adapter[1] with PID=2307 to exit. D+20.512: watchdog-27663 <-- ['unregister_spawn', 2307, 'Adapter[1]'] D+20.512: watchdog-27663 --> ['ok'] _______________________ tests/debugpy/test_multiproc.py ________________________ [gw1] linux -- Python 3.11.9 /usr/bin/python3.11 worker 'gw1' crashed while running 'tests/debugpy/test_multiproc.py::test_subprocess[program-launch--None]' ______________ test_redirect_output[program-disabled-attach_pid] _______________ [gw8] linux -- Python 3.11.9 /usr/bin/python3.11 pyfile = .factory at 0xf5af7cf8> target = , run = attach_pid redirect = 'disabled' @pytest.mark.parametrize("run", runners.all) @pytest.mark.parametrize("redirect", ["enabled", "disabled"]) def test_redirect_output(pyfile, target, run, redirect): @pyfile def code_to_debug(): import debuggee debuggee.setup() for i in [111, 222, 333, 444]: print(i) () # @wait_for_output with debug.Session() as session: session.config["redirectOutput"] = redirect == "enabled" with run(session, target(code_to_debug)): session.set_breakpoints(code_to_debug, all) session.wait_for_stop() session.request_continue() output = session.output("stdout") lines = [] for line in output.splitlines(keepends=True): if not line.startswith("Attaching to PID:"): lines.append(line) output = "".join(lines) if redirect == "enabled": assert output == "111\n222\n333\n444\n" else: > assert not output E assert not "\nThe attach to PID is taking longer than expected.\nOn Linux it's possible to customize the value of\n`PYDEVD_GDB_SC...the libraries that will be used, so, it should be possible\n-- to test other libraries if the above doesn't work).\n\n" tests/debugpy/test_output.py:141: AssertionError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+17.861: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/tests-32374.log". I+00.000: tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] started. I+01.147: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.177: Starting Session[1] I+01.199: Attaching Session[1] to program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py" by PID. I+01.200: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]" I+01.218: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+01.243: Spawned Debuggee[1] with PID=2830 D+01.265: watchdog-32374 <-- ['register_spawn', 2830, 'Debuggee[1]'] D+01.267: watchdog-32374 --> ['ok'] I+01.267: Capturing Debuggee[1] stdout I+01.294: Capturing Debuggee[1] stderr I+01.299: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw8", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-disabled-attach_pid]/Session[1]/pydevd.log" } I+01.342: Spawned Adapter[1] with PID=2836 D+01.346: watchdog-32374 <-- ['register_spawn', 2836, 'Adapter[1]'] D+01.348: watchdog-32374 --> ['ok'] D+01.358: Starting message loop for channel Adapter[1] I+01.360: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.473: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.483: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.490: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.491: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+04.493: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+04.505: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+04.517: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+04.518: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "redirectOutput": false, "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py", "args": [], "processId": 2830, "debugOptions": [ "ShowReturnValue" ] } } I+04.528: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+04.599: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 42587 } } D+05.599: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 1.00s).\n" } } D+06.603: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 2.00s).\n" } } D+07.607: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 3.01s).\n" } } D+08.611: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 4.01s).\n" } } D+09.611: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 5.02s).\n" } } D+10.615: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 6.02s).\n" } } D+11.620: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 7.02s).\n" } } D+12.620: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 8.02s).\n" } } D+13.623: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 9.03s).\n" } } D+14.631: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 10.03s).\n" } } D+14.631: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+14.632: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+14.632: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+14.633: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+14.633: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+14.634: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+14.659: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+14.659: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+14.660: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+14.661: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+14.662: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 2830 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 2830 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 52, 50, 53, 56, 55, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 98, 102, 54, 99, 54, 101, 99, 57, 48, 49, 99, 54, 52, 52, 56, 50, 54, 54, 53, 101, 97, 48, 50, 99, 101, 54, 99, 51, 101, 54, 52, 97, 98, 52, 49, 99, 53, 48, 100, 52, 101, 100, 55, 57, 49, 48, 55, 49, 56, 51, 101, 52, 49, 49, 53, 100, 53, 100, 50, 100, 57, 97, 97, 55, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf7d2eb04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n$1 = (void *) 0x21cd9e8\n" } } D+15.668: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 11.07s).\n" } } D+15.668: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[Detaching after vfork from child process 3241]\n" } } D+16.671: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 12.08s).\n" } } D+16.672: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[New Thread 0xf6ce3420 (LWP 3293)]\n[New Thread 0xf62ff420 (LWP 3294)]\n" } } D+16.727: Adapter[1] --> { "seq": 30, "type": "event", "event": "initialized" } I+16.786: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "event", "event": "initialized", ...} == {"seq": 30, "type": "event", "event": "initialized"} D+16.876: Adapter[1] <-- { "seq": 3, "type": "request", "command": "setBreakpoints", "arguments": { "source": { "path": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py" }, "breakpoints": [ { "line": 7 } ] } } D+16.883: Adapter[1] --> { "seq": 31, "type": "response", "request_seq": 3, "success": true, "command": "setBreakpoints", "body": { "breakpoints": [ { "verified": true, "id": 0, "source": { "path": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py" }, "line": 7 } ] } } I+16.891: Waiting for {..., "type": "response", "command": "setBreakpoints", "request_seq": 3, ...} I+17.010: Realized {..., "type": "response", "command": "setBreakpoints", "request_seq": 3, ...} == {"seq": 31, "type": "response", "command": "setBreakpoints", "request_seq": 3} I+17.010: Breakpoints set in /tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py: 7 (@wait_for_output) D+17.043: Adapter[1] <-- { "seq": 4, "type": "request", "command": "configurationDone" } I+17.046: Waiting for {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} D+17.083: Adapter[1] --> { "seq": 32, "type": "response", "request_seq": 4, "success": true, "command": "configurationDone" } D+17.083: Adapter[1] --> { "seq": 33, "type": "response", "request_seq": 2, "success": true, "command": "attach" } D+17.084: Adapter[1] --> { "seq": 34, "type": "event", "event": "process", "body": { "name": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py", "systemProcessId": 2830, "isLocalProcess": true, "startMethod": "attach" } } D+17.084: Adapter[1] --> { "seq": 35, "type": "event", "event": "thread", "body": { "reason": "started", "threadId": 1 } } I+17.227: Realized {..., "type": "response", "command": "configurationDone", "request_seq": 4, ...} == {"seq": 32, "type": "response", "command": "configurationDone", "request_seq": 4} I+17.227: Waiting for {..., "type": "response", "command": "attach", "request_seq": 2, ...} I+17.334: Realized {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 33, "type": "response", "command": "attach", "request_seq": 2} I+17.358: Waiting for next {..., "type": "event", "event": "process", ...} I+17.465: Realized ( {"seq": 31, "type": "response", "command": "setBreakpoints", "request_seq": 3} >> {..., "type": "event", "event": "process", ...} ): where {..., "type": "event", "event": "process", ...} == {"seq": 34, "type": "event", "event": "process"} I+17.465: Session[1] debuggee.scratchpad['_attach_pid'] = True D+17.482: Adapter[1] <-- { "seq": 5, "type": "request", "command": "evaluate", "arguments": { "context": "repl", "expression": "sys.modules['debuggee'].scratchpad['_attach_pid'] = True" } } I+17.502: Waiting for {..., "type": "response", "command": "evaluate", "request_seq": 5, ...} D+17.551: Adapter[1] --> { "seq": 36, "type": "response", "request_seq": 5, "success": true, "command": "evaluate", "body": { "result": "", "variablesReference": 0, "presentationHint": {} } } D+17.552: Adapter[1] --> { "seq": 37, "type": "event", "event": "stopped", "body": { "reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true } } I+17.552: Debuggee[1] stdout: b'111\n' b'222\n' I+17.552: Debuggee[1] stdout: b'333\n' b'444\n' I+17.673: Realized {..., "type": "response", "command": "evaluate", "request_seq": 5, ...} == {"seq": 36, "type": "response", "command": "evaluate", "request_seq": 5} I+17.674: Waiting for next {..., "type": "event", "event": "stopped", ...} D+17.691: Adapter[1] --> { "seq": 38, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 13.08s).\n" } } D+17.691: Adapter[1] --> { "seq": 39, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[New Thread 0xf58ff420 (LWP 3296)]\n[New Thread 0xf4eff420 (LWP 3297)]\n[New Thread 0xf44ff420 (LWP 3298)]\n[Thread 0xf44ff420 (LWP 3298) exited]\n[New Thread 0xf44ff420 (LWP 3299)]\n[Thread 0xf44ff420 (LWP 3299) exited]\n[New Thread 0xf44ff420 (LWP 3300)]\n[Thread 0xf44ff420 (LWP 3300) exited]\n[New Thread 0xf44ff420 (LWP 3301)]\n[Thread 0xf44ff420 (LWP 3301) exited]\n[New Thread 0xf44ff420 (LWP 3302)]\n[Thread 0xf44ff420 (LWP 3302) exited]\n[New Thread 0xf44ff420 (LWP 3303)]\n[Thread 0xf44ff420 (LWP 3303) exited]\n[New Thread 0xf44ff420 (LWP 3304)]\n[Thread 0xf44ff420 (LWP 3304) exited]\n$2 = 0\n[Inferior 1 (process 2830) detached]\n" } } I+17.811: Realized ({"seq": 35, "type": "event", "event": "thread"} >> {..., "type": "event", "event": "stopped", ...}): where {..., "type": "event", "event": "stopped", ...} == {"seq": 37, "type": "event", "event": "stopped"} D+17.812: Adapter[1] <-- { "seq": 6, "type": "request", "command": "stackTrace", "arguments": { "threadId": 1 } } D+17.835: Adapter[1] --> { "seq": 40, "type": "response", "request_seq": 6, "success": true, "command": "stackTrace", "body": { "stackFrames": [ { "id": 2, "name": "", "line": 7, "column": 1, "source": { "path": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py", "sourceReference": 0 } } ], "totalFrames": 1 } } D+17.836: Adapter[1] --> { "seq": 41, "type": "event", "event": "module", "body": { "reason": "new", "module": { "id": 0, "name": "__main__", "path": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw8/test_redirect_output_program_d6/code_to_debug.py", "package": "None" } } } I+17.847: Waiting for {..., "type": "response", "command": "stackTrace", "request_seq": 6, ...} I+18.049: Realized {..., "type": "response", "command": "stackTrace", "request_seq": 6, ...} == {"seq": 40, "type": "response", "command": "stackTrace", "request_seq": 6} D+18.080: Adapter[1] <-- { "seq": 7, "type": "request", "command": "continue" } I+18.103: Waiting for {..., "type": "response", "command": "continue", "request_seq": 7, ...} D+18.136: Adapter[1] --> { "seq": 42, "type": "response", "request_seq": 7, "success": true, "command": "continue", "body": { "allThreadsContinued": true } } D+18.137: Adapter[1] --> { "seq": 43, "type": "event", "event": "continued", "body": { "threadId": 1, "allThreadsContinued": true } } D+18.138: Adapter[1] --> { "seq": 44, "type": "event", "event": "thread", "body": { "reason": "exited", "threadId": 1 } } D+18.171: Adapter[1] --> { "seq": 45, "type": "event", "event": "terminated" } I+18.373: Realized {..., "type": "response", "command": "continue", "request_seq": 7, ...} == {"seq": 42, "type": "response", "command": "continue", "request_seq": 7} I+18.373: Ending Session[1]. I+18.373: Waiting for Debuggee[1] to exit ... D+18.695: Adapter[1] --> { "seq": 46, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 2830 (elapsed: 14.09s).\n" } } D+19.658: watchdog-32374 <-- ['unregister_spawn', 2830, 'Debuggee[1]'] D+19.659: watchdog-32374 --> ['ok'] I+19.660: Waiting for {..., "type": "event", "event": "terminated", ...} I+19.800: Realized {..., "type": "event", "event": "terminated", ...} == {"seq": 45, "type": "event", "event": "terminated"} D+19.801: Adapter[1] <-- { "seq": 8, "type": "request", "command": "disconnect" } D+19.803: Adapter[1] --> { "seq": 47, "type": "response", "request_seq": 8, "success": true, "command": "disconnect" } I+19.803: Waiting for {..., "type": "response", "command": "disconnect", "request_seq": 8, ...} I+19.804: /handling #47 response to 8 request "disconnect" to Adapter[1]/ Received "disconnect" response from Adapter[1]; stopping message processing. D+19.830: /handling #47 response to 8 request "disconnect" to Adapter[1]/ Closing Adapter[1] message stream I+19.983: Realized {..., "type": "response", "command": "disconnect", "request_seq": 8, ...} == {"seq": 47, "type": "response", "command": "disconnect", "request_seq": 8} I+19.983: Waiting for {..., "type": "event", "event": "terminated", ...} I+20.108: Realized {..., "type": "event", "event": "terminated", ...} == {"seq": 45, "type": "event", "event": "terminated"} D+20.257: Exiting message loop for channel Adapter[1]: No more messages I+20.258: Finalizing timeline... I+20.335: Waiting for Adapter[1] to close listener ports ... I+20.336: Waiting for Adapter[1] with PID=2836 to exit. D+20.346: watchdog-32374 <-- ['unregister_spawn', 2836, 'Adapter[1]'] D+20.354: watchdog-32374 --> ['ok'] _______________________ tests/debugpy/test_multiproc.py ________________________ [gw0] linux -- Python 3.11.9 /usr/bin/python3.11 worker 'gw0' crashed while running 'tests/debugpy/test_multiproc.py::test_argv_quoting[program-launch]' _ test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] _ [gw10] linux -- Python 3.11.9 /usr/bin/python3.11 pyfile = .factory at 0xf55ee618> tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0') run = launch(console=externalTerminal) target = , python_key = 'python' python = ['/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/custompy.sh', '-O'] python_args = [] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() > with run(session, target(code_to_debug)): tests/debugpy/test_run.py:280: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/debug/runners.py:82: in __call__ return f(session, target, *self._args, **self._kwargs) tests/debug/runners.py:148: in launch return session.request_launch() tests/debug/session.py:635: in request_launch return self._request_start("launch") tests/debug/session.py:599: in _request_start start_request.response.result # raise exception if failed tests/timeline.py:1115: in result return self.message.result _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = @property def result(self): """Result of the request. Returns the value of response.body, unless it is an exception, in which case it is raised instead. """ if self.success: return self.body else: > raise self.body E debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn debugpy/common/messaging.py:908: MessageHandlingError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+13.003: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/tests-5597.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] started. I+00.756: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+00.886: Spawning watchdog-5597 for tests-5597: '/usr/bin/python3.11' '/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/watchdog/worker.py' '5597' D+02.390: watchdog-5597 --> ['watchdog', None] I+02.390: Starting Session[1] I+02.427: Listening for incoming connection from BackChannel[1] on port 53725... I+02.427: Launching program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/code_to_debug.py" in Session[1] using "externalTerminal". I+02.439: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" I+02.441: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "53725" } I+02.463: Spawned Adapter[1] with PID=6150 D+02.483: watchdog-5597 <-- ['register_spawn', 6150, 'Adapter[1]'] D+02.487: watchdog-5597 --> ['ok'] D+02.502: Starting message loop for channel Adapter[1] I+02.507: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.579: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.607: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.630: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.632: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+04.639: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+04.644: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+04.646: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+04.647: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/custompy.sh", "-O" ], "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+04.659: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+04.676: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "53145", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0" } } I+04.678: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0" Command line: [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "53145", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "53725", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra0/Session[1]/adapter_endpoints" } I+04.689: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=6196 D+04.714: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 <-- ['register_spawn', 6196, 'Debuggee[1]'] D+04.716: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 --> ['ok'] I+04.716: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout I+04.731: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr D+04.739: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+22.327: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 2, "success": false, "command": "launch", "message": "Timed out waiting for debuggee to spawn" } I+22.334: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 5, "type": "response", "command": "launch", "request_seq": 2} I+22.334: Ending Session[1]. E+22.362: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 280, in test_custom_python_args with run(session, target(code_to_debug)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 82, in __call__ return f(session, target, *self._args, **self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 148, in launch return session.request_launch() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 635, in request_launch return self._request_start("launch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 271, in test_custom_python_args with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+22.363: Killing Adapter[1]. I+22.363: Killing Debuggee[1]. D+22.364: Closing Adapter[1] message stream D+22.377: Exiting message loop for channel Adapter[1]: No more messages I+22.381: Waiting for Adapter[1] to close listener ports ... I+22.381: Waiting for Adapter[1] with PID=6150 to exit. D+22.387: watchdog-5597 <-- ['unregister_spawn', 6150, 'Adapter[1]'] D+22.388: watchdog-5597 --> ['ok'] D+22.388: Closing BackChannel[1] server socket... _ test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] _ [gw10] linux -- Python 3.11.9 /usr/bin/python3.11 pyfile = .factory at 0xf5584c58> tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra1') run = launch(console=internalConsole) target = , python_key = 'python' python = ['/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra1/custompy.sh', '-O'] python_args = ['-B'] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() > with run(session, target(code_to_debug)): tests/debugpy/test_run.py:280: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/debug/runners.py:82: in __call__ return f(session, target, *self._args, **self._kwargs) tests/debug/runners.py:148: in launch return session.request_launch() tests/debug/session.py:635: in request_launch return self._request_start("launch") tests/debug/session.py:599: in _request_start start_request.response.result # raise exception if failed tests/timeline.py:1115: in result return self.message.result _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = @property def result(self): """Result of the request. Returns the value of response.body, unless it is an exception, in which case it is raised instead. """ if self.success: return self.body else: > raise self.body E debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn debugpy/common/messaging.py:908: MessageHandlingError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+24.804: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]/tests-5597.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] started. I+00.680: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+00.702: Starting Session[1] I+00.762: Listening for incoming connection from BackChannel[1] on port 36925... I+00.763: Launching program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra1/code_to_debug.py" in Session[1] using "internalConsole". I+00.764: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]/Session[1]" I+00.765: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "36925" } I+00.819: Spawned Adapter[1] with PID=6998 D+00.831: watchdog-5597 <-- ['register_spawn', 6998, 'Adapter[1]'] D+00.832: watchdog-5597 --> ['ok'] D+00.866: Starting message loop for channel Adapter[1] I+00.871: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+02.556: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+02.587: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+02.613: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+02.614: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+02.621: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+02.637: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+02.644: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+02.645: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra1/custompy.sh", "-O" ], "pythonArgs": [ "-B" ], "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra1/code_to_debug.py", "args": [], "console": "internalConsole", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+02.651: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+19.859: Adapter[1] --> { "seq": 4, "type": "response", "request_seq": 2, "success": false, "command": "launch", "message": "Timed out waiting for debuggee to spawn" } I+19.873: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 4, "type": "response", "command": "launch", "request_seq": 2} I+19.874: Ending Session[1]. E+19.909: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 280, in test_custom_python_args with run(session, target(code_to_debug)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 82, in __call__ return f(session, target, *self._args, **self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 148, in launch return session.request_launch() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 635, in request_launch return self._request_start("launch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 271, in test_custom_python_args with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+19.910: Killing Adapter[1]. D+19.941: Closing Adapter[1] message stream D+19.945: Exiting message loop for channel Adapter[1]: No more messages I+19.946: Waiting for Adapter[1] with PID=6998 to exit. D+19.991: watchdog-5597 <-- ['unregister_spawn', 6998, 'Adapter[1]'] D+19.992: watchdog-5597 --> ['ok'] D+19.992: Closing BackChannel[1] server socket... _______________ test_redirect_output[program-enabled-attach_pid] _______________ [gw6] linux -- Python 3.11.9 /usr/bin/python3.11 pyfile = .factory at 0xf4b5eb18> target = , run = attach_pid redirect = 'enabled' @pytest.mark.parametrize("run", runners.all) @pytest.mark.parametrize("redirect", ["enabled", "disabled"]) def test_redirect_output(pyfile, target, run, redirect): @pyfile def code_to_debug(): import debuggee debuggee.setup() for i in [111, 222, 333, 444]: print(i) () # @wait_for_output with debug.Session() as session: session.config["redirectOutput"] = redirect == "enabled" > with run(session, target(code_to_debug)): tests/debugpy/test_output.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:137: in __enter__ return next(self.gen) tests/debug/runners.py:202: in attach_pid with session.request_attach(): tests/debug/session.py:638: in request_attach return self._request_start("attach") tests/debug/session.py:599: in _request_start start_request.response.result # raise exception if failed tests/timeline.py:1115: in result return self.message.result _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = @property def result(self): """Result of the request. Returns the value of response.body, unless it is an exception, in which case it is raised instead. """ if self.success: return self.body else: > raise self.body E debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. debugpy/common/messaging.py:908: MessageHandlingError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+12.403: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/tests-27663.log". I+00.000: tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] started. I+01.054: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.091: Starting Session[1] I+01.124: Attaching Session[1] to program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_redirect_output_program_e7/code_to_debug.py" by PID. I+01.124: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]" I+01.126: Spawning Debuggee[1]: Current directory: null Command line: [ "/usr/bin/python3.11", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_redirect_output_program_e7/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]/pydevd.log", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_redirect_output_program_e7/Session[1]/adapter_endpoints", "DEBUGPY_TEST_DEBUGGEE_SETUP": "\nimport sys\nimport threading\nimport time\n\nwhile \"debugpy\" not in sys.modules:\n time.sleep(0.1)\n\nfrom debuggee import scratchpad\n\nwhile \"_attach_pid\" not in scratchpad:\n time.sleep(0.1)\n " } I+01.143: Spawned Debuggee[1] with PID=7499 D+01.159: watchdog-27663 <-- ['register_spawn', 7499, 'Debuggee[1]'] D+01.160: watchdog-27663 --> ['ok'] I+01.160: Capturing Debuggee[1] stderr I+01.175: Capturing Debuggee[1] stdout I+01.184: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw6", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_output.py/test_redirect_output[program-enabled-attach_pid]/Session[1]/pydevd.log" } I+01.199: Spawned Adapter[1] with PID=7503 D+01.211: watchdog-27663 <-- ['register_spawn', 7503, 'Adapter[1]'] D+01.212: watchdog-27663 --> ['ok'] D+01.223: Starting message loop for channel Adapter[1] I+01.224: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+02.673: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+02.684: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+02.687: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+02.688: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+02.690: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+02.713: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+02.716: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+02.717: Adapter[1] <-- { "seq": 2, "type": "request", "command": "attach", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "redirectOutput": true, "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw6/test_redirect_output_program_e7/code_to_debug.py", "args": [], "processId": 7499, "debugOptions": [ "ShowReturnValue", "RedirectOutput" ] } } I+02.724: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ) D+02.772: Adapter[1] --> { "seq": 4, "type": "event", "event": "debugpyWaitingForServer", "body": { "host": "127.0.0.1", "port": 45669 } } D+03.784: Adapter[1] --> { "seq": 5, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 1.02s).\n" } } D+04.792: Adapter[1] --> { "seq": 6, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 2.02s).\n" } } D+05.796: Adapter[1] --> { "seq": 7, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 3.03s).\n" } } D+06.809: Adapter[1] --> { "seq": 8, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 4.04s).\n" } } D+07.812: Adapter[1] --> { "seq": 9, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 5.04s).\n" } } D+08.824: Adapter[1] --> { "seq": 10, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 6.06s).\n" } } D+09.831: Adapter[1] --> { "seq": 11, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 7.06s).\n" } } D+10.836: Adapter[1] --> { "seq": 12, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 8.07s).\n" } } D+11.840: Adapter[1] --> { "seq": 13, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 9.07s).\n" } } D+12.855: Adapter[1] --> { "seq": 14, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 10.08s).\n" } } D+12.856: Adapter[1] --> { "seq": 15, "type": "event", "event": "output", "body": { "category": "stdout", "output": "\nThe attach to PID is taking longer than expected.\n" } } D+12.856: Adapter[1] --> { "seq": 16, "type": "event", "event": "output", "body": { "category": "stdout", "output": "On Linux it's possible to customize the value of\n" } } D+12.857: Adapter[1] --> { "seq": 17, "type": "event", "event": "output", "body": { "category": "stdout", "output": "`PYDEVD_GDB_SCAN_SHARED_LIBRARIES` so that fewer libraries.\n" } } D+12.857: Adapter[1] --> { "seq": 18, "type": "event", "event": "output", "body": { "category": "stdout", "output": "are scanned when searching for the needed symbols.\n\n" } } D+12.858: Adapter[1] --> { "seq": 19, "type": "event", "event": "output", "body": { "category": "stdout", "output": "i.e.: set in your environment variables (and restart your editor/client\n" } } D+12.858: Adapter[1] --> { "seq": 20, "type": "event", "event": "output", "body": { "category": "stdout", "output": "so that it picks up the updated environment variable value):\n\n" } } D+12.859: Adapter[1] --> { "seq": 21, "type": "event", "event": "output", "body": { "category": "stdout", "output": "PYDEVD_GDB_SCAN_SHARED_LIBRARIES=libdl, libltdl, libc, libfreebl3\n\n" } } D+12.916: Adapter[1] --> { "seq": 22, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- the actual library may be different (the gdb output typically\n" } } D+12.916: Adapter[1] --> { "seq": 23, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- writes the libraries that will be used, so, it should be possible\n" } } D+12.917: Adapter[1] --> { "seq": 24, "type": "event", "event": "output", "body": { "category": "stdout", "output": "-- to test other libraries if the above doesn't work).\n\n" } } D+12.918: Adapter[1] --> { "seq": 25, "type": "event", "event": "output", "body": { "category": "stderr", "output": "--- Starting attach to pid: 7499 ---\nPYDEVD_GDB_SCAN_SHARED_LIBRARIES not set (scanning all libraries for needed symbols).\nRunning: gdb --nw --nh --nx --pid 7499 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen(\"/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach.so\", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, \"import codecs;import json;import sys;decode = lambda s: codecs.utf_8_decode(bytearray(s))[0] if s is not None else None;script_dir = decode([47, 98, 117, 105, 108, 100, 47, 114, 101, 112, 114, 111, 100, 117, 99, 105, 98, 108, 101, 45, 112, 97, 116, 104, 47, 100, 101, 98, 117, 103, 112, 121, 45, 49, 46, 56, 46, 48, 43, 100, 115, 47, 46, 112, 121, 98, 117, 105, 108, 100, 47, 99, 112, 121, 116, 104, 111, 110, 51, 95, 51, 46, 49, 49, 95, 100, 101, 98, 117, 103, 112, 121, 47, 98, 117, 105, 108, 100, 47, 100, 101, 98, 117, 103, 112, 121, 47, 97, 100, 97, 112, 116, 101, 114, 47, 46, 46, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 46, 46, 47, 100, 101, 98, 117, 103, 112, 121, 47, 115, 101, 114, 118, 101, 114]);setup = json.loads(decode([123, 34, 109, 111, 100, 101, 34, 58, 32, 34, 99, 111, 110, 110, 101, 99, 116, 34, 44, 32, 34, 97, 100, 100, 114, 101, 115, 115, 34, 58, 32, 91, 34, 49, 50, 55, 46, 48, 46, 48, 46, 49, 34, 44, 32, 52, 53, 54, 54, 57, 93, 44, 32, 34, 119, 97, 105, 116, 95, 102, 111, 114, 95, 99, 108, 105, 101, 110, 116, 34, 58, 32, 102, 97, 108, 115, 101, 44, 32, 34, 108, 111, 103, 95, 116, 111, 34, 58, 32, 110, 117, 108, 108, 44, 32, 34, 97, 100, 97, 112, 116, 101, 114, 95, 97, 99, 99, 101, 115, 115, 95, 116, 111, 107, 101, 110, 34, 58, 32, 34, 100, 53, 53, 51, 52, 55, 98, 100, 50, 56, 53, 49, 54, 53, 101, 101, 54, 98, 50, 57, 53, 52, 102, 98, 97, 99, 48, 52, 97, 51, 48, 49, 53, 48, 101, 100, 49, 97, 52, 57, 53, 56, 48, 57, 51, 52, 55, 48, 100, 97, 100, 99, 49, 97, 55, 100, 97, 54, 98, 51, 50, 99, 57, 56, 34, 125]));sys.path.insert(0, script_dir);import attach_pid_injected;del sys.path[0];attach_pid_injected.attach(setup);\", 0)'\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/type_printers.py\", line 17, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\nTraceback (most recent call last):\n File \"\", line 1072, in _find_spec\nAttributeError: 'GdbRemoveReadlineFinder' object has no attribute 'find_spec'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/usr/share/gdb/python/gdb/__init__.py\", line 183, in _auto_load_packages\n __import__(modname)\n File \"/usr/share/gdb/python/gdb/command/pretty_printers.py\", line 19, in \n import copy\n File \"/usr/lib/python3.11/copy.py\", line 60, in \n from org.python.core import PyStringMap\n File \"\", line 1176, in _find_and_load\n File \"\", line 1138, in _find_and_load_unlocked\n File \"\", line 1074, in _find_spec\n File \"\", line 1047, in _find_spec_legacy\nImportWarning: GdbRemoveReadlineFinder.find_spec() not found; falling back to find_module()\n\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library \"/lib/arm-linux-gnueabihf/libthread_db.so.1\".\n0xf7e2eb04 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6\nThe target architecture is set to \"auto\" (currently \"armv7\").\n$1 = (void *) 0x13e29e8\n" } } D+13.888: Adapter[1] --> { "seq": 26, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 11.12s).\n" } } D+14.896: Adapter[1] --> { "seq": 27, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 12.13s).\n" } } D+15.904: Adapter[1] --> { "seq": 28, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 13.14s).\n" } } D+16.917: Adapter[1] --> { "seq": 29, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 14.15s).\n" } } D+16.917: Adapter[1] --> { "seq": 30, "type": "event", "event": "output", "body": { "category": "stderr", "output": "[Detaching after vfork from child process 7832]\n" } } D+17.815: Adapter[1] --> { "seq": 31, "type": "response", "request_seq": 2, "success": false, "command": "attach", "message": "Timed out waiting for debug server to connect." } I+17.958: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "attach", "request_seq": 2, ...} ): where {..., "type": "response", "command": "attach", "request_seq": 2, ...} == {"seq": 31, "type": "response", "command": "attach", "request_seq": 2} I+17.958: Ending Session[1]. D+17.987: Adapter[1] --> { "seq": 32, "type": "event", "event": "output", "body": { "category": "stdout", "output": "Attaching to PID: 7499 (elapsed: 15.20s).\n" } } E+17.990: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_output.py", line 125, in test_redirect_output with run(session, target(code_to_debug)): File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 202, in attach_pid with session.request_attach(): ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 638, in request_attach return self._request_start("attach") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debug server to connect. Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_output.py", line 122, in test_redirect_output with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+17.990: Killing Adapter[1]. I+17.991: Killing Debuggee[1]. D+18.023: Exiting message loop for channel Adapter[1]: No more messages D+18.023: Closing Adapter[1] message stream I+18.039: Waiting for Adapter[1] to close listener ports ... I+18.039: Waiting for Adapter[1] with PID=7503 to exit. D+18.047: watchdog-27663 <-- ['unregister_spawn', 7503, 'Adapter[1]'] D+18.048: watchdog-27663 --> ['ok'] _ test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] _ [gw10] linux -- Python 3.11.9 /usr/bin/python3.11 pyfile = .factory at 0xf5834c08> tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2') run = launch(console=integratedTerminal) target = , python_key = 'python' python = ['/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/custompy.sh', '-O'] python_args = ['-B'] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() > with run(session, target(code_to_debug)): tests/debugpy/test_run.py:280: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/debug/runners.py:82: in __call__ return f(session, target, *self._args, **self._kwargs) tests/debug/runners.py:148: in launch return session.request_launch() tests/debug/session.py:635: in request_launch return self._request_start("launch") tests/debug/session.py:599: in _request_start start_request.response.result # raise exception if failed tests/timeline.py:1115: in result return self.message.result _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = @property def result(self): """Result of the request. Returns the value of response.body, unless it is an exception, in which case it is raised instead. """ if self.success: return self.body else: > raise self.body E debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn debugpy/common/messaging.py:908: MessageHandlingError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+22.734: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/tests-5597.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] started. I+00.481: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+00.498: Starting Session[1] I+00.532: Listening for incoming connection from BackChannel[1] on port 56853... I+00.532: Launching program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/code_to_debug.py" in Session[1] using "integratedTerminal". I+00.533: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]" I+00.534: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "56853" } I+00.564: Spawned Adapter[1] with PID=7538 D+00.576: watchdog-5597 <-- ['register_spawn', 7538, 'Adapter[1]'] D+00.577: watchdog-5597 --> ['ok'] D+00.600: Starting message loop for channel Adapter[1] I+00.604: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+02.786: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+02.803: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+02.815: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+02.820: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } D+02.838: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+02.840: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} I+02.842: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+02.843: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/custompy.sh", "-O" ], "pythonArgs": [ "-B" ], "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/code_to_debug.py", "args": [], "console": "integratedTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+02.865: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+02.882: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "integrated", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "40819", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2" } } I+02.885: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2" Command line: [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "40819", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] (call)", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "56853", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra2/Session[1]/adapter_endpoints" } I+02.918: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=7610 D+02.936: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 <-- ['register_spawn', 7610, 'Debuggee[1]'] D+02.940: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 --> ['ok'] I+02.941: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout I+02.948: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr D+02.964: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+21.422: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 2, "success": false, "command": "launch", "message": "Timed out waiting for debuggee to spawn" } I+21.427: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 5, "type": "response", "command": "launch", "request_seq": 2} I+21.427: Ending Session[1]. E+21.431: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 280, in test_custom_python_args with run(session, target(code_to_debug)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 82, in __call__ return f(session, target, *self._args, **self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 148, in launch return session.request_launch() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 635, in request_launch return self._request_start("launch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 271, in test_custom_python_args with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+21.492: Killing Adapter[1]. I+21.493: Killing Debuggee[1]. D+21.493: Closing Adapter[1] message stream D+21.518: Exiting message loop for channel Adapter[1]: No more messages I+21.532: Waiting for Adapter[1] to close listener ports ... I+21.532: Waiting for Adapter[1] with PID=7538 to exit. D+21.533: watchdog-5597 <-- ['unregister_spawn', 7538, 'Adapter[1]'] D+21.533: watchdog-5597 --> ['ok'] D+21.534: Closing BackChannel[1] server socket... _ test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] _ [gw10] linux -- Python 3.11.9 /usr/bin/python3.11 pyfile = .factory at 0xf4382ac8> tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3') run = launch(console=externalTerminal) target = , python_key = 'python' python = ['/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/custompy.sh', '-O'] python_args = ['-B'] @pytest.mark.parametrize("run", runners.all_launch) @pytest.mark.parametrize("python_args", [None, "-B"]) @pytest.mark.parametrize("python", [None, "custompy", "custompy,-O"]) @pytest.mark.parametrize("python_key", ["python", "pythonPath"]) def test_custom_python_args( pyfile, tmpdir, run, target, python_key, python, python_args ): @pyfile def code_to_debug(): import sys import debuggee from debuggee import backchannel debuggee.setup() backchannel.send([sys.flags.optimize, sys.flags.dont_write_bytecode]) custompy = make_custompy(tmpdir) python = [] if python is None else python.split(",") python = [(custompy if arg == "custompy" else arg) for arg in python] python_args = [] if python_args is None else python_args.split(",") python_cmd = (python if len(python) else [sys.executable]) + python_args with debug.Session() as session: session.config.pop("python", None) session.config.pop("pythonPath", None) if len(python): session.config[python_key] = python[0] if len(python) == 1 else python if len(python_args): session.config["pythonArgs"] = python_args backchannel = session.open_backchannel() > with run(session, target(code_to_debug)): tests/debugpy/test_run.py:280: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/debug/runners.py:82: in __call__ return f(session, target, *self._args, **self._kwargs) tests/debug/runners.py:148: in launch return session.request_launch() tests/debug/session.py:635: in request_launch return self._request_start("launch") tests/debug/session.py:599: in _request_start start_request.response.result # raise exception if failed tests/timeline.py:1115: in result return self.message.result _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = @property def result(self): """Result of the request. Returns the value of response.body, unless it is an exception, in which case it is raised instead. """ if self.success: return self.body else: > raise self.body E debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn debugpy/common/messaging.py:908: MessageHandlingError ---------------------------- Captured stdout setup ----------------------------- ---------------------------- Captured stderr setup ----------------------------- I+23.934: Also logging to "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/tests-5597.log". I+00.000: tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] started. I+01.015: Environment: System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 ----------------------------- Captured stderr call ----------------------------- I+01.044: Starting Session[1] I+01.105: Listening for incoming connection from BackChannel[1] on port 41977... I+01.106: Launching program "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/code_to_debug.py" in Session[1] using "externalTerminal". I+01.107: Logs for Session[1] will be in "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]" I+01.108: Spawning Adapter[1]: Command line: [ "/usr/bin/python3.11", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] (call)", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "41977" } I+01.158: Spawned Adapter[1] with PID=7983 D+01.169: watchdog-5597 <-- ['register_spawn', 7983, 'Adapter[1]'] D+01.170: watchdog-5597 --> ['ok'] D+01.193: Starting message loop for channel Adapter[1] I+01.194: Waiting for next ({..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } }) D+04.374: Adapter[1] --> { "seq": 1, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": "1.8.0" } } } D+04.390: Adapter[1] --> { "seq": 2, "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": "1.8.0" } } } I+04.397: Realized ( 1.mark('START') >> ( {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } & {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } ) ): where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "ptvsd", "data": { "packageVersion": } } } == {"seq": 1, "type": "event", "event": "output"} where {..., "type": "event", "event": "output", "body": { "category": "telemetry", "output": "debugpy", "data": { "packageVersion": } } } == {"seq": 2, "type": "event", "event": "output"} D+04.438: Adapter[1] <-- { "seq": 1, "type": "request", "command": "initialize", "arguments": { "pathFormat": "path", "clientID": "vscode", "adapterID": "test", "linesStartAt1": true, "columnsStartAt1": true, "supportsVariableType": true, "supportsRunInTerminalRequest": true, "supportsArgsCanBeInterpretedByShell": true, "supportsStartDebuggingRequest": false } } I+04.439: Waiting for {..., "type": "response", "command": "initialize", "request_seq": 1, ...} D+04.455: Adapter[1] --> { "seq": 3, "type": "response", "request_seq": 1, "success": true, "command": "initialize", "body": { "supportsCompletionsRequest": true, "supportsConditionalBreakpoints": true, "supportsConfigurationDoneRequest": true, "supportsDebuggerProperties": true, "supportsDelayedStackTraceLoading": true, "supportsEvaluateForHovers": true, "supportsExceptionInfoRequest": true, "supportsExceptionOptions": true, "supportsFunctionBreakpoints": true, "supportsHitConditionalBreakpoints": true, "supportsLogPoints": true, "supportsModulesRequest": true, "supportsSetExpression": true, "supportsSetVariable": true, "supportsValueFormattingOptions": true, "supportsTerminateRequest": true, "supportsGotoTargetsRequest": true, "supportsClipboardContext": true, "exceptionBreakpointFilters": [ { "filter": "raised", "label": "Raised Exceptions", "default": false, "description": "Break whenever any exception is raised." }, { "filter": "uncaught", "label": "Uncaught Exceptions", "default": true, "description": "Break when the process is exiting due to unhandled exception." }, { "filter": "userUnhandled", "label": "User Uncaught Exceptions", "default": false, "description": "Break when exception escapes into library code." } ], "supportsStepInTargetsRequest": true } } I+04.458: Realized {..., "type": "response", "command": "initialize", "request_seq": 1, ...} == {"seq": 3, "type": "response", "command": "initialize", "request_seq": 1} D+04.459: Adapter[1] <-- { "seq": 2, "type": "request", "command": "launch", "arguments": { "justMyCode": true, "name": "Test", "type": "python", "python": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/custompy.sh", "-O" ], "pythonArgs": [ "-B" ], "program": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/code_to_debug.py", "args": [], "console": "externalTerminal", "internalConsoleOptions": "neverOpen", "debugOptions": [ "ShowReturnValue" ] } } I+04.470: Waiting for ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ) D+04.499: Adapter[1] --> { "seq": 4, "type": "request", "command": "runInTerminal", "arguments": { "kind": "external", "title": "Python Debug Console", "args": [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "39199", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/code_to_debug.py" ], "env": { "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]" }, "cwd": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3" } } I+04.511: /handling #4 request "runInTerminal" from Adapter[1]/ Spawning Debuggee[1]: Current directory: "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3" Command line: [ "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/custompy.sh", "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/adapter/../../debugpy/launcher", "39199", "--", "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/code_to_debug.py" ] Environment variables: { "DEB_HOST_GNU_SYSTEM": "linux-gnueabihf", "SUDO_GID": "113", "DFLAGS": "-frelease", "DEB_BUILD_ARCH_BITS": "32", "DEB_TARGET_GNU_CPU": "arm", "MAIL": "/var/mail/root", "DEB_HOST_ARCH_OS": "linux", "LANGUAGE": "en_US:en", "USER": "pbuilder1", "ASFLAGS_FOR_BUILD": "", "no_proxy": "localhost", "CXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "CCACHE_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/ccache", "DEB_BUILD_GNU_TYPE": "arm-linux-gnueabihf", "BUILDUSERNAME": "pbuilder1", "FFLAGS_FOR_BUILD": "-g -O2", "DEB_TARGET_MULTIARCH": "arm-linux-gnueabihf", "OBJCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "DH_INTERNAL_OPTIONS": "-O--buildsystem=pybuild", "DEB_BUILD_ARCH_CPU": "arm", "SHLVL": "2", "DEB_HOST_ARCH_LIBC": "gnu", "DEB_HOST_ARCH_ABI": "eabihf", "PYBUILD_AFTER_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd", "OLDPWD": "/build/reproducible-path/debugpy-1.8.0+ds", "BUILDUSERGECOS": "first user,first room,first work-phone,first home-phone,first other", "HOME": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy", "DEB_BUILD_ARCH_ENDIAN": "little", "DFLAGS_FOR_BUILD": "-frelease", "LDFLAGS": "-Wl,-z,relro", "DEB_TARGET_ARCH_BITS": "32", "DEB_BUILD_GNU_SYSTEM": "linux-gnueabihf", "MAKEFLAGS": "w", "PBUILDER_OPERATION": "build", "CXXFLAGS_FOR_BUILD": "-g -O2", "OBJCFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_ARCH_OS": "linux", "DEB_TARGET_GNU_TYPE": "arm-linux-gnueabihf", "SUDO_UID": "107", "PBUILDER_PKGDATADIR": "/usr/share/pbuilder", "DEB_TARGET_ARCH_CPU": "arm", "https_proxy": "https://127.0.0.1:9/", "LOGNAME": "pbuilder1", "PYBUILD_TEST_ARGS": "--deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]'", "DEB_BUILD_ARCH_LIBC": "gnu", "DEB_BUILD_ARCH_ABI": "eabihf", "PBUILDER_SYSCONFDIR": "/etc", "_": "/usr/bin/unshare", "PYBUILD_NAME": "debugpy", "DEB_HOST_ARCH": "armhf", "LDFLAGS_FOR_BUILD": "", "DEB_TARGET_ARCH_ENDIAN": "little", "TERM": "unknown", "DH_INTERNAL_OVERRIDE": "dh_auto_test", "DEB_HOST_GNU_CPU": "arm", "DEB_TARGET_GNU_SYSTEM": "linux-gnueabihf", "_PYTHON_HOST_PLATFORM": "linux-armv7l", "PATH": "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games", "INVOCATION_ID": "8d36d513fe784022b0a9ef396dbe6ccc", "DEB_TARGET_ARCH_OS": "linux", "CFLAGS": "-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "MAKELEVEL": "2", "XDG_RUNTIME_DIR": "/tmp/dh-xdg-rundir-A5ZQYKEA", "DEB_HOST_MULTIARCH": "arm-linux-gnueabihf", "SOURCE_DATE_EPOCH": "1704791062", "FCFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "OBJCXXFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security", "LANG": "C", "LD_PRELOAD": "", "DEB_TARGET_ARCH_LIBC": "gnu", "DEB_TARGET_ARCH_ABI": "eabihf", "PBUILDER_PKGLIBDIR": "/usr/lib/pbuilder", "DEB_BUILD_OPTIONS": "buildinfo=+all reproducible=+all parallel=3 ", "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.jkwMB3A2/pbuilderrc_HJPw --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.jkwMB3A2/b1 --logfile b1/build.log debugpy_1.8.0+ds-4.dsc", "CPPFLAGS": "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2", "DEBIAN_FRONTEND": "noninteractive", "DH_INTERNAL_BUILDFLAGS": "1", "SHELL": "/bin/bash", "DEB_HOST_ARCH_BITS": "32", "DEB_BUILD_ARCH": "armhf", "SUDO_USER": "jenkins", "DEB_PYTHON_INSTALL_LAYOUT": "deb", "CFLAGS_FOR_BUILD": "-g -O2", "DEB_BUILD_GNU_CPU": "arm", "PYBUILD_BEFORE_TEST": "rm -rf {build_dir}/debugpy/_vendored/pydevd; mkdir {build_dir}/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top {build_dir}/debugpy/_vendored/pydevd; done", "ASFLAGS": "", "DEB_HOST_GNU_TYPE": "arm-linux-gnueabihf", "FCFLAGS_FOR_BUILD": "-g -O2", "LC_ALL": "C", "OBJCXXFLAGS_FOR_BUILD": "-g -O2", "PWD": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "DEB_HOST_ARCH_CPU": "arm", "DEB_RULES_REQUIRES_ROOT": "no", "FFLAGS": "-g -O2 -ffile-prefix-map=/build/reproducible-path/debugpy-1.8.0+ds=. -fstack-protector-strong -fstack-clash-protection", "DEB_BUILD_MULTIARCH": "arm-linux-gnueabihf", "CPPFLAGS_FOR_BUILD": "", "PYTHONPATH": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/DEBUGGEE_PYTHONPATH:/build/reproducible-path/debugpy-1.8.0+ds/debian/python3-debugpy/usr/lib/python3.11/dist-packages:/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build", "MFLAGS": "-w", "TZ": "/usr/share/zoneinfo/Etc/GMT+12", "PBCURRENTCOMMANDLINEOPERATION": "build", "DEB_HOST_ARCH_ENDIAN": "little", "DEB_TARGET_ARCH": "armhf", "PYTEST_XDIST_TESTRUNUID": "542d203fdd774d728920841598dbf840", "PYTEST_XDIST_WORKER": "gw10", "PYTEST_XDIST_WORKER_COUNT": "8", "PYTEST_CURRENT_TEST": "tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] (call)", "DEBUGPY_LOG_DIR": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]", "PYTHONUNBUFFERED": "1", "PYTHONWARNINGS": "error", "DEBUGPY_TEST_SESSION_ID": "1", "PYDEVD_DEBUG": "True", "PYDEVD_DEBUG_FILE": "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32/tests/debugpy/test_run.py/test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)]/Session[1]/pydevd.log", "DEBUGPY_TEST_BACKCHANNEL_PORT": "41977", "DEBUGPY_ADAPTER_ENDPOINTS": "/tmp/pytest-of-pbuilder1/pytest-1/popen-gw10/test_custom_python_args_progra3/Session[1]/adapter_endpoints" } I+04.535: /handling #4 request "runInTerminal" from Adapter[1]/ Spawned Debuggee[1] with PID=8067 D+04.547: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 <-- ['register_spawn', 8067, 'Debuggee[1]'] D+04.548: /handling #4 request "runInTerminal" from Adapter[1]/ watchdog-5597 --> ['ok'] I+04.548: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stdout I+04.569: /handling #4 request "runInTerminal" from Adapter[1]/ Capturing Debuggee[1] stderr D+04.570: /handling #4 request "runInTerminal" from Adapter[1]/ Adapter[1] <-- { "seq": 3, "type": "response", "request_seq": 4, "success": true, "command": "runInTerminal" } D+21.766: Adapter[1] --> { "seq": 5, "type": "response", "request_seq": 2, "success": false, "command": "launch", "message": "Timed out waiting for debuggee to spawn" } I+21.773: Realized ( {..., "type": "event", "event": "initialized", ...} | {..., "type": "response", "command": "launch", "request_seq": 2, ...} ): where {..., "type": "response", "command": "launch", "request_seq": 2, ...} == {"seq": 5, "type": "response", "command": "launch", "request_seq": 2} I+21.773: Ending Session[1]. E+21.784: Traceback (most recent call last): File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 280, in test_custom_python_args with run(session, target(code_to_debug)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 82, in __call__ return f(session, target, *self._args, **self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/runners.py", line 148, in launch return session.request_launch() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 635, in request_launch return self._request_start("launch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 599, in _request_start start_request.response.result # raise exception if failed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/timeline.py", line 1115, in result return self.message.result ^^^^^^^^^^^^^^^^^^^ File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/messaging.py", line 908, in result raise self.body debugpy.common.messaging.MessageHandlingError: Timed out waiting for debuggee to spawn Stack where logged: File "", line 1, in File "", line 8, in File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1640, in serve WorkerGateway(io=io, id=id, _startcount=2).serve() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1142, in serve self._execpool.integrate_as_primary_thread() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 343, in integrate_as_primary_thread self._perform_spawn(reply) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 361, in _perform_spawn reply.run() File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 296, in run self._result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 1157, in executetask exec(co, loc) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 355, in config.hook.pytest_cmdline_main(config=config) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 332, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3/dist-packages/_pytest/main.py", line 285, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3/dist-packages/_pytest/main.py", line 339, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/xdist/remote.py", line 157, in pytest_runtestloop self.run_one_test() File "/usr/lib/python3/dist-packages/xdist/remote.py", line 174, in run_one_test self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 115, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 134, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 239, in call_and_report call = CallInfo.from_call( File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 340, in from_call result: Optional[TResult] = func() File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 240, in lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 172, in pytest_runtest_call item.runtest() File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1772, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 501, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 119, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 102, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3/dist-packages/_pytest/python.py", line 195, in pytest_pyfunc_call result = testfunction(**testargs) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debugpy/test_run.py", line 271, in test_custom_python_args with debug.Session() as session: File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/debug/session.py", line 248, in __exit__ log.swallow_exception(exc_info=(exc_type, exc_val, exc_tb)) File "/build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/common/log.py", line 215, in swallow_exception _exception(format_string, *args, **kwargs) I+21.784: Killing Adapter[1]. I+21.799: Killing Debuggee[1]. D+21.799: Closing Adapter[1] message stream D+21.801: Exiting message loop for channel Adapter[1]: No more messages I+21.805: Waiting for Adapter[1] to close listener ports ... I+21.805: Waiting for Adapter[1] with PID=7983 to exit. D+21.821: watchdog-5597 <-- ['unregister_spawn', 7983, 'Adapter[1]'] D+21.822: watchdog-5597 --> ['ok'] D+21.822: Closing BackChannel[1] server socket... 0.01s - Debugger warning: It seems that frozen modules are being used, which may 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off 0.00s - to python to disable frozen modules. 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. I+03.446: debugpy and pydevd logs will be under /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32 =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/fixtures.py:1314: 22 warnings /usr/lib/python3/dist-packages/_pytest/fixtures.py:1314: PytestRemovedIn9Warning: Marks applied to fixtures have no effect See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function return fixture_marker(fixture_function) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] FAILED tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] FAILED tests/debugpy/test_gevent.py::test_gevent[program-launch] FAILED tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] FAILED tests/debugpy/test_multiproc.py::test_subprocess[program-launch--None] FAILED tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] FAILED tests/debugpy/test_multiproc.py::test_argv_quoting[program-launch] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] FAILED tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] FAILED tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] ERROR tests/debugpy/test_exception.py::test_success_exitcodes[-break_on_system_exit_zero-3-attach_pid-module] ERROR tests/debugpy/test_exception.py::test_success_exitcodes[--3-attach_pid-program] ERROR tests/debugpy/test_output.py::test_with_no_output[program-attach_pid] ERROR tests/debugpy/test_output.py::test_redirect_output[program-disabled-attach_pid] ERROR tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=externalTerminal)] ERROR tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=internalConsole)] ERROR tests/debugpy/test_output.py::test_redirect_output[program-enabled-attach_pid] ERROR tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)] ERROR tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=externalTerminal)] = 12 failed, 1167 passed, 38 skipped, 22 warnings, 9 errors in 1522.67s (0:25:22) = E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build; python3.11 -m pytest --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]' dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13 I: pybuild pybuild:308: rm -rf /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/debugpy/_vendored/pydevd; mkdir /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/debugpy/_vendored/pydevd; done I: pybuild base:311: cd /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build; python3.12 -m pytest --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]' -n1 ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.1.1, pluggy-1.4.0 Test environment for tests-17114 System paths: sys.executable: /usr/bin/python3.12 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.12/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.12/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/.local/lib/python3.12/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.12 sysconfig.get_path('platstdlib'): /usr/lib/python3.12 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.12 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.12/os.py threading.__file__: /usr/lib/python3.12/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 rootdir: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build configfile: pytest.ini testpaths: tests plugins: timeout-2.3.1, xdist-3.5.0 timeout: 30.0s timeout method: thread timeout func_only: False created: 1/1 worker 1 worker [1216 items] ........................................................................ [ 5%] ...........................sss.......................................... [ 11%] ........................................................................ [ 17%] ........................................................................ [ 23%] ........................................................................ [ 29%] ........................................................................ [ 35%] ........................................................................ [ 41%] ........................................................................ [ 47%] ........................................................................ [ 53%] ........................................................................ [ 59%] ........................................................................ [ 65%] .......................................................................s [ 71%] .s.s.s.s................................................................ [ 76%] ..sss................................................................... [ 82%] ........sss............................................................. [ 88%] ........ssssssssssssssssssssssss........................................ [ 94%] ................................................................ [100%]0.01s - Debugger warning: It seems that frozen modules are being used, which may 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off 0.00s - to python to disable frozen modules. 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. I+01.374: debugpy and pydevd logs will be under /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/tests/_logs/3.12-32 =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/fixtures.py:1314 ../../../../../../usr/lib/python3/dist-packages/_pytest/fixtures.py:1314 /usr/lib/python3/dist-packages/_pytest/fixtures.py:1314: PytestRemovedIn9Warning: Marks applied to fixtures have no effect See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function return fixture_marker(fixture_function) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ========== 1178 passed, 38 skipped, 2 warnings in 4727.91s (1:18:47) =========== I: pybuild pybuild:334: rm -rf /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.12_debugpy/build/debugpy/_vendored/pydevd I: pybuild pybuild:308: rm -rf /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd; mkdir /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd; for pydevd_top in _pydev_bundle _pydev_runfiles _pydevd_bundle _pydevd_frame_eval pydev_app_engine_debug_startup.py pydev_ipython pydev_run_in_console.py pydevconsole.py pydevd.py pydevd_attach_to_process pydevd_file_utils.py pydevd_plugins pydevd_tracing.py; do ln -s /usr/lib/python3/dist-packages/$pydevd_top /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/_vendored/pydevd; done I: pybuild base:311: cd /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build; python3.11 -m pytest --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]' -n1 ============================= test session starts ============================== platform linux -- Python 3.11.9, pytest-8.1.1, pluggy-1.4.0 Test environment for tests-31287 System paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr sys.real_prefix: site.getsitepackages(): /usr/lib/python3.11/dist-packages /usr/lib/python3/dist-packages /usr/local/lib/python3.11/dist-packages site.getusersitepackages(): /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/.local/lib/python3.11/site-packages sysconfig.get_path('stdlib'): /usr/lib/python3.11 sysconfig.get_path('platstdlib'): /usr/lib/python3.11 sysconfig.get_path('purelib'): /usr/lib/python3/dist-packages sysconfig.get_path('platlib'): /usr/lib/python3/dist-packages sysconfig.get_path('include'): /usr/include/python3.11 sysconfig.get_path('scripts'): /usr/bin sysconfig.get_path('data'): /usr os.__file__: /usr/lib/python3.11/os.py threading.__file__: /usr/lib/python3.11/threading.py debugpy.__file__: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/debugpy/__init__.py Installed packages: debugpy==1.8.0 debugpy==1.8.0 pytest-timeout==2.3.1 bytecode==0.15.1 Flask==3.0.3 click==8.1.7 zope.interface==6.1 gevent==24.2.1 blinker==1.7.0 pydevd==2.10.0 execnet==2.0.2 build==1.1.1 idna==3.6 setuptools==68.1.2 coverage==7.2.7 MarkupSafe==2.1.5 wheel==0.43.0 six==1.16.0 toml==0.10.2 pluggy==1.4.0 colorama==0.4.6 certifi==2023.11.17 Werkzeug==3.0.2 charset-normalizer==3.3.2 zope.event==5.0 pyproject_hooks==1.0.0 pytest==8.1.1 sqlparse==0.4.4 installer==0.7.0 Django==4.2.11 urllib3==1.26.18 chardet==5.2.0 asgiref==3.8.1 packaging==24.0 psutil==5.9.8 Jinja2==3.1.3 pytest-xdist==3.5.0 itsdangerous==2.1.2 iniconfig==1.1.1 greenlet==3.0.1 requests==2.31.0 rootdir: /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build configfile: pytest.ini testpaths: tests plugins: timeout-2.3.1, xdist-3.5.0 timeout: 30.0s timeout method: thread timeout func_only: False created: 1/1 worker 1 worker [1216 items] ........................................................................ [ 5%] ...........................sss.......................................... [ 11%] ........................................................................ [ 17%] ........................................................................ [ 23%] ........................................................................ [ 29%] ........................................................................ [ 35%] ........................................................................ [ 41%] ..............Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pytest_timeout.py", line 530, in timeout_timer dump_stacks(terminal) TypeError: () takes 0 positional arguments but 1 was given [gw0] node down: Not properly terminated F replacing crashed worker gw0 ........................................................................ [ 48%] ................................s.s.s.s.s............................... [ 54%] ...................................sss.................................. [ 60%] .........................................sss............................ [ 66%] .........................................ssssssssssssssssssssssss....... [ 72%] ........................................................................ [ 78%] ........................................................................ [ 84%] ........................................................................ [ 89%] ........................................................................ [ 95%] .................................................0.01s - Debugger warning: It seems that frozen modules are being used, which may 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off 0.00s - to python to disable frozen modules. 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. I+02.698: debugpy and pydevd logs will be under /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build/tests/_logs/3.11-32 =================================== FAILURES =================================== _______________________ tests/debugpy/test_exception.py ________________________ [gw0] linux -- Python 3.11.9 /usr/bin/python3.11 worker 'gw0' crashed while running 'tests/debugpy/test_exception.py::test_systemexit[nan-zero-uncaught--launch(console=integratedTerminal)-module]' =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/fixtures.py:1314 ../../../../../../usr/lib/python3/dist-packages/_pytest/fixtures.py:1314 ../../../../../../usr/lib/python3/dist-packages/_pytest/fixtures.py:1314 ../../../../../../usr/lib/python3/dist-packages/_pytest/fixtures.py:1314 /usr/lib/python3/dist-packages/_pytest/fixtures.py:1314: PytestRemovedIn9Warning: Marks applied to fixtures have no effect See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function return fixture_marker(fixture_function) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/debugpy/test_exception.py::test_systemexit[nan-zero-uncaught--launch(console=integratedTerminal)-module] ===== 1 failed, 1177 passed, 38 skipped, 4 warnings in 4426.74s (1:13:46) ====== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/debugpy-1.8.0+ds/.pybuild/cpython3_3.11_debugpy/build; python3.11 -m pytest --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-int]' --deselect='tests/debugpy/test_attach.py::test_attach_pid_client[program-str]' -n1 dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13 make[1]: *** [debian/rules:45: override_dh_auto_test] Error 25 make[1]: Leaving directory '/build/reproducible-path/debugpy-1.8.0+ds' make: *** [debian/rules:9: binary] Error 2 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/31572 and its subdirectories Thu Apr 18 17:49:55 UTC 2024 W: No second build log, what happened?