https://launchpad.net/~pythoneers/+archive/ubuntu/python3.11/+build/24561511 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-ppc64el-003 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:08:20 UTC 2022 ppc64le Buildd toolchain package versions: launchpad-buildd_223~593~ubuntu20.04.1 python3-lpbuildd_223~593~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git-build-recipe_0.3.6 git_1:2.25.1-1ubuntu3.6 dpkg-dev_1.19.7ubuntu3.2 python3-debian_0.1.36ubuntu1. Syncing the system clock with the buildd NTP service... 20 Oct 19:59:45 ntpdate[1945]: adjust time server 10.211.37.1 offset 0.091210 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24561511 --image-type chroot /home/buildd/filecache-default/e4330c05b9443322bc2e60ef89a014a41584dba0 Creating target for build PACKAGEBUILD-24561511 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24561511 Starting target for build PACKAGEBUILD-24561511 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24561511 'deb http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic main' 'deb http://ftpmaster.internal/ubuntu kinetic main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu kinetic-security main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu kinetic-updates main restricted universe multiverse' 'deb http://ftpmaster.internal/ubuntu kinetic-proposed main restricted universe multiverse' 'deb http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic main' 'deb http://ppa.launchpadcontent.net/pythoneers/python3.11-numpy/ubuntu kinetic main' Overriding sources.list in build-PACKAGEBUILD-24561511 RUN: /usr/share/launchpad-buildd/bin/in-target add-trusted-keys --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24561511 Adding trusted keys to build-PACKAGEBUILD-24561511 pub rsa1024/224D9D15EE176F89 2009-02-24 [SC] Key fingerprint = B407 A109 E998 1948 D6FA 93ED 224D 9D15 EE17 6F89 uid Launchpad PPA for Ubuntu Pythoneers RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24561511 Updating target for build PACKAGEBUILD-24561511 Get:1 http://ftpmaster.internal/ubuntu kinetic InRelease [267 kB] Get:2 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic InRelease [17.6 kB] Get:3 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic InRelease [17.6 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic-security InRelease [90.7 kB] Get:5 http://ppa.launchpadcontent.net/pythoneers/python3.11-numpy/ubuntu kinetic InRelease [17.6 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic-updates InRelease [90.7 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic-proposed InRelease [267 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic/main ppc64el Packages [1332 kB] Get:9 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el Packages [227 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main Translation-en [509 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic/restricted ppc64el Packages [4980 B] Get:12 http://ftpmaster.internal/ubuntu kinetic/restricted Translation-en [18.0 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el Packages [14.1 MB] Get:14 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main Translation-en [143 kB] Get:15 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el Packages [20.9 kB] Get:16 http://ftpmaster.internal/ubuntu kinetic/universe Translation-en [5791 kB] Get:17 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main Translation-en [13.3 kB] Get:18 http://ppa.launchpadcontent.net/pythoneers/python3.11-numpy/ubuntu kinetic/main ppc64el Packages [884 B] Get:19 http://ftpmaster.internal/ubuntu kinetic/multiverse ppc64el Packages [181 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic/multiverse Translation-en [112 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el Packages [3412 B] Get:22 http://ftpmaster.internal/ubuntu kinetic-proposed/main Translation-en [1996 B] Get:23 http://ftpmaster.internal/ubuntu kinetic-proposed/restricted ppc64el Packages [756 B] Get:24 http://ftpmaster.internal/ubuntu kinetic-proposed/restricted Translation-en [3560 B] Get:25 http://ftpmaster.internal/ubuntu kinetic-proposed/universe ppc64el Packages [61.4 kB] Get:26 http://ftpmaster.internal/ubuntu kinetic-proposed/universe Translation-en [27.3 kB] Get:27 http://ftpmaster.internal/ubuntu kinetic-proposed/multiverse ppc64el Packages [924 B] Get:28 http://ppa.launchpadcontent.net/pythoneers/python3.11-numpy/ubuntu kinetic/main Translation-en [524 B] Get:29 http://ftpmaster.internal/ubuntu kinetic-proposed/multiverse Translation-en [1184 B] Fetched 23.4 MB in 5s (5044 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following package was automatically installed and is no longer required: sgml-base Use 'sudo apt autoremove' to remove it. The following packages will be upgraded: apt base-files bash binutils binutils-common binutils-powerpc64le-linux-gnu cpp-12 g++-12 gcc-12 gcc-12-base libapparmor1 libapt-pkg6.0 libasan8 libatomic1 libaudit-common libaudit1 libbinutils libc-bin libc-dev-bin libc6 libc6-dev libcap-ng0 libcc1-0 libctf-nobfd0 libctf0 libgcc-12-dev libgcc-s1 libgnutls30 libgomp1 libidn2-0 libitm1 liblsan0 libp11-kit0 libpng16-16 libquadmath0 libreadline8 libseccomp2 libselinux1 libsemanage-common libsemanage2 libsqlite3-0 libstdc++-12-dev libstdc++6 libsystemd-shared libsystemd0 libtsan2 libubsan1 libudev1 linux-libc-dev lto-disabled-list readline-common systemd systemd-sysv tzdata usrmerge 55 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 76.6 MB of archives. After this operation, 851 kB disk space will be freed. Get:1 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libapparmor1 ppc64el 3.0.7-1ubuntu3 [112 kB] Get:2 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libc6-dev ppc64el 2.36-0ubuntu4 [2057 kB] Get:3 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libaudit-common all 1:3.0.7-1ubuntu2 [11.7 kB] Get:4 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libcap-ng0 ppc64el 0.8.3-1build1 [18.1 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libc-dev-bin ppc64el 2.36-0ubuntu4 [20.9 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main ppc64el linux-libc-dev ppc64el 5.19.0-21.21 [1334 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libcc1-0 ppc64el 12.2.0-3ubuntu1 [48.9 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gcc-12-base ppc64el 12.2.0-3ubuntu1 [19.0 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgcc-s1 ppc64el 12.2.0-3ubuntu1 [34.0 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgomp1 ppc64el 12.2.0-3ubuntu1 [139 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libitm1 ppc64el 12.2.0-3ubuntu1 [32.5 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libatomic1 ppc64el 12.2.0-3ubuntu1 [10.6 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libasan8 ppc64el 12.2.0-3ubuntu1 [2452 kB] Get:14 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libaudit1 ppc64el 1:3.0.7-1ubuntu2 [57.4 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/main ppc64el liblsan0 ppc64el 12.2.0-3ubuntu1 [1082 kB] Get:16 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libtsan2 ppc64el 12.2.0-3ubuntu1 [2566 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libubsan1 ppc64el 12.2.0-3ubuntu1 [992 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libquadmath0 ppc64el 12.2.0-3ubuntu1 [155 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/main ppc64el g++-12 ppc64el 12.2.0-3ubuntu1 [11.4 MB] Get:20 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libseccomp2 ppc64el 2.5.4-1ubuntu2 [64.9 kB] Get:21 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libselinux1 ppc64el 3.4-1build1 [115 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libstdc++-12-dev ppc64el 12.2.0-3ubuntu1 [2289 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgcc-12-dev ppc64el 12.2.0-3ubuntu1 [1512 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gcc-12 ppc64el 12.2.0-3ubuntu1 [19.8 MB] Get:25 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libsemanage-common all 3.4-1build1 [21.4 kB] Get:26 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libsemanage2 ppc64el 3.4-1build1 [124 kB] Get:27 http://ftpmaster.internal/ubuntu kinetic/main ppc64el cpp-12 ppc64el 12.2.0-3ubuntu1 [10.0 MB] Get:28 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libstdc++6 ppc64el 12.2.0-3ubuntu1 [787 kB] Get:29 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libctf0 ppc64el 2.39-3ubuntu1 [109 kB] Get:30 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libctf-nobfd0 ppc64el 2.39-3ubuntu1 [108 kB] Get:31 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libbinutils ppc64el 2.39-3ubuntu1 [676 kB] Get:32 http://ftpmaster.internal/ubuntu kinetic/main ppc64el binutils-common ppc64el 2.39-3ubuntu1 [223 kB] Get:33 http://ftpmaster.internal/ubuntu kinetic/main ppc64el binutils ppc64el 2.39-3ubuntu1 [3174 B] Get:34 http://ftpmaster.internal/ubuntu kinetic/main ppc64el binutils-powerpc64le-linux-gnu ppc64el 2.39-3ubuntu1 [2434 kB] Get:35 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libc6 ppc64el 2.36-0ubuntu4 [3180 kB] Get:36 http://ftpmaster.internal/ubuntu kinetic/main ppc64el base-files ppc64el 12.2ubuntu3 [73.4 kB] Get:37 http://ftpmaster.internal/ubuntu kinetic/main ppc64el bash ppc64el 5.2-1ubuntu2 [952 kB] Get:38 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libc-bin ppc64el 2.36-0ubuntu4 [745 kB] Get:39 http://ftpmaster.internal/ubuntu kinetic/main ppc64el systemd-sysv ppc64el 251.4-1ubuntu7 [11.2 kB] Get:40 http://ftpmaster.internal/ubuntu kinetic/main ppc64el systemd ppc64el 251.4-1ubuntu7 [2999 kB] Get:41 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsystemd-shared ppc64el 251.4-1ubuntu7 [1883 kB] Get:42 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsystemd0 ppc64el 251.4-1ubuntu7 [401 kB] Get:43 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libudev1 ppc64el 251.4-1ubuntu7 [99.4 kB] Get:44 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libapt-pkg6.0 ppc64el 2.5.3 [1017 kB] Get:45 http://ftpmaster.internal/ubuntu kinetic-proposed/main ppc64el libidn2-0 ppc64el 2.3.3-1build1 [65.9 kB] Get:46 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libp11-kit0 ppc64el 0.24.1-1ubuntu2 [257 kB] Get:47 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgnutls30 ppc64el 3.7.7-2ubuntu2 [1030 kB] Get:48 http://ftpmaster.internal/ubuntu kinetic/main ppc64el apt ppc64el 2.5.3 [1419 kB] Get:49 http://ftpmaster.internal/ubuntu kinetic/main ppc64el usrmerge all 29ubuntu2 [55.8 kB] Get:50 http://ftpmaster.internal/ubuntu kinetic/main ppc64el readline-common all 8.2-1 [55.1 kB] Get:51 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libreadline8 ppc64el 8.2-1 [175 kB] Get:52 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsqlite3-0 ppc64el 3.39.3-1 [748 kB] Get:53 http://ftpmaster.internal/ubuntu kinetic/main ppc64el tzdata all 2022e-0ubuntu2 [400 kB] Get:54 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpng16-16 ppc64el 1.6.38-2 [237 kB] Get:55 http://ftpmaster.internal/ubuntu kinetic/main ppc64el lto-disabled-list all 35 [12.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 76.6 MB in 3s (25.5 MB/s) (Reading database ... 13509 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.36-0ubuntu4_ppc64el.deb ... Unpacking libc6-dev:ppc64el (2.36-0ubuntu4) over (2.36-0ubuntu2) ... Preparing to unpack .../libc-dev-bin_2.36-0ubuntu4_ppc64el.deb ... Unpacking libc-dev-bin (2.36-0ubuntu4) over (2.36-0ubuntu2) ... Preparing to unpack .../linux-libc-dev_5.19.0-21.21_ppc64el.deb ... Unpacking linux-libc-dev:ppc64el (5.19.0-21.21) over (5.15.0-27.28) ... Preparing to unpack .../libcc1-0_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libcc1-0:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../gcc-12-base_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking gcc-12-base:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Setting up gcc-12-base:ppc64el (12.2.0-3ubuntu1) ... (Reading database ... 13521 files and directories currently installed.) Preparing to unpack .../libgcc-s1_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libgcc-s1:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libgcc-s1:ppc64el (12.2.0-3ubuntu1) ... (Reading database ... 13521 files and directories currently installed.) Preparing to unpack .../00-libgomp1_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libgomp1:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../01-libitm1_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libitm1:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../02-libatomic1_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libatomic1:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../03-libasan8_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libasan8:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../04-liblsan0_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking liblsan0:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../05-libtsan2_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libtsan2:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../06-libubsan1_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libubsan1:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../07-libquadmath0_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libquadmath0:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../08-g++-12_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking g++-12 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../09-libstdc++-12-dev_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libstdc++-12-dev:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../10-libgcc-12-dev_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libgcc-12-dev:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../11-gcc-12_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking gcc-12 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../12-cpp-12_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking cpp-12 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../13-libstdc++6_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libstdc++6:ppc64el (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libstdc++6:ppc64el (12.2.0-3ubuntu1) ... (Reading database ... 13521 files and directories currently installed.) Preparing to unpack .../0-libctf0_2.39-3ubuntu1_ppc64el.deb ... Unpacking libctf0:ppc64el (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../1-libctf-nobfd0_2.39-3ubuntu1_ppc64el.deb ... Unpacking libctf-nobfd0:ppc64el (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../2-libbinutils_2.39-3ubuntu1_ppc64el.deb ... Unpacking libbinutils:ppc64el (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../3-binutils-common_2.39-3ubuntu1_ppc64el.deb ... Unpacking binutils-common:ppc64el (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../4-binutils_2.39-3ubuntu1_ppc64el.deb ... Unpacking binutils (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../5-binutils-powerpc64le-linux-gnu_2.39-3ubuntu1_ppc64el.deb ... Unpacking binutils-powerpc64le-linux-gnu (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../6-libc6_2.36-0ubuntu4_ppc64el.deb ... Unpacking libc6:ppc64el (2.36-0ubuntu4) over (2.36-0ubuntu2) ... Setting up libc6:ppc64el (2.36-0ubuntu4) ... (Reading database ... 13521 files and directories currently installed.) Preparing to unpack .../base-files_12.2ubuntu3_ppc64el.deb ... Unpacking base-files (12.2ubuntu3) over (12.2ubuntu2) ... Setting up base-files (12.2ubuntu3) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... (Reading database ... 13521 files and directories currently installed.) Preparing to unpack .../bash_5.2-1ubuntu2_ppc64el.deb ... Unpacking bash (5.2-1ubuntu2) over (5.1-6ubuntu1) ... Setting up bash (5.2-1ubuntu2) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libc-bin_2.36-0ubuntu4_ppc64el.deb ... Unpacking libc-bin (2.36-0ubuntu4) over (2.36-0ubuntu2) ... Setting up libc-bin (2.36-0ubuntu4) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libapparmor1_3.0.7-1ubuntu3_ppc64el.deb ... Unpacking libapparmor1:ppc64el (3.0.7-1ubuntu3) over (3.0.7-1ubuntu1) ... Preparing to unpack .../libaudit-common_1%3a3.0.7-1ubuntu2_all.deb ... Unpacking libaudit-common (1:3.0.7-1ubuntu2) over (1:3.0.7-1build1) ... Setting up libaudit-common (1:3.0.7-1ubuntu2) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.8.3-1build1_ppc64el.deb ... Unpacking libcap-ng0:ppc64el (0.8.3-1build1) over (0.8.3-1) ... Setting up libcap-ng0:ppc64el (0.8.3-1build1) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a3.0.7-1ubuntu2_ppc64el.deb ... Unpacking libaudit1:ppc64el (1:3.0.7-1ubuntu2) over (1:3.0.7-1build1) ... Setting up libaudit1:ppc64el (1:3.0.7-1ubuntu2) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.4-1ubuntu2_ppc64el.deb ... Unpacking libseccomp2:ppc64el (2.5.4-1ubuntu2) over (2.5.4-1ubuntu1) ... Setting up libseccomp2:ppc64el (2.5.4-1ubuntu2) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libselinux1_3.4-1build1_ppc64el.deb ... Unpacking libselinux1:ppc64el (3.4-1build1) over (3.4-1) ... Setting up libselinux1:ppc64el (3.4-1build1) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../systemd-sysv_251.4-1ubuntu7_ppc64el.deb ... Unpacking systemd-sysv (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Preparing to unpack .../systemd_251.4-1ubuntu7_ppc64el.deb ... Unpacking systemd (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd-shared_251.4-1ubuntu7_ppc64el.deb ... Unpacking libsystemd-shared:ppc64el (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd0_251.4-1ubuntu7_ppc64el.deb ... Unpacking libsystemd0:ppc64el (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Setting up libsystemd0:ppc64el (251.4-1ubuntu7) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libudev1_251.4-1ubuntu7_ppc64el.deb ... Unpacking libudev1:ppc64el (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Setting up libudev1:ppc64el (251.4-1ubuntu7) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.5.3_ppc64el.deb ... Unpacking libapt-pkg6.0:ppc64el (2.5.3) over (2.5.2) ... Setting up libapt-pkg6.0:ppc64el (2.5.3) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.3.3-1build1_ppc64el.deb ... Unpacking libidn2-0:ppc64el (2.3.3-1build1) over (2.3.3-1) ... Setting up libidn2-0:ppc64el (2.3.3-1build1) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.24.1-1ubuntu2_ppc64el.deb ... Unpacking libp11-kit0:ppc64el (0.24.1-1ubuntu2) over (0.24.1-1ubuntu1) ... Setting up libp11-kit0:ppc64el (0.24.1-1ubuntu2) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.7.7-2ubuntu2_ppc64el.deb ... Unpacking libgnutls30:ppc64el (3.7.7-2ubuntu2) over (3.7.7-2ubuntu1) ... Setting up libgnutls30:ppc64el (3.7.7-2ubuntu2) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../archives/apt_2.5.3_ppc64el.deb ... Unpacking apt (2.5.3) over (2.5.2) ... Setting up apt (2.5.3) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.4-1build1_all.deb ... Unpacking libsemanage-common (3.4-1build1) over (3.4-1) ... Setting up libsemanage-common (3.4-1build1) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.4-1build1_ppc64el.deb ... Unpacking libsemanage2:ppc64el (3.4-1build1) over (3.4-1) ... Setting up libsemanage2:ppc64el (3.4-1build1) ... (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../0-usrmerge_29ubuntu2_all.deb ... Unpacking usrmerge (29ubuntu2) over (29ubuntu1) ... Preparing to unpack .../1-readline-common_8.2-1_all.deb ... Unpacking readline-common (8.2-1) over (8.2~rc2-2) ... Preparing to unpack .../2-libreadline8_8.2-1_ppc64el.deb ... Unpacking libreadline8:ppc64el (8.2-1) over (8.2~rc2-2) ... Preparing to unpack .../3-libsqlite3-0_3.39.3-1_ppc64el.deb ... Unpacking libsqlite3-0:ppc64el (3.39.3-1) over (3.39.2-1) ... Preparing to unpack .../4-tzdata_2022e-0ubuntu2_all.deb ... Unpacking tzdata (2022e-0ubuntu2) over (2022c-1ubuntu3) ... Preparing to unpack .../5-libpng16-16_1.6.38-2_ppc64el.deb ... Unpacking libpng16-16:ppc64el (1.6.38-2) over (1.6.37-5) ... Preparing to unpack .../6-lto-disabled-list_35_all.deb ... Unpacking lto-disabled-list (35) over (33) ... Setting up lto-disabled-list (35) ... Setting up libapparmor1:ppc64el (3.0.7-1ubuntu3) ... Setting up cpp-12 (12.2.0-3ubuntu1) ... Setting up libsqlite3-0:ppc64el (3.39.3-1) ... Setting up binutils-common:ppc64el (2.39-3ubuntu1) ... Setting up linux-libc-dev:ppc64el (5.19.0-21.21) ... Setting up libctf-nobfd0:ppc64el (2.39-3ubuntu1) ... Setting up libgomp1:ppc64el (12.2.0-3ubuntu1) ... Setting up tzdata (2022e-0ubuntu2) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Oct 20 20:00:07 UTC 2022. Universal Time is now: Thu Oct 20 20:00:07 UTC 2022. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libquadmath0:ppc64el (12.2.0-3ubuntu1) ... Setting up libpng16-16:ppc64el (1.6.38-2) ... Setting up libatomic1:ppc64el (12.2.0-3ubuntu1) ... Setting up libsystemd-shared:ppc64el (251.4-1ubuntu7) ... Setting up usrmerge (29ubuntu2) ... Setting up libubsan1:ppc64el (12.2.0-3ubuntu1) ... Setting up libasan8:ppc64el (12.2.0-3ubuntu1) ... Setting up libtsan2:ppc64el (12.2.0-3ubuntu1) ... Setting up libbinutils:ppc64el (2.39-3ubuntu1) ... Setting up libc-dev-bin (2.36-0ubuntu4) ... Setting up readline-common (8.2-1) ... Setting up libcc1-0:ppc64el (12.2.0-3ubuntu1) ... Setting up liblsan0:ppc64el (12.2.0-3ubuntu1) ... Setting up libitm1:ppc64el (12.2.0-3ubuntu1) ... Setting up libctf0:ppc64el (2.39-3ubuntu1) ... Setting up libreadline8:ppc64el (8.2-1) ... Setting up systemd (251.4-1ubuntu7) ... Initializing machine ID from random generator. Setting up libgcc-12-dev:ppc64el (12.2.0-3ubuntu1) ... Setting up libc6-dev:ppc64el (2.36-0ubuntu4) ... Setting up binutils-powerpc64le-linux-gnu (2.39-3ubuntu1) ... Setting up systemd-sysv (251.4-1ubuntu7) ... Setting up libstdc++-12-dev:ppc64el (12.2.0-3ubuntu1) ... Setting up binutils (2.39-3ubuntu1) ... Setting up gcc-12 (12.2.0-3ubuntu1) ... Setting up g++-12 (12.2.0-3ubuntu1) ... Processing triggers for debianutils (5.7-0.3) ... Processing triggers for libc-bin (2.36-0ubuntu4) ... RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-24561511 ppc64el kinetic -c chroot:build-PACKAGEBUILD-24561511 --arch=ppc64el --dist=kinetic --nolog pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.dsc Initiating build PACKAGEBUILD-24561511 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:08:20 UTC 2022 ppc64le sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-ppc64el-003.buildd +========================================================================================+ | pydevd 2.8.0+git20220826.8ee4065+ds-1ubuntu2 (ppc64el) Thu, 20 Oct 2022 20:00:08 +0000 | +========================================================================================+ Package: pydevd Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Source Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Distribution: kinetic Machine Architecture: ppc64el Host Architecture: ppc64el Build Architecture: ppc64el Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-24561511/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/pydevd-HkRUnt/resolver-gWtn7i' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/pydevd-HkRUnt/pydevd-2.8.0+git20220826.8ee4065+ds' with '<>' I: NOTICE: Log filtering will replace 'build/pydevd-HkRUnt' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: cython3, debhelper-compat (= 13), dh-python, dh-sequence-python3, gdb, libqt5x11extras5, procps, python3-all-dev, python3-bytecode, python3-cherrypy3, python3-coverage, python3-django, python3-flask, python3-gevent, python3-ipython, python3-jinja2, python3-matplotlib, python3-numpy, python3-pandas, python3-psutil, python3-pyqt5, python3-pyqt5.qtsvg, python3-pytest, python3-pytest-xdist, python3-setuptools, python3-trio, python3-untangle, txt2man, xauth, xvfb, build-essential, fakeroot Filtered Build-Depends: cython3, debhelper-compat (= 13), dh-python, dh-sequence-python3, gdb, libqt5x11extras5, procps, python3-all-dev, python3-bytecode, python3-cherrypy3, python3-coverage, python3-django, python3-flask, python3-gevent, python3-ipython, python3-jinja2, python3-matplotlib, python3-numpy, python3-pandas, python3-psutil, python3-pyqt5, python3-pyqt5.qtsvg, python3-pytest, python3-pytest-xdist, python3-setuptools, python3-trio, python3-untangle, txt2man, xauth, xvfb, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [963 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [568 B] Get:5 copy:/<>/apt_archive ./ Packages [635 B] Fetched 2166 B in 0s (172 kB/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: sgml-base Use 'apt autoremove' to remove it. The following additional packages will be installed: autoconf automake autopoint autotools-dev blt bsdextrautils cython3 debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism dwz file fontconfig fontconfig-config fonts-dejavu-core fonts-lyx gawk gdb gettext gettext-base groff-base intltool-debian libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libbabeltrace1 libblas3 libboost-dev libboost-regex1.74.0 libboost1.74-dev libbrotli1 libbsd0 libc-ares2 libcups2 libcurl3-gnutls libdbus-1-3 libdebhelper-perl libdebuginfod-common libdebuginfod1 libdeflate0 libdouble-conversion3 libdrm-amdgpu1 libdrm-common libdrm-nouveau2 libdrm-radeon1 libdrm2 libdw1 libedit2 libegl-mesa0 libegl1 libelf1 libev4 libevdev2 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libfontconfig1 libfontenc1 libfreetype6 libfribidi0 libgbm1 libgfortran5 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgudev-1.0-0 libharfbuzz0b libice6 libicu71 libimagequant0 libinput-bin libinput10 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-jquery-ui libjs-sphinxdoc libjs-underscore liblapack3 liblbfgsb0 liblcms2-2 libldap-2.5-0 liblerc3 libllvm15 libmagic-mgc libmagic1 libmd0 libmd4c0 libmpdec3 libmtdev1 libnghttp2-14 libopenblas-dev libopenblas-pthread-dev libopenblas0 libopenblas0-pthread libopenjp2-7 libpcre2-16-0 libpipeline1 libpixman-1-0 libpsl5 libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.10 libpython3.10-dev libpython3.10-minimal libpython3.10-stdlib libpython3.11 libpython3.11-dev libpython3.11-minimal libpython3.11-stdlib libqhull-r8.0 libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5 libqt5help5 libqt5network5 libqt5printsupport5 libqt5sql5 libqt5svg5 libqt5test5 libqt5widgets5 libqt5x11extras5 libqt5xml5 libraqm0 librtmp1 libsasl2-2 libsasl2-modules-db libsensors-config libsensors5 libsigsegv2 libsm6 libsource-highlight-common libsource-highlight4v5 libssh-4 libsub-override-perl libtcl8.6 libtiff5 libtk8.6 libtool libuchardet0 libunwind8 libwacom-common libwacom9 libwayland-client0 libwayland-server0 libwebp7 libwebpdemux2 libwebpmux3 libx11-6 libx11-data libx11-xcb1 libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxfixes3 libxfont2 libxft2 libxkbcommon-x11-0 libxkbcommon0 libxkbfile1 libxml2 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxsimd-dev libxslt1.1 libxss1 libxt6 libxxf86vm1 m4 man-db media-types po-debconf python-babel-localedata python-matplotlib-data python3 python3-all python3-all-dev python3-appdirs python3-asgiref python3-async-generator python3-attr python3-babel python3-backcall python3-beniget python3-brotli python3-bytecode python3-cheroot python3-cherrypy3 python3-click python3-colorama python3-coverage python3-cycler python3-dateutil python3-decorator python3-defusedxml python3-dev python3-distutils python3-django python3-execnet python3-flask python3-fonttools python3-fs python3-gast python3-gevent python3-greenlet python3-idna python3-iniconfig python3-ipython python3-itsdangerous python3-jaraco.classes python3-jaraco.collections python3-jaraco.context python3-jaraco.functools python3-jaraco.text python3-jedi python3-jinja2 python3-kiwisolver python3-lib2to3 python3-lxml python3-lz4 python3-markupsafe python3-matplotlib python3-matplotlib-inline python3-minimal python3-more-itertools python3-mpmath python3-numpy python3-outcome python3-packaging python3-pandas python3-pandas-lib python3-parso python3-pexpect python3-pickleshare python3-pil python3-pil.imagetk python3-pkg-resources python3-pluggy python3-ply python3-portend python3-prompt-toolkit python3-psutil python3-ptyprocess python3-py python3-pygments python3-pyparsing python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.sip python3-pytest python3-pytest-forked python3-pytest-xdist python3-pythran python3-scipy python3-setuptools python3-six python3-sniffio python3-sortedcontainers python3-sqlparse python3-sympy python3-tempora python3-tk python3-tomli python3-traitlets python3-trio python3-tz python3-ufolib2 python3-unicodedata2 python3-untangle python3-wcwidth python3-werkzeug python3-zc.lockfile python3-zope.event python3-zope.interface python3.10 python3.10-dev python3.10-minimal python3.11 python3.11-dev python3.11-minimal shared-mime-info tk8.6-blt2.5 txt2man ucf unicode-data x11-common x11-xkb-utils xauth xkb-data xserver-common xvfb zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc blt-demo cython-doc dh-make flit python3-build python3-installer gawk-doc gdb-doc gdbserver gettext-doc libasprintf-dev libgettextpo-dev groff libboost-doc libboost1.74-doc libboost-atomic1.74-dev libboost-chrono1.74-dev libboost-container1.74-dev libboost-context1.74-dev libboost-contract1.74-dev libboost-coroutine1.74-dev libboost-date-time1.74-dev libboost-exception1.74-dev libboost-fiber1.74-dev libboost-filesystem1.74-dev libboost-graph1.74-dev libboost-graph-parallel1.74-dev libboost-iostreams1.74-dev libboost-locale1.74-dev libboost-log1.74-dev libboost-math1.74-dev libboost-mpi1.74-dev libboost-mpi-python1.74-dev libboost-numpy1.74-dev libboost-program-options1.74-dev libboost-python1.74-dev libboost-random1.74-dev libboost-regex1.74-dev libboost-serialization1.74-dev libboost-stacktrace1.74-dev libboost-system1.74-dev libboost-test1.74-dev libboost-thread1.74-dev libboost-timer1.74-dev libboost-type-erasure1.74-dev libboost-wave1.74-dev libboost1.74-tools-dev libmpfrc++-dev libntl-dev libboost-nowide1.74-dev cups-common libjs-jquery-ui-docs liblcms2-utils libthai0 qt5-image-formats-plugins qtwayland5 lm-sensors tcl8.6 tk8.6 libtool-doc gfortran | fortran95-compiler gcj-jdk libwacom-bin libxsimd-doc m4-doc apparmor less www-browser libmail-box-perl python3-doc python3-venv python-attr-doc python-bytecode-doc python-coverage-doc python-cycler-doc bpython3 geoip-database-contrib ipython3 libgdal20 libsqlite3-mod-spatialite python-django-doc python3-bcrypt python3-flup python3-pymemcache | python3-pylibmc python3-mysqldb python3-psycopg2 python3-selenium python3-sqlite python3-yaml execnet-doc python3-dotenv python-flask-doc python-gevent-doc python3-openssl python-greenlet-dev python-greenlet-doc python-ipython-doc python-jinja2-doc python-lxml-doc cm-super-minimal dvipng ffmpeg fonts-staypuft ghostscript gir1.2-gtk-3.0 inkscape librsvg2-common python-matplotlib-doc python3-cairocffi python3-gi python3-gi-cairo python3-gobject python3-sip python3-tornado texlive-extra-utils texlive-latex-extra python-mpmath-doc python3-gmpy2 gfortran python-numpy-doc python-pandas-doc python3-statsmodels python-pexpect-doc python-pil-doc python-ply-doc python-psutil-doc subversion python-pygments-doc ttf-bitstream-vera python-pyparsing-doc python-scipy-doc python-setuptools-doc python-sortedcontainers-doc python-sqlparse-doc texlive-fonts-extra python-sympy-doc tix python3-tk-dbg python-werkzeug-doc python3-watchdog python3.10-venv python3.10-doc binfmt-support python3.11-venv python3.11-doc Recommended packages: libc-dbg curl | wget | lynx dbus libarchive-cpio-perl libgl1-amber-dri libglib2.0-data xdg-user-dirs javascript-common libldap-common publicsuffix qttranslations5-l10n qt5-gtk-platformtheme libqt5sql5-sqlite | libqt5sql5-mysql | libqt5sql5-odbc | libqt5sql5-psql | libqt5sql5-tds | libqt5sql5-ibase libsasl2-modules libltdl-dev libmail-sendmail-perl python3-openssl python3-routes python3-simplejson python3-blinker python3-bs4 python3-html5lib python3-bottleneck python3-numexpr python3-odf python3-openpyxl python3-xlwt python3-tables python3-olefile isympy-common python3-pyinotify xfonts-base The following NEW packages will be installed: autoconf automake autopoint autotools-dev blt bsdextrautils cython3 debhelper debugedit dh-autoreconf dh-python dh-strip-nondeterminism dwz file fontconfig fontconfig-config fonts-dejavu-core fonts-lyx gawk gdb gettext gettext-base groff-base intltool-debian libarchive-zip-perl libavahi-client3 libavahi-common-data libavahi-common3 libbabeltrace1 libblas3 libboost-dev libboost-regex1.74.0 libboost1.74-dev libbrotli1 libbsd0 libc-ares2 libcups2 libcurl3-gnutls libdbus-1-3 libdebhelper-perl libdebuginfod-common libdebuginfod1 libdeflate0 libdouble-conversion3 libdrm-amdgpu1 libdrm-common libdrm-nouveau2 libdrm-radeon1 libdrm2 libdw1 libedit2 libegl-mesa0 libegl1 libelf1 libev4 libevdev2 libexpat1 libexpat1-dev libfile-stripnondeterminism-perl libfontconfig1 libfontenc1 libfreetype6 libfribidi0 libgbm1 libgfortran5 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgudev-1.0-0 libharfbuzz0b libice6 libicu71 libimagequant0 libinput-bin libinput10 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-jquery-ui libjs-sphinxdoc libjs-underscore liblapack3 liblbfgsb0 liblcms2-2 libldap-2.5-0 liblerc3 libllvm15 libmagic-mgc libmagic1 libmd0 libmd4c0 libmpdec3 libmtdev1 libnghttp2-14 libopenblas-dev libopenblas-pthread-dev libopenblas0 libopenblas0-pthread libopenjp2-7 libpcre2-16-0 libpipeline1 libpixman-1-0 libpsl5 libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.10 libpython3.10-dev libpython3.10-minimal libpython3.10-stdlib libpython3.11 libpython3.11-dev libpython3.11-minimal libpython3.11-stdlib libqhull-r8.0 libqt5core5a libqt5dbus5 libqt5designer5 libqt5gui5 libqt5help5 libqt5network5 libqt5printsupport5 libqt5sql5 libqt5svg5 libqt5test5 libqt5widgets5 libqt5x11extras5 libqt5xml5 libraqm0 librtmp1 libsasl2-2 libsasl2-modules-db libsensors-config libsensors5 libsigsegv2 libsm6 libsource-highlight-common libsource-highlight4v5 libssh-4 libsub-override-perl libtcl8.6 libtiff5 libtk8.6 libtool libuchardet0 libunwind8 libwacom-common libwacom9 libwayland-client0 libwayland-server0 libwebp7 libwebpdemux2 libwebpmux3 libx11-6 libx11-data libx11-xcb1 libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxfixes3 libxfont2 libxft2 libxkbcommon-x11-0 libxkbcommon0 libxkbfile1 libxml2 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxsimd-dev libxslt1.1 libxss1 libxt6 libxxf86vm1 m4 man-db media-types po-debconf python-babel-localedata python-matplotlib-data python3 python3-all python3-all-dev python3-appdirs python3-asgiref python3-async-generator python3-attr python3-babel python3-backcall python3-beniget python3-brotli python3-bytecode python3-cheroot python3-cherrypy3 python3-click python3-colorama python3-coverage python3-cycler python3-dateutil python3-decorator python3-defusedxml python3-dev python3-distutils python3-django python3-execnet python3-flask python3-fonttools python3-fs python3-gast python3-gevent python3-greenlet python3-idna python3-iniconfig python3-ipython python3-itsdangerous python3-jaraco.classes python3-jaraco.collections python3-jaraco.context python3-jaraco.functools python3-jaraco.text python3-jedi python3-jinja2 python3-kiwisolver python3-lib2to3 python3-lxml python3-lz4 python3-markupsafe python3-matplotlib python3-matplotlib-inline python3-minimal python3-more-itertools python3-mpmath python3-numpy python3-outcome python3-packaging python3-pandas python3-pandas-lib python3-parso python3-pexpect python3-pickleshare python3-pil python3-pil.imagetk python3-pkg-resources python3-pluggy python3-ply python3-portend python3-prompt-toolkit python3-psutil python3-ptyprocess python3-py python3-pygments python3-pyparsing python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.sip python3-pytest python3-pytest-forked python3-pytest-xdist python3-pythran python3-scipy python3-setuptools python3-six python3-sniffio python3-sortedcontainers python3-sqlparse python3-sympy python3-tempora python3-tk python3-tomli python3-traitlets python3-trio python3-tz python3-ufolib2 python3-unicodedata2 python3-untangle python3-wcwidth python3-werkzeug python3-zc.lockfile python3-zope.event python3-zope.interface python3.10 python3.10-dev python3.10-minimal python3.11 python3.11-dev python3.11-minimal sbuild-build-depends-main-dummy shared-mime-info tk8.6-blt2.5 txt2man ucf unicode-data x11-common x11-xkb-utils xauth xkb-data xserver-common xvfb zlib1g-dev 0 upgraded, 328 newly installed, 0 to remove and 0 not upgraded. Need to get 228 MB of archives. After this operation, 1197 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [840 B] Get:2 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpython3.10-minimal ppc64el 3.10.7-1 [803 kB] Get:3 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libxml2 ppc64el 2.9.14+dfsg-1build1 [898 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libexpat1 ppc64el 2.4.8-2 [94.6 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3.10-minimal ppc64el 3.10.7-1 [2205 kB] Get:6 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsigsegv2 ppc64el 2.14-1ubuntu1 [15.8 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gawk ppc64el 1:5.1.0-1build3 [508 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic/main ppc64el ucf all 3.0043 [56.1 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdebuginfod-common all 0.187-4 [7506 B] Get:10 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglib2.0-0 ppc64el 2.74.0-3 [1658 kB] Get:11 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libbrotli1 ppc64el 1.0.9-2build7 [371 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libicu71 ppc64el 71.1-3ubuntu1 [10.9 MB] Get:13 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3-minimal ppc64el 3.10.6-1ubuntu1~ppa1 [39.1 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic/main ppc64el shared-mime-info ppc64el 2.2-1 [464 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libdouble-conversion3 ppc64el 3.2.1-1 [42.7 kB] Get:16 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpcre2-16-0 ppc64el 10.40-1ubuntu1 [241 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5core5a ppc64el 5.15.6+dfsg-1 [2123 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libfreetype6 ppc64el 2.12.1+dfsg-3 [520 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/main ppc64el fonts-dejavu-core all 2.37-2build1 [1041 kB] Get:20 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el libpython3-stdlib ppc64el 3.10.6-1ubuntu1~ppa1 [22.0 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic/main ppc64el fontconfig-config all 2.13.1-4.4ubuntu1 [28.2 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libfontconfig1 ppc64el 2.13.1-4.4ubuntu1 [180 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main ppc64el fontconfig ppc64el 2.13.1-4.4ubuntu1 [184 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdrm-common all 2.4.113-2 [5324 B] Get:25 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdrm2 ppc64el 2.4.113-2 [46.7 kB] Get:26 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglvnd0 ppc64el 1.5.0-1 [73.3 kB] Get:27 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libwayland-server0 ppc64el 1.21.0-1 [39.7 kB] Get:28 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgbm1 ppc64el 22.2.1-1ubuntu1 [37.5 kB] Get:29 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglapi-mesa ppc64el 22.2.1-1ubuntu1 [34.5 kB] Get:30 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libwayland-client0 ppc64el 1.21.0-1 [29.3 kB] Get:31 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxau6 ppc64el 1:1.0.9-1build5 [8028 B] Get:32 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmd0 ppc64el 1.0.4-2 [29.6 kB] Get:33 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libbsd0 ppc64el 0.11.6-1 [58.9 kB] Get:34 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxdmcp6 ppc64el 1:1.1.3-0ubuntu5 [12.3 kB] Get:35 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb1 ppc64el 1.15-1 [55.5 kB] Get:36 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libx11-data all 2:1.8.1-2 [118 kB] Get:37 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libx11-6 ppc64el 2:1.8.1-2 [740 kB] Get:38 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libx11-xcb1 ppc64el 2:1.8.1-2 [7834 B] Get:39 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3 ppc64el 3.10.6-1ubuntu1~ppa1 [38.7 kB] Get:40 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-dri2-0 ppc64el 1.15-1 [7444 B] Get:41 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-dri3-0 ppc64el 1.15-1 [7392 B] Get:42 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-present0 ppc64el 1.15-1 [5814 B] Get:43 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-sync1 ppc64el 1.15-1 [9720 B] Get:44 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-xfixes0 ppc64el 1.15-1 [10.6 kB] Get:45 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxshmfence1 ppc64el 1.3-1build4 [5566 B] Get:46 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libegl-mesa0 ppc64el 22.2.1-1ubuntu1 [124 kB] Get:47 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libegl1 ppc64el 1.5.0-1 [33.1 kB] Get:48 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-glx0 ppc64el 1.15-1 [26.2 kB] Get:49 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-shm0 ppc64el 1.15-1 [5896 B] Get:50 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxext6 ppc64el 2:1.3.4-1build1 [40.0 kB] Get:51 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxfixes3 ppc64el 1:6.0.0-1 [12.6 kB] Get:52 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build3 [11.8 kB] Get:53 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el libpython3.11-minimal ppc64el 3.11.0~rc2-1ubuntu1~ppa1 [879 kB] Get:54 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdrm-amdgpu1 ppc64el 2.4.113-2 [23.8 kB] Get:55 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdrm-nouveau2 ppc64el 2.4.113-2 [20.5 kB] Get:56 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdrm-radeon1 ppc64el 2.4.113-2 [25.8 kB] Get:57 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libelf1 ppc64el 0.187-4 [60.8 kB] Get:58 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libedit2 ppc64el 3.1-20210910-1build1 [124 kB] Get:59 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libllvm15 ppc64el 1:15.0.2-1 [26.1 MB] Get:60 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3.11-minimal ppc64el 3.11.0~rc2-1ubuntu1~ppa1 [2414 kB] Get:61 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsensors-config all 1:3.6.0-7ubuntu1 [5274 B] Get:62 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsensors5 ppc64el 1:3.6.0-7ubuntu1 [32.3 kB] Get:63 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgl1-mesa-dri ppc64el 22.2.1-1ubuntu1 [6092 kB] Get:64 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglx-mesa0 ppc64el 22.2.1-1ubuntu1 [175 kB] Get:65 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libglx0 ppc64el 1.5.0-1 [42.1 kB] Get:66 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgl1 ppc64el 1.5.0-1 [108 kB] Get:67 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgraphite2-3 ppc64el 1.3.14-1build2 [85.9 kB] Get:68 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libharfbuzz0b ppc64el 2.7.4-1ubuntu5 [442 kB] Get:69 http://ftpmaster.internal/ubuntu kinetic/main ppc64el x11-common all 1:7.7+23ubuntu2 [23.4 kB] Get:70 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libice6 ppc64el 2:1.0.10-1build2 [49.3 kB] Get:71 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libevdev2 ppc64el 1.13.0+dfsg-1 [38.5 kB] Get:72 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmtdev1 ppc64el 1.1.6-1build4 [18.5 kB] Get:73 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgudev-1.0-0 ppc64el 1:237-2build1 [16.8 kB] Get:74 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libwacom-common all 2.4.0-3 [57.0 kB] Get:75 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libwacom9 ppc64el 2.4.0-3 [24.5 kB] Get:76 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libinput-bin ppc64el 1.21.0-1 [20.0 kB] Get:77 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libinput10 ppc64el 1.21.0-1 [159 kB] Get:78 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libjpeg-turbo8 ppc64el 2.1.2-0ubuntu1 [214 kB] Get:79 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libjpeg8 ppc64el 8c-2ubuntu10 [2266 B] Get:80 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el cython3 ppc64el 0.29.30-1ubuntu2 [1916 kB] Get:81 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libmd4c0 ppc64el 0.4.8-1 [53.3 kB] Get:82 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdbus-1-3 ppc64el 1.14.0-2ubuntu2 [231 kB] Get:83 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5dbus5 ppc64el 5.15.6+dfsg-1 [240 kB] Get:84 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5network5 ppc64el 5.15.6+dfsg-1 [796 kB] Get:85 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsm6 ppc64el 2:1.2.3-1build2 [18.5 kB] Get:86 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-icccm4 ppc64el 0.4.1-1.1build2 [11.8 kB] Get:87 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-util1 ppc64el 0.4.0-1build2 [11.5 kB] Get:88 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-image0 ppc64el 0.4.0-2 [12.5 kB] Get:89 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-keysyms1 ppc64el 0.4.0-1build3 [9152 B] Get:90 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-randr0 ppc64el 1.15-1 [18.9 kB] Get:91 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-render0 ppc64el 1.15-1 [17.2 kB] Get:92 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-render-util0 ppc64el 0.3.9-1build3 [11.2 kB] Get:93 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-shape0 ppc64el 1.15-1 [6254 B] Get:94 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-xinerama0 ppc64el 1.15-1 [5484 B] Get:95 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-xinput0 ppc64el 1.15-1 [37.1 kB] Get:96 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxcb-xkb1 ppc64el 1.15-1 [36.0 kB] Get:97 http://ftpmaster.internal/ubuntu kinetic/main ppc64el xkb-data all 2.35.1-1 [393 kB] Get:98 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxkbcommon0 ppc64el 1.4.1-1 [137 kB] Get:99 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxkbcommon-x11-0 ppc64el 1.4.1-1 [15.3 kB] Get:100 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1 [23.3 kB] Get:101 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5gui5 ppc64el 5.15.6+dfsg-1 [4017 kB] Get:102 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5widgets5 ppc64el 5.15.6+dfsg-1 [2755 kB] Get:103 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5svg5 ppc64el 5.15.6-1 [160 kB] Get:104 http://ftpmaster.internal/ubuntu kinetic/main ppc64el media-types all 8.0.0 [24.9 kB] Get:105 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmpdec3 ppc64el 2.5.1-2build2 [116 kB] Get:106 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpython3.10-stdlib ppc64el 3.10.7-1 [1800 kB] Get:107 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3.10 ppc64el 3.10.7-1 [497 kB] Get:108 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libfribidi0 ppc64el 1.0.8-2.1ubuntu1 [27.3 kB] Get:109 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-pkg-resources all 59.6.0-1.2 [132 kB] Get:110 http://ftpmaster.internal/ubuntu kinetic/main ppc64el bsdextrautils ppc64el 2.38-4ubuntu1 [77.3 kB] Get:111 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmagic-mgc ppc64el 1:5.41-4 [257 kB] Get:112 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el dh-python all 5.20221001build1 [117 kB] Get:113 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libmagic1 ppc64el 1:5.41-4 [103 kB] Get:114 http://ftpmaster.internal/ubuntu kinetic/main ppc64el file ppc64el 1:5.41-4 [22.6 kB] Get:115 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gettext-base ppc64el 0.21-8 [42.0 kB] Get:116 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libuchardet0 ppc64el 0.0.7-1build2 [80.4 kB] Get:117 http://ftpmaster.internal/ubuntu kinetic/main ppc64el groff-base ppc64el 1.22.4-8build1 [1031 kB] Get:118 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el libbabeltrace1 ppc64el 1.5.8-2build2 [201 kB] Get:119 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libnghttp2-14 ppc64el 1.49.0-1 [88.6 kB] Get:120 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpipeline1 ppc64el 1.5.6-2 [25.8 kB] Get:121 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpsl5 ppc64el 0.21.0-1.2build2 [60.3 kB] Get:122 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxmuu1 ppc64el 2:1.1.3-3 [10.7 kB] Get:123 http://ftpmaster.internal/ubuntu kinetic/main ppc64el man-db ppc64el 2.10.2-2 [1219 kB] Get:124 http://ftpmaster.internal/ubuntu kinetic/main ppc64el xauth ppc64el 1:1.1.1-1 [32.0 kB] Get:125 http://ftpmaster.internal/ubuntu kinetic/main ppc64el m4 ppc64el 1.4.19-1 [275 kB] Get:126 http://ftpmaster.internal/ubuntu kinetic/main ppc64el autoconf all 2.71-2 [338 kB] Get:127 http://ftpmaster.internal/ubuntu kinetic/main ppc64el autotools-dev all 20220109.1 [44.9 kB] Get:128 http://ftpmaster.internal/ubuntu kinetic/main ppc64el automake all 1:1.16.5-1.3 [558 kB] Get:129 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el libboost-regex1.74.0 ppc64el 1.74.0-17ubuntu2~ppa2 [550 kB] Get:130 http://ftpmaster.internal/ubuntu kinetic/main ppc64el autopoint all 0.21-8 [421 kB] Get:131 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libtcl8.6 ppc64el 8.6.12+dfsg-1build1 [1195 kB] Get:132 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxft2 ppc64el 2.3.4-1 [55.6 kB] Get:133 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxss1 ppc64el 1:1.2.3-1build2 [8982 B] Get:134 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libtk8.6 ppc64el 8.6.12-1build1 [926 kB] Get:135 http://ftpmaster.internal/ubuntu kinetic/main ppc64el tk8.6-blt2.5 ppc64el 2.5.3+dfsg-4.1build2 [777 kB] Get:136 http://ftpmaster.internal/ubuntu kinetic/main ppc64el blt ppc64el 2.5.3+dfsg-4.1build2 [4838 B] Get:137 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdebhelper-perl all 13.9.1ubuntu1 [66.4 kB] Get:138 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libtool all 2.4.7-4 [166 kB] Get:139 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dh-autoreconf all 20 [16.1 kB] Get:140 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] Get:141 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsub-override-perl all 0.09-3 [9756 B] Get:142 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] Get:143 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dh-strip-nondeterminism all 1.13.0-1 [5344 B] Get:144 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdw1 ppc64el 0.187-4 [280 kB] Get:145 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el libboost1.74-dev ppc64el 1.74.0-17ubuntu2~ppa2 [9616 kB] Get:146 http://ftpmaster.internal/ubuntu kinetic/main ppc64el debugedit ppc64el 1:5.0-5 [51.1 kB] Get:147 http://ftpmaster.internal/ubuntu kinetic/main ppc64el dwz ppc64el 0.14-1build2 [124 kB] Get:148 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gettext ppc64el 0.21-8 [970 kB] Get:149 http://ftpmaster.internal/ubuntu kinetic/main ppc64el intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:150 http://ftpmaster.internal/ubuntu kinetic/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] Get:151 http://ftpmaster.internal/ubuntu kinetic/main ppc64el debhelper all 13.9.1ubuntu1 [939 kB] Get:152 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-lib2to3 all 3.10.7-1 [77.5 kB] Get:153 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-distutils all 3.10.7-1 [139 kB] Get:154 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el fonts-lyx all 2.3.6.1-1 [167 kB] Get:155 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsasl2-modules-db ppc64el 2.1.28+dfsg-6ubuntu2 [22.8 kB] Get:156 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsasl2-2 ppc64el 2.1.28+dfsg-6ubuntu2 [69.2 kB] Get:157 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libldap-2.5-0 ppc64el 2.5.13+dfsg-1ubuntu1 [217 kB] Get:158 http://ftpmaster.internal/ubuntu kinetic/main ppc64el librtmp1 ppc64el 2.4+20151223.gitfa8646d.1-2build4 [65.5 kB] Get:159 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libssh-4 ppc64el 0.9.6-2build1 [236 kB] Get:160 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libcurl3-gnutls ppc64el 7.85.0-1 [357 kB] Get:161 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdebuginfod1 ppc64el 0.187-4 [14.1 kB] Get:162 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpython3.10 ppc64el 3.10.7-1 [2118 kB] Get:163 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsource-highlight-common all 3.1.9-4.1ubuntu1 [64.1 kB] Get:164 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libsource-highlight4v5 ppc64el 3.1.9-4.1ubuntu1 [236 kB] Get:165 http://ftpmaster.internal/ubuntu kinetic/main ppc64el gdb ppc64el 12.1-3ubuntu2 [4592 kB] Get:166 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libavahi-common-data ppc64el 0.8-6ubuntu1 [24.0 kB] Get:167 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libavahi-common3 ppc64el 0.8-6ubuntu1 [25.6 kB] Get:168 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libavahi-client3 ppc64el 0.8-6ubuntu1 [30.7 kB] Get:169 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libblas3 ppc64el 3.10.1-2 [204 kB] Get:170 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libboost-dev ppc64el 1.74.0.3ubuntu7 [3490 B] Get:171 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libcups2 ppc64el 2.4.2-1ubuntu2 [333 kB] Get:172 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libdeflate0 ppc64el 1.12-1 [53.0 kB] Get:173 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libexpat1-dev ppc64el 2.4.8-2 [145 kB] Get:174 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libfontenc1 ppc64el 1:1.1.4-1build3 [16.2 kB] Get:175 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libgfortran5 ppc64el 12.2.0-3ubuntu1 [545 kB] Get:176 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libimagequant0 ppc64el 2.17.0-1 [40.2 kB] Get:177 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libjs-jquery all 3.6.0+dfsg+~3.5.13-1 [321 kB] Get:178 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libjs-jquery-ui all 1.13.2+dfsg-1 [252 kB] Get:179 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libjs-underscore all 1.13.3~dfsg+~1.11.4-1 [118 kB] Get:180 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libjs-sphinxdoc all 4.5.0-4 [142 kB] Get:181 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libopenblas0-pthread ppc64el 0.3.20+ds-2 [6490 kB] Get:182 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el libpython3-dev ppc64el 3.10.6-1ubuntu1~ppa1 [22.2 kB] Get:183 http://ftpmaster.internal/ubuntu kinetic/main ppc64el liblapack3 ppc64el 3.10.1-2 [2425 kB] Get:184 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el libpython3.11-stdlib ppc64el 3.11.0~rc2-1ubuntu1~ppa1 [1831 kB] Get:185 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el liblbfgsb0 ppc64el 3.0+dfsg.3-11 [31.3 kB] Get:186 http://ftpmaster.internal/ubuntu kinetic/main ppc64el liblcms2-2 ppc64el 2.13.1-1 [239 kB] Get:187 http://ftpmaster.internal/ubuntu kinetic/main ppc64el liblerc3 ppc64el 3.0+ds-1ubuntu1 [194 kB] Get:188 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libopenblas0 ppc64el 0.3.20+ds-2 [6076 B] Get:189 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libopenblas-pthread-dev ppc64el 0.3.20+ds-2 [4505 kB] Get:190 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libopenblas-dev ppc64el 0.3.20+ds-2 [18.4 kB] Get:191 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpixman-1-0 ppc64el 0.40.0-1build4 [297 kB] Get:192 http://ftpmaster.internal/ubuntu kinetic/main ppc64el zlib1g-dev ppc64el 1:1.2.11.dfsg-4.1ubuntu1 [175 kB] Get:193 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libpython3.10-dev ppc64el 3.10.7-1 [4956 kB] Get:194 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el libpython3.11 ppc64el 3.11.0~rc2-1ubuntu1~ppa1 [2402 kB] Get:195 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqhull-r8.0 ppc64el 2020.2-5 [220 kB] Get:196 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5xml5 ppc64el 5.15.6+dfsg-1 [133 kB] Get:197 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5designer5 ppc64el 5.15.6-1build1 [2901 kB] Get:198 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5sql5 ppc64el 5.15.6+dfsg-1 [134 kB] Get:199 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5help5 ppc64el 5.15.6-1build1 [177 kB] Get:200 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5printsupport5 ppc64el 5.15.6+dfsg-1 [220 kB] Get:201 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5test5 ppc64el 5.15.6+dfsg-1 [152 kB] Get:202 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libqt5x11extras5 ppc64el 5.15.6-1 [10.9 kB] Get:203 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libraqm0 ppc64el 0.7.0-4ubuntu1 [14.0 kB] Get:204 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libjbig0 ppc64el 2.1-3.1build3 [33.6 kB] Get:205 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libwebp7 ppc64el 1.2.2-2 [303 kB] Get:206 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libtiff5 ppc64el 4.4.0-4ubuntu3 [244 kB] Get:207 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libunwind8 ppc64el 1.6.2-0ubuntu1 [60.3 kB] Get:208 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libwebpdemux2 ppc64el 1.2.2-2 [11.3 kB] Get:209 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libwebpmux3 ppc64el 1.2.2-2 [25.3 kB] Get:210 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxt6 ppc64el 1:1.2.1-1 [202 kB] Get:211 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxmu6 ppc64el 2:1.1.3-3 [57.2 kB] Get:212 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxpm4 ppc64el 1:3.5.12-1build2 [46.8 kB] Get:213 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxaw7 ppc64el 2:1.0.14-1 [227 kB] Get:214 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxfont2 ppc64el 1:2.0.5-1build1 [119 kB] Get:215 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build3 [89.3 kB] Get:216 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxrandr2 ppc64el 2:1.5.2-2 [22.7 kB] Get:217 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libxsimd-dev ppc64el 8.1.0-7 [90.7 kB] Get:218 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libxslt1.1 ppc64el 1.1.35-1 [185 kB] Get:219 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python-babel-localedata all 2.8.0+dfsg.1-7 [4982 kB] Get:220 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el libpython3.11-dev ppc64el 3.11.0~rc2-1ubuntu1~ppa1 [5692 kB] Get:221 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3.10-dev ppc64el 3.10.7-1 [507 kB] Get:222 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-appdirs all 1.4.4-2 [11.4 kB] Get:223 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-asgiref all 3.5.0-1 [23.9 kB] Get:224 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-async-generator all 1.10-3 [17.5 kB] Get:225 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-attr all 22.1.0-1 [48.5 kB] Get:226 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-tz all 2022.2.1-1 [32.5 kB] Get:227 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-babel all 2.8.0+dfsg.1-7 [85.1 kB] Get:228 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-backcall all 0.2.0-3 [12.7 kB] Get:229 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-gast all 0.5.2-2 [9394 B] Get:230 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-beniget all 0.4.1-2 [9904 B] Get:231 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-bytecode all 0.13.0-2 [24.5 kB] Get:232 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-more-itertools all 8.10.0-2 [47.9 kB] Get:233 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-jaraco.functools all 3.5.0-1 [9228 B] Get:234 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-cheroot all 8.6.0+ds1-3ubuntu1 [74.6 kB] Get:235 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-jaraco.classes all 3.2.1-3 [6452 B] Get:236 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-jaraco.context all 4.1.1-2 [5602 B] Get:237 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-jaraco.text all 3.7.0-1 [9254 B] Get:238 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-jaraco.collections all 3.5.1-1 [11.5 kB] Get:239 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-tempora all 5.0.1-1 [14.8 kB] Get:240 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-portend all 3.1.0-1 [7272 B] Get:241 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-zc.lockfile all 2.0-2 [8844 B] Get:242 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-cherrypy3 all 18.8.0-1 [208 kB] Get:243 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-colorama all 0.4.5-2 [25.1 kB] Get:244 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-click all 8.0.3-1 [78.3 kB] Get:245 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-cycler all 0.11.0-1 [8156 B] Get:246 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-six all 1.16.0-4 [12.4 kB] Get:247 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-dateutil all 2.8.1-6 [78.4 kB] Get:248 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-decorator all 4.4.2-0ubuntu1 [10.3 kB] Get:249 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-defusedxml all 0.7.1-1 [43.2 kB] Get:250 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-sqlparse all 0.4.2-1 [31.4 kB] Get:251 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-django all 3:3.2.15-1ubuntu1 [2998 kB] Get:252 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-execnet all 1.9.0-1 [33.5 kB] Get:253 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-itsdangerous all 2.1.2-2 [14.5 kB] Get:254 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-jinja2 all 3.0.3-1 [108 kB] Get:255 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-werkzeug all 2.0.2+dfsg1-3 [180 kB] Get:256 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-flask all 2.0.3-1ubuntu1 [81.5 kB] Get:257 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-ply all 3.11-5 [47.5 kB] Get:258 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-ufolib2 all 0.13.1+dfsg1-1 [32.2 kB] Get:259 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-mpmath all 1.2.1-2 [419 kB] Get:260 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-sympy all 1.10.1-3 [4394 kB] Get:261 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el libpython3-all-dev ppc64el 3.10.6-1ubuntu1~ppa1 [932 B] Get:262 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-fs all 2.4.16-1 [91.8 kB] Get:263 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-unicodedata2 ppc64el 14.0.0+ds2-1ubuntu1 [366 kB] Get:264 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el unicode-data all 15.0.0-1 [8262 kB] Get:265 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python-matplotlib-data all 3.5.2-2build2~ppa1 [2949 kB] Get:266 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-idna all 3.3-1 [49.3 kB] Get:267 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] Get:268 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-parso all 0.8.1-1 [64.5 kB] Get:269 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-jedi all 0.18.0-1 [615 kB] Get:270 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-traitlets all 5.3.0-1 [85.5 kB] Get:271 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-matplotlib-inline all 0.1.3-1 [8070 B] Get:272 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-ptyprocess all 0.7.0-3 [15.4 kB] Get:273 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-pexpect all 4.8.0-3ubuntu1 [46.6 kB] Get:274 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-pickleshare all 0.7.5-5 [7570 B] Get:275 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-wcwidth all 0.2.5+dfsg1-1 [21.9 kB] Get:276 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-prompt-toolkit all 3.0.30-1 [251 kB] Get:277 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-pygments all 2.12.0+dfsg-2 [766 kB] Get:278 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-ipython all 7.31.1-1 [534 kB] Get:279 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libopenjp2-7 ppc64el 2.5.0-1 [234 kB] Get:280 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-tk ppc64el 3.10.7-1 [112 kB] Get:281 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-pyparsing all 3.0.7-2 [82.6 kB] Get:282 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-packaging all 21.3-1.1 [30.6 kB] Get:283 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-outcome all 1.2.0-1 [5922 B] Get:284 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-pluggy all 1.0.0+repack-1 [15.1 kB] Get:285 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-tomli all 2.0.1-1 [16.6 kB] Get:286 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-pytest all 7.1.2-2ubuntu1 [219 kB] Get:287 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-pytest-forked all 1.4.0-1 [7316 B] Get:288 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-pytest-xdist all 2.5.0-5 [39.8 kB] Get:289 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-setuptools all 59.6.0-1.2 [339 kB] Get:290 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-sniffio all 1.2.0-1 [6438 B] Get:291 http://ftpmaster.internal/ubuntu kinetic/main ppc64el python3-sortedcontainers all 2.4.0-2 [27.6 kB] Get:292 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-trio all 0.21.0-1 [240 kB] Get:293 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-untangle all 1.2.1-1 [8048 B] Get:294 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-zope.event all 4.4-3 [8180 B] Get:295 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el txt2man all 1.7.1-2 [35.4 kB] Get:296 http://ftpmaster.internal/ubuntu kinetic/main ppc64el x11-xkb-utils ppc64el 7.7+7 [204 kB] Get:297 http://ftpmaster.internal/ubuntu kinetic/main ppc64el xserver-common all 2:21.1.4-2ubuntu1 [27.4 kB] Get:298 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el xvfb ppc64el 2:21.1.4-2ubuntu1 [1059 kB] Get:299 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3.11 ppc64el 3.11.0~rc2-1ubuntu1~ppa1 [601 kB] Get:300 http://ftpmaster.internal/ubuntu kinetic/main ppc64el libc-ares2 ppc64el 1.18.1-1build1 [56.9 kB] Get:301 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el libev4 ppc64el 1:4.33-1 [31.6 kB] Get:302 http://ftpmaster.internal/ubuntu kinetic/universe ppc64el python3-gevent ppc64el 21.8.0-1build1 [885 kB] Get:303 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3-all ppc64el 3.10.6-1ubuntu1~ppa1 [920 B] Get:304 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3-dev ppc64el 3.10.6-1ubuntu1~ppa1 [26.0 kB] Get:305 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3.11-dev ppc64el 3.11.0~rc2-1ubuntu1~ppa1 [620 kB] Get:306 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3-all-dev ppc64el 3.10.6-1ubuntu1~ppa1 [930 B] Get:307 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-brotli ppc64el 1.0.9-2build7 [371 kB] Get:308 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-coverage ppc64el 6.2+dfsg1-2build2 [156 kB] Get:309 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-markupsafe ppc64el 2.0.1-2build2 [14.9 kB] Get:310 http://ppa.launchpadcontent.net/pythoneers/python3.11-numpy/ubuntu kinetic/main ppc64el python3-numpy ppc64el 1:1.21.5-1ubuntu1~ppa1 [8524 kB] Get:311 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-pythran ppc64el 0.11.0+ds-7build1 [427 kB] Get:312 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-scipy ppc64el 1.8.1-10build1 [18.8 MB] Get:313 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-lxml ppc64el 4.9.1-1build1 [1826 kB] Get:314 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-lz4 ppc64el 4.0.0+dfsg-1build1 [28.0 kB] Get:315 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-fonttools ppc64el 4.34.4-1build1 [892 kB] Get:316 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3-greenlet ppc64el 1.1.3-0ubuntu1~ppa1 [71.4 kB] Get:317 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-kiwisolver ppc64el 1.3.2-1build2 [56.9 kB] Get:318 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-pil ppc64el 9.2.0-1build1 [530 kB] Get:319 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-pil.imagetk ppc64el 9.2.0-1build1 [78.9 kB] Get:320 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-matplotlib ppc64el 3.5.2-2build2~ppa1 [7834 kB] Get:321 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3-pandas-lib ppc64el 1.3.5+dfsg-5ubuntu1~ppa1 [6922 kB] Get:322 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3-pandas all 1.3.5+dfsg-5ubuntu1~ppa1 [2697 kB] Get:323 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-psutil ppc64el 5.9.0-1build2 [193 kB] Get:324 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main ppc64el python3-py all 1.11.0-0ubuntu1~ppa1 [95.3 kB] Get:325 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-pyqt5.sip ppc64el 12.11.0-1build1 [78.2 kB] Get:326 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-pyqt5 ppc64el 5.15.7+dfsg-1build2 [2636 kB] Get:327 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-pyqt5.qtsvg ppc64el 5.15.7+dfsg-1build2 [43.2 kB] Get:328 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main ppc64el python3-zope.interface ppc64el 5.4.0-3build1 [159 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 228 MB in 32s (7087 kB/s) Selecting previously unselected package libpython3.10-minimal:ppc64el. (Reading database ... 13522 files and directories currently installed.) Preparing to unpack .../libpython3.10-minimal_3.10.7-1_ppc64el.deb ... Unpacking libpython3.10-minimal:ppc64el (3.10.7-1) ... Selecting previously unselected package libexpat1:ppc64el. Preparing to unpack .../libexpat1_2.4.8-2_ppc64el.deb ... Unpacking libexpat1:ppc64el (2.4.8-2) ... Selecting previously unselected package python3.10-minimal. Preparing to unpack .../python3.10-minimal_3.10.7-1_ppc64el.deb ... Unpacking python3.10-minimal (3.10.7-1) ... Selecting previously unselected package libsigsegv2:ppc64el. Preparing to unpack .../libsigsegv2_2.14-1ubuntu1_ppc64el.deb ... Unpacking libsigsegv2:ppc64el (2.14-1ubuntu1) ... Setting up libsigsegv2:ppc64el (2.14-1ubuntu1) ... Selecting previously unselected package gawk. (Reading database ... 13831 files and directories currently installed.) Preparing to unpack .../00-gawk_1%3a5.1.0-1build3_ppc64el.deb ... Unpacking gawk (1:5.1.0-1build3) ... Selecting previously unselected package ucf. Preparing to unpack .../01-ucf_3.0043_all.deb ... Moving old data out of the way Unpacking ucf (3.0043) ... Selecting previously unselected package libdebuginfod-common. Preparing to unpack .../02-libdebuginfod-common_0.187-4_all.deb ... Unpacking libdebuginfod-common (0.187-4) ... Selecting previously unselected package libglib2.0-0:ppc64el. Preparing to unpack .../03-libglib2.0-0_2.74.0-3_ppc64el.deb ... Unpacking libglib2.0-0:ppc64el (2.74.0-3) ... Selecting previously unselected package libicu71:ppc64el. Preparing to unpack .../04-libicu71_71.1-3ubuntu1_ppc64el.deb ... Unpacking libicu71:ppc64el (71.1-3ubuntu1) ... Selecting previously unselected package libxml2:ppc64el. Preparing to unpack .../05-libxml2_2.9.14+dfsg-1build1_ppc64el.deb ... Unpacking libxml2:ppc64el (2.9.14+dfsg-1build1) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../06-shared-mime-info_2.2-1_ppc64el.deb ... Unpacking shared-mime-info (2.2-1) ... Selecting previously unselected package libdouble-conversion3:ppc64el. Preparing to unpack .../07-libdouble-conversion3_3.2.1-1_ppc64el.deb ... Unpacking libdouble-conversion3:ppc64el (3.2.1-1) ... Selecting previously unselected package libpcre2-16-0:ppc64el. Preparing to unpack .../08-libpcre2-16-0_10.40-1ubuntu1_ppc64el.deb ... Unpacking libpcre2-16-0:ppc64el (10.40-1ubuntu1) ... Selecting previously unselected package libqt5core5a:ppc64el. Preparing to unpack .../09-libqt5core5a_5.15.6+dfsg-1_ppc64el.deb ... Unpacking libqt5core5a:ppc64el (5.15.6+dfsg-1) ... Selecting previously unselected package libbrotli1:ppc64el. Preparing to unpack .../10-libbrotli1_1.0.9-2build7_ppc64el.deb ... Unpacking libbrotli1:ppc64el (1.0.9-2build7) ... Selecting previously unselected package libfreetype6:ppc64el. Preparing to unpack .../11-libfreetype6_2.12.1+dfsg-3_ppc64el.deb ... Unpacking libfreetype6:ppc64el (2.12.1+dfsg-3) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../12-fonts-dejavu-core_2.37-2build1_all.deb ... Unpacking fonts-dejavu-core (2.37-2build1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../13-fontconfig-config_2.13.1-4.4ubuntu1_all.deb ... Unpacking fontconfig-config (2.13.1-4.4ubuntu1) ... Selecting previously unselected package libfontconfig1:ppc64el. Preparing to unpack .../14-libfontconfig1_2.13.1-4.4ubuntu1_ppc64el.deb ... Unpacking libfontconfig1:ppc64el (2.13.1-4.4ubuntu1) ... Selecting previously unselected package fontconfig. Preparing to unpack .../15-fontconfig_2.13.1-4.4ubuntu1_ppc64el.deb ... Unpacking fontconfig (2.13.1-4.4ubuntu1) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../16-libdrm-common_2.4.113-2_all.deb ... Unpacking libdrm-common (2.4.113-2) ... Selecting previously unselected package libdrm2:ppc64el. Preparing to unpack .../17-libdrm2_2.4.113-2_ppc64el.deb ... Unpacking libdrm2:ppc64el (2.4.113-2) ... Selecting previously unselected package libglvnd0:ppc64el. Preparing to unpack .../18-libglvnd0_1.5.0-1_ppc64el.deb ... Unpacking libglvnd0:ppc64el (1.5.0-1) ... Selecting previously unselected package libwayland-server0:ppc64el. Preparing to unpack .../19-libwayland-server0_1.21.0-1_ppc64el.deb ... Unpacking libwayland-server0:ppc64el (1.21.0-1) ... Selecting previously unselected package libgbm1:ppc64el. Preparing to unpack .../20-libgbm1_22.2.1-1ubuntu1_ppc64el.deb ... Unpacking libgbm1:ppc64el (22.2.1-1ubuntu1) ... Selecting previously unselected package libglapi-mesa:ppc64el. Preparing to unpack .../21-libglapi-mesa_22.2.1-1ubuntu1_ppc64el.deb ... Unpacking libglapi-mesa:ppc64el (22.2.1-1ubuntu1) ... Selecting previously unselected package libwayland-client0:ppc64el. Preparing to unpack .../22-libwayland-client0_1.21.0-1_ppc64el.deb ... Unpacking libwayland-client0:ppc64el (1.21.0-1) ... Selecting previously unselected package libxau6:ppc64el. Preparing to unpack .../23-libxau6_1%3a1.0.9-1build5_ppc64el.deb ... Unpacking libxau6:ppc64el (1:1.0.9-1build5) ... Selecting previously unselected package libmd0:ppc64el. Preparing to unpack .../24-libmd0_1.0.4-2_ppc64el.deb ... Unpacking libmd0:ppc64el (1.0.4-2) ... Selecting previously unselected package libbsd0:ppc64el. Preparing to unpack .../25-libbsd0_0.11.6-1_ppc64el.deb ... Unpacking libbsd0:ppc64el (0.11.6-1) ... Selecting previously unselected package libxdmcp6:ppc64el. Preparing to unpack .../26-libxdmcp6_1%3a1.1.3-0ubuntu5_ppc64el.deb ... Unpacking libxdmcp6:ppc64el (1:1.1.3-0ubuntu5) ... Selecting previously unselected package libxcb1:ppc64el. Preparing to unpack .../27-libxcb1_1.15-1_ppc64el.deb ... Unpacking libxcb1:ppc64el (1.15-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../28-libx11-data_2%3a1.8.1-2_all.deb ... Unpacking libx11-data (2:1.8.1-2) ... Selecting previously unselected package libx11-6:ppc64el. Preparing to unpack .../29-libx11-6_2%3a1.8.1-2_ppc64el.deb ... Unpacking libx11-6:ppc64el (2:1.8.1-2) ... Selecting previously unselected package libx11-xcb1:ppc64el. Preparing to unpack .../30-libx11-xcb1_2%3a1.8.1-2_ppc64el.deb ... Unpacking libx11-xcb1:ppc64el (2:1.8.1-2) ... Selecting previously unselected package libxcb-dri2-0:ppc64el. Preparing to unpack .../31-libxcb-dri2-0_1.15-1_ppc64el.deb ... Unpacking libxcb-dri2-0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-dri3-0:ppc64el. Preparing to unpack .../32-libxcb-dri3-0_1.15-1_ppc64el.deb ... Unpacking libxcb-dri3-0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-present0:ppc64el. Preparing to unpack .../33-libxcb-present0_1.15-1_ppc64el.deb ... Unpacking libxcb-present0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-sync1:ppc64el. Preparing to unpack .../34-libxcb-sync1_1.15-1_ppc64el.deb ... Unpacking libxcb-sync1:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-xfixes0:ppc64el. Preparing to unpack .../35-libxcb-xfixes0_1.15-1_ppc64el.deb ... Unpacking libxcb-xfixes0:ppc64el (1.15-1) ... Selecting previously unselected package libxshmfence1:ppc64el. Preparing to unpack .../36-libxshmfence1_1.3-1build4_ppc64el.deb ... Unpacking libxshmfence1:ppc64el (1.3-1build4) ... Selecting previously unselected package libegl-mesa0:ppc64el. Preparing to unpack .../37-libegl-mesa0_22.2.1-1ubuntu1_ppc64el.deb ... Unpacking libegl-mesa0:ppc64el (22.2.1-1ubuntu1) ... Selecting previously unselected package libegl1:ppc64el. Preparing to unpack .../38-libegl1_1.5.0-1_ppc64el.deb ... Unpacking libegl1:ppc64el (1.5.0-1) ... Selecting previously unselected package libxcb-glx0:ppc64el. Preparing to unpack .../39-libxcb-glx0_1.15-1_ppc64el.deb ... Unpacking libxcb-glx0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-shm0:ppc64el. Preparing to unpack .../40-libxcb-shm0_1.15-1_ppc64el.deb ... Unpacking libxcb-shm0:ppc64el (1.15-1) ... Selecting previously unselected package libxext6:ppc64el. Preparing to unpack .../41-libxext6_2%3a1.3.4-1build1_ppc64el.deb ... Unpacking libxext6:ppc64el (2:1.3.4-1build1) ... Selecting previously unselected package libxfixes3:ppc64el. Preparing to unpack .../42-libxfixes3_1%3a6.0.0-1_ppc64el.deb ... Unpacking libxfixes3:ppc64el (1:6.0.0-1) ... Selecting previously unselected package libxxf86vm1:ppc64el. Preparing to unpack .../43-libxxf86vm1_1%3a1.1.4-1build3_ppc64el.deb ... Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build3) ... Selecting previously unselected package libdrm-amdgpu1:ppc64el. Preparing to unpack .../44-libdrm-amdgpu1_2.4.113-2_ppc64el.deb ... Unpacking libdrm-amdgpu1:ppc64el (2.4.113-2) ... Selecting previously unselected package libdrm-nouveau2:ppc64el. Preparing to unpack .../45-libdrm-nouveau2_2.4.113-2_ppc64el.deb ... Unpacking libdrm-nouveau2:ppc64el (2.4.113-2) ... Selecting previously unselected package libdrm-radeon1:ppc64el. Preparing to unpack .../46-libdrm-radeon1_2.4.113-2_ppc64el.deb ... Unpacking libdrm-radeon1:ppc64el (2.4.113-2) ... Selecting previously unselected package libelf1:ppc64el. Preparing to unpack .../47-libelf1_0.187-4_ppc64el.deb ... Unpacking libelf1:ppc64el (0.187-4) ... Selecting previously unselected package libedit2:ppc64el. Preparing to unpack .../48-libedit2_3.1-20210910-1build1_ppc64el.deb ... Unpacking libedit2:ppc64el (3.1-20210910-1build1) ... Selecting previously unselected package libllvm15:ppc64el. Preparing to unpack .../49-libllvm15_1%3a15.0.2-1_ppc64el.deb ... Unpacking libllvm15:ppc64el (1:15.0.2-1) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../50-libsensors-config_1%3a3.6.0-7ubuntu1_all.deb ... Unpacking libsensors-config (1:3.6.0-7ubuntu1) ... Selecting previously unselected package libsensors5:ppc64el. Preparing to unpack .../51-libsensors5_1%3a3.6.0-7ubuntu1_ppc64el.deb ... Unpacking libsensors5:ppc64el (1:3.6.0-7ubuntu1) ... Selecting previously unselected package libgl1-mesa-dri:ppc64el. Preparing to unpack .../52-libgl1-mesa-dri_22.2.1-1ubuntu1_ppc64el.deb ... Unpacking libgl1-mesa-dri:ppc64el (22.2.1-1ubuntu1) ... Selecting previously unselected package libglx-mesa0:ppc64el. Preparing to unpack .../53-libglx-mesa0_22.2.1-1ubuntu1_ppc64el.deb ... Unpacking libglx-mesa0:ppc64el (22.2.1-1ubuntu1) ... Selecting previously unselected package libglx0:ppc64el. Preparing to unpack .../54-libglx0_1.5.0-1_ppc64el.deb ... Unpacking libglx0:ppc64el (1.5.0-1) ... Selecting previously unselected package libgl1:ppc64el. Preparing to unpack .../55-libgl1_1.5.0-1_ppc64el.deb ... Unpacking libgl1:ppc64el (1.5.0-1) ... Selecting previously unselected package libgraphite2-3:ppc64el. Preparing to unpack .../56-libgraphite2-3_1.3.14-1build2_ppc64el.deb ... Unpacking libgraphite2-3:ppc64el (1.3.14-1build2) ... Selecting previously unselected package libharfbuzz0b:ppc64el. Preparing to unpack .../57-libharfbuzz0b_2.7.4-1ubuntu5_ppc64el.deb ... Unpacking libharfbuzz0b:ppc64el (2.7.4-1ubuntu5) ... Selecting previously unselected package x11-common. Preparing to unpack .../58-x11-common_1%3a7.7+23ubuntu2_all.deb ... Unpacking x11-common (1:7.7+23ubuntu2) ... Selecting previously unselected package libice6:ppc64el. Preparing to unpack .../59-libice6_2%3a1.0.10-1build2_ppc64el.deb ... Unpacking libice6:ppc64el (2:1.0.10-1build2) ... Selecting previously unselected package libevdev2:ppc64el. Preparing to unpack .../60-libevdev2_1.13.0+dfsg-1_ppc64el.deb ... Unpacking libevdev2:ppc64el (1.13.0+dfsg-1) ... Selecting previously unselected package libmtdev1:ppc64el. Preparing to unpack .../61-libmtdev1_1.1.6-1build4_ppc64el.deb ... Unpacking libmtdev1:ppc64el (1.1.6-1build4) ... Selecting previously unselected package libgudev-1.0-0:ppc64el. Preparing to unpack .../62-libgudev-1.0-0_1%3a237-2build1_ppc64el.deb ... Unpacking libgudev-1.0-0:ppc64el (1:237-2build1) ... Selecting previously unselected package libwacom-common. Preparing to unpack .../63-libwacom-common_2.4.0-3_all.deb ... Unpacking libwacom-common (2.4.0-3) ... Selecting previously unselected package libwacom9:ppc64el. Preparing to unpack .../64-libwacom9_2.4.0-3_ppc64el.deb ... Unpacking libwacom9:ppc64el (2.4.0-3) ... Selecting previously unselected package libinput-bin. Preparing to unpack .../65-libinput-bin_1.21.0-1_ppc64el.deb ... Unpacking libinput-bin (1.21.0-1) ... Selecting previously unselected package libinput10:ppc64el. Preparing to unpack .../66-libinput10_1.21.0-1_ppc64el.deb ... Unpacking libinput10:ppc64el (1.21.0-1) ... Selecting previously unselected package libjpeg-turbo8:ppc64el. Preparing to unpack .../67-libjpeg-turbo8_2.1.2-0ubuntu1_ppc64el.deb ... Unpacking libjpeg-turbo8:ppc64el (2.1.2-0ubuntu1) ... Selecting previously unselected package libjpeg8:ppc64el. Preparing to unpack .../68-libjpeg8_8c-2ubuntu10_ppc64el.deb ... Unpacking libjpeg8:ppc64el (8c-2ubuntu10) ... Selecting previously unselected package libmd4c0:ppc64el. Preparing to unpack .../69-libmd4c0_0.4.8-1_ppc64el.deb ... Unpacking libmd4c0:ppc64el (0.4.8-1) ... Selecting previously unselected package libdbus-1-3:ppc64el. Preparing to unpack .../70-libdbus-1-3_1.14.0-2ubuntu2_ppc64el.deb ... Unpacking libdbus-1-3:ppc64el (1.14.0-2ubuntu2) ... Selecting previously unselected package libqt5dbus5:ppc64el. Preparing to unpack .../71-libqt5dbus5_5.15.6+dfsg-1_ppc64el.deb ... Unpacking libqt5dbus5:ppc64el (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5network5:ppc64el. Preparing to unpack .../72-libqt5network5_5.15.6+dfsg-1_ppc64el.deb ... Unpacking libqt5network5:ppc64el (5.15.6+dfsg-1) ... Selecting previously unselected package libsm6:ppc64el. Preparing to unpack .../73-libsm6_2%3a1.2.3-1build2_ppc64el.deb ... Unpacking libsm6:ppc64el (2:1.2.3-1build2) ... Selecting previously unselected package libxcb-icccm4:ppc64el. Preparing to unpack .../74-libxcb-icccm4_0.4.1-1.1build2_ppc64el.deb ... Unpacking libxcb-icccm4:ppc64el (0.4.1-1.1build2) ... Selecting previously unselected package libxcb-util1:ppc64el. Preparing to unpack .../75-libxcb-util1_0.4.0-1build2_ppc64el.deb ... Unpacking libxcb-util1:ppc64el (0.4.0-1build2) ... Selecting previously unselected package libxcb-image0:ppc64el. Preparing to unpack .../76-libxcb-image0_0.4.0-2_ppc64el.deb ... Unpacking libxcb-image0:ppc64el (0.4.0-2) ... Selecting previously unselected package libxcb-keysyms1:ppc64el. Preparing to unpack .../77-libxcb-keysyms1_0.4.0-1build3_ppc64el.deb ... Unpacking libxcb-keysyms1:ppc64el (0.4.0-1build3) ... Selecting previously unselected package libxcb-randr0:ppc64el. Preparing to unpack .../78-libxcb-randr0_1.15-1_ppc64el.deb ... Unpacking libxcb-randr0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-render0:ppc64el. Preparing to unpack .../79-libxcb-render0_1.15-1_ppc64el.deb ... Unpacking libxcb-render0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-render-util0:ppc64el. Preparing to unpack .../80-libxcb-render-util0_0.3.9-1build3_ppc64el.deb ... Unpacking libxcb-render-util0:ppc64el (0.3.9-1build3) ... Selecting previously unselected package libxcb-shape0:ppc64el. Preparing to unpack .../81-libxcb-shape0_1.15-1_ppc64el.deb ... Unpacking libxcb-shape0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-xinerama0:ppc64el. Preparing to unpack .../82-libxcb-xinerama0_1.15-1_ppc64el.deb ... Unpacking libxcb-xinerama0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-xinput0:ppc64el. Preparing to unpack .../83-libxcb-xinput0_1.15-1_ppc64el.deb ... Unpacking libxcb-xinput0:ppc64el (1.15-1) ... Selecting previously unselected package libxcb-xkb1:ppc64el. Preparing to unpack .../84-libxcb-xkb1_1.15-1_ppc64el.deb ... Unpacking libxcb-xkb1:ppc64el (1.15-1) ... Selecting previously unselected package xkb-data. Preparing to unpack .../85-xkb-data_2.35.1-1_all.deb ... Unpacking xkb-data (2.35.1-1) ... Selecting previously unselected package libxkbcommon0:ppc64el. Preparing to unpack .../86-libxkbcommon0_1.4.1-1_ppc64el.deb ... Unpacking libxkbcommon0:ppc64el (1.4.1-1) ... Selecting previously unselected package libxkbcommon-x11-0:ppc64el. Preparing to unpack .../87-libxkbcommon-x11-0_1.4.1-1_ppc64el.deb ... Unpacking libxkbcommon-x11-0:ppc64el (1.4.1-1) ... Selecting previously unselected package libxrender1:ppc64el. Preparing to unpack .../88-libxrender1_1%3a0.9.10-1.1_ppc64el.deb ... Unpacking libxrender1:ppc64el (1:0.9.10-1.1) ... Selecting previously unselected package libqt5gui5:ppc64el. Preparing to unpack .../89-libqt5gui5_5.15.6+dfsg-1_ppc64el.deb ... Unpacking libqt5gui5:ppc64el (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5widgets5:ppc64el. Preparing to unpack .../90-libqt5widgets5_5.15.6+dfsg-1_ppc64el.deb ... Unpacking libqt5widgets5:ppc64el (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5svg5:ppc64el. Preparing to unpack .../91-libqt5svg5_5.15.6-1_ppc64el.deb ... Unpacking libqt5svg5:ppc64el (5.15.6-1) ... Setting up libpython3.10-minimal:ppc64el (3.10.7-1) ... Setting up libexpat1:ppc64el (2.4.8-2) ... Setting up python3.10-minimal (3.10.7-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 15881 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.10.6-1ubuntu1~ppa1_ppc64el.deb ... Unpacking python3-minimal (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_8.0.0_all.deb ... Unpacking media-types (8.0.0) ... Selecting previously unselected package libmpdec3:ppc64el. Preparing to unpack .../2-libmpdec3_2.5.1-2build2_ppc64el.deb ... Unpacking libmpdec3:ppc64el (2.5.1-2build2) ... Selecting previously unselected package libpython3.10-stdlib:ppc64el. Preparing to unpack .../3-libpython3.10-stdlib_3.10.7-1_ppc64el.deb ... Unpacking libpython3.10-stdlib:ppc64el (3.10.7-1) ... Selecting previously unselected package python3.10. Preparing to unpack .../4-python3.10_3.10.7-1_ppc64el.deb ... Unpacking python3.10 (3.10.7-1) ... Selecting previously unselected package libpython3-stdlib:ppc64el. Preparing to unpack .../5-libpython3-stdlib_3.10.6-1ubuntu1~ppa1_ppc64el.deb ... Unpacking libpython3-stdlib:ppc64el (3.10.6-1ubuntu1~ppa1) ... Setting up python3-minimal (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package python3. (Reading database ... 16282 files and directories currently installed.) Preparing to unpack .../000-python3_3.10.6-1ubuntu1~ppa1_ppc64el.deb ... Unpacking python3 (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3.11-minimal:ppc64el. Preparing to unpack .../001-libpython3.11-minimal_3.11.0~rc2-1ubuntu1~ppa1_ppc64el.deb ... Unpacking libpython3.11-minimal:ppc64el (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../002-python3.11-minimal_3.11.0~rc2-1ubuntu1~ppa1_ppc64el.deb ... Unpacking python3.11-minimal (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package libfribidi0:ppc64el. Preparing to unpack .../003-libfribidi0_1.0.8-2.1ubuntu1_ppc64el.deb ... Unpacking libfribidi0:ppc64el (1.0.8-2.1ubuntu1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../004-python3-pkg-resources_59.6.0-1.2_all.deb ... Unpacking python3-pkg-resources (59.6.0-1.2) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../005-bsdextrautils_2.38-4ubuntu1_ppc64el.deb ... Unpacking bsdextrautils (2.38-4ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../006-libmagic-mgc_1%3a5.41-4_ppc64el.deb ... Unpacking libmagic-mgc (1:5.41-4) ... Selecting previously unselected package libmagic1:ppc64el. Preparing to unpack .../007-libmagic1_1%3a5.41-4_ppc64el.deb ... Unpacking libmagic1:ppc64el (1:5.41-4) ... Selecting previously unselected package file. Preparing to unpack .../008-file_1%3a5.41-4_ppc64el.deb ... Unpacking file (1:5.41-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../009-gettext-base_0.21-8_ppc64el.deb ... Unpacking gettext-base (0.21-8) ... Selecting previously unselected package libuchardet0:ppc64el. Preparing to unpack .../010-libuchardet0_0.0.7-1build2_ppc64el.deb ... Unpacking libuchardet0:ppc64el (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../011-groff-base_1.22.4-8build1_ppc64el.deb ... Unpacking groff-base (1.22.4-8build1) ... Selecting previously unselected package libnghttp2-14:ppc64el. Preparing to unpack .../012-libnghttp2-14_1.49.0-1_ppc64el.deb ... Unpacking libnghttp2-14:ppc64el (1.49.0-1) ... Selecting previously unselected package libpipeline1:ppc64el. Preparing to unpack .../013-libpipeline1_1.5.6-2_ppc64el.deb ... Unpacking libpipeline1:ppc64el (1.5.6-2) ... Selecting previously unselected package libpsl5:ppc64el. Preparing to unpack .../014-libpsl5_0.21.0-1.2build2_ppc64el.deb ... Unpacking libpsl5:ppc64el (0.21.0-1.2build2) ... Selecting previously unselected package libxmuu1:ppc64el. Preparing to unpack .../015-libxmuu1_2%3a1.1.3-3_ppc64el.deb ... Unpacking libxmuu1:ppc64el (2:1.1.3-3) ... Selecting previously unselected package man-db. Preparing to unpack .../016-man-db_2.10.2-2_ppc64el.deb ... Unpacking man-db (2.10.2-2) ... Selecting previously unselected package xauth. Preparing to unpack .../017-xauth_1%3a1.1.1-1_ppc64el.deb ... Unpacking xauth (1:1.1.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../018-m4_1.4.19-1_ppc64el.deb ... Unpacking m4 (1.4.19-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../019-autoconf_2.71-2_all.deb ... Unpacking autoconf (2.71-2) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../020-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../021-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 .../022-autopoint_0.21-8_all.deb ... Unpacking autopoint (0.21-8) ... Selecting previously unselected package libtcl8.6:ppc64el. Preparing to unpack .../023-libtcl8.6_8.6.12+dfsg-1build1_ppc64el.deb ... Unpacking libtcl8.6:ppc64el (8.6.12+dfsg-1build1) ... Selecting previously unselected package libxft2:ppc64el. Preparing to unpack .../024-libxft2_2.3.4-1_ppc64el.deb ... Unpacking libxft2:ppc64el (2.3.4-1) ... Selecting previously unselected package libxss1:ppc64el. Preparing to unpack .../025-libxss1_1%3a1.2.3-1build2_ppc64el.deb ... Unpacking libxss1:ppc64el (1:1.2.3-1build2) ... Selecting previously unselected package libtk8.6:ppc64el. Preparing to unpack .../026-libtk8.6_8.6.12-1build1_ppc64el.deb ... Unpacking libtk8.6:ppc64el (8.6.12-1build1) ... Selecting previously unselected package tk8.6-blt2.5. Preparing to unpack .../027-tk8.6-blt2.5_2.5.3+dfsg-4.1build2_ppc64el.deb ... Unpacking tk8.6-blt2.5 (2.5.3+dfsg-4.1build2) ... Selecting previously unselected package blt. Preparing to unpack .../028-blt_2.5.3+dfsg-4.1build2_ppc64el.deb ... Unpacking blt (2.5.3+dfsg-4.1build2) ... Selecting previously unselected package cython3. Preparing to unpack .../029-cython3_0.29.30-1ubuntu2_ppc64el.deb ... Unpacking cython3 (0.29.30-1ubuntu2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../030-libdebhelper-perl_13.9.1ubuntu1_all.deb ... Unpacking libdebhelper-perl (13.9.1ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../031-libtool_2.4.7-4_all.deb ... Unpacking libtool (2.4.7-4) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../032-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../033-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 .../034-libsub-override-perl_0.09-3_all.deb ... Unpacking libsub-override-perl (0.09-3) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../035-libfile-stripnondeterminism-perl_1.13.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../036-dh-strip-nondeterminism_1.13.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.0-1) ... Selecting previously unselected package libdw1:ppc64el. Preparing to unpack .../037-libdw1_0.187-4_ppc64el.deb ... Unpacking libdw1:ppc64el (0.187-4) ... Selecting previously unselected package debugedit. Preparing to unpack .../038-debugedit_1%3a5.0-5_ppc64el.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../039-dwz_0.14-1build2_ppc64el.deb ... Unpacking dwz (0.14-1build2) ... Selecting previously unselected package gettext. Preparing to unpack .../040-gettext_0.21-8_ppc64el.deb ... Unpacking gettext (0.21-8) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../041-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../042-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../043-debhelper_13.9.1ubuntu1_all.deb ... Unpacking debhelper (13.9.1ubuntu1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../044-python3-lib2to3_3.10.7-1_all.deb ... Unpacking python3-lib2to3 (3.10.7-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../045-python3-distutils_3.10.7-1_all.deb ... Unpacking python3-distutils (3.10.7-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../046-dh-python_5.20221001build1_all.deb ... Unpacking dh-python (5.20221001build1) ... Selecting previously unselected package fonts-lyx. Preparing to unpack .../047-fonts-lyx_2.3.6.1-1_all.deb ... Unpacking fonts-lyx (2.3.6.1-1) ... Selecting previously unselected package libbabeltrace1:ppc64el. Preparing to unpack .../048-libbabeltrace1_1.5.8-2build2_ppc64el.deb ... Unpacking libbabeltrace1:ppc64el (1.5.8-2build2) ... Selecting previously unselected package libsasl2-modules-db:ppc64el. Preparing to unpack .../049-libsasl2-modules-db_2.1.28+dfsg-6ubuntu2_ppc64el.deb ... Unpacking libsasl2-modules-db:ppc64el (2.1.28+dfsg-6ubuntu2) ... Selecting previously unselected package libsasl2-2:ppc64el. Preparing to unpack .../050-libsasl2-2_2.1.28+dfsg-6ubuntu2_ppc64el.deb ... Unpacking libsasl2-2:ppc64el (2.1.28+dfsg-6ubuntu2) ... Selecting previously unselected package libldap-2.5-0:ppc64el. Preparing to unpack .../051-libldap-2.5-0_2.5.13+dfsg-1ubuntu1_ppc64el.deb ... Unpacking libldap-2.5-0:ppc64el (2.5.13+dfsg-1ubuntu1) ... Selecting previously unselected package librtmp1:ppc64el. Preparing to unpack .../052-librtmp1_2.4+20151223.gitfa8646d.1-2build4_ppc64el.deb ... Unpacking librtmp1:ppc64el (2.4+20151223.gitfa8646d.1-2build4) ... Selecting previously unselected package libssh-4:ppc64el. Preparing to unpack .../053-libssh-4_0.9.6-2build1_ppc64el.deb ... Unpacking libssh-4:ppc64el (0.9.6-2build1) ... Selecting previously unselected package libcurl3-gnutls:ppc64el. Preparing to unpack .../054-libcurl3-gnutls_7.85.0-1_ppc64el.deb ... Unpacking libcurl3-gnutls:ppc64el (7.85.0-1) ... Selecting previously unselected package libdebuginfod1:ppc64el. Preparing to unpack .../055-libdebuginfod1_0.187-4_ppc64el.deb ... Unpacking libdebuginfod1:ppc64el (0.187-4) ... Selecting previously unselected package libpython3.10:ppc64el. Preparing to unpack .../056-libpython3.10_3.10.7-1_ppc64el.deb ... Unpacking libpython3.10:ppc64el (3.10.7-1) ... Selecting previously unselected package libsource-highlight-common. Preparing to unpack .../057-libsource-highlight-common_3.1.9-4.1ubuntu1_all.deb ... Unpacking libsource-highlight-common (3.1.9-4.1ubuntu1) ... Selecting previously unselected package libboost-regex1.74.0:ppc64el. Preparing to unpack .../058-libboost-regex1.74.0_1.74.0-17ubuntu2~ppa2_ppc64el.deb ... Unpacking libboost-regex1.74.0:ppc64el (1.74.0-17ubuntu2~ppa2) ... Selecting previously unselected package libsource-highlight4v5. Preparing to unpack .../059-libsource-highlight4v5_3.1.9-4.1ubuntu1_ppc64el.deb ... Unpacking libsource-highlight4v5 (3.1.9-4.1ubuntu1) ... Selecting previously unselected package gdb. Preparing to unpack .../060-gdb_12.1-3ubuntu2_ppc64el.deb ... Unpacking gdb (12.1-3ubuntu2) ... Selecting previously unselected package libavahi-common-data:ppc64el. Preparing to unpack .../061-libavahi-common-data_0.8-6ubuntu1_ppc64el.deb ... Unpacking libavahi-common-data:ppc64el (0.8-6ubuntu1) ... Selecting previously unselected package libavahi-common3:ppc64el. Preparing to unpack .../062-libavahi-common3_0.8-6ubuntu1_ppc64el.deb ... Unpacking libavahi-common3:ppc64el (0.8-6ubuntu1) ... Selecting previously unselected package libavahi-client3:ppc64el. Preparing to unpack .../063-libavahi-client3_0.8-6ubuntu1_ppc64el.deb ... Unpacking libavahi-client3:ppc64el (0.8-6ubuntu1) ... Selecting previously unselected package libblas3:ppc64el. Preparing to unpack .../064-libblas3_3.10.1-2_ppc64el.deb ... Unpacking libblas3:ppc64el (3.10.1-2) ... Selecting previously unselected package libboost1.74-dev:ppc64el. Preparing to unpack .../065-libboost1.74-dev_1.74.0-17ubuntu2~ppa2_ppc64el.deb ... Unpacking libboost1.74-dev:ppc64el (1.74.0-17ubuntu2~ppa2) ... Selecting previously unselected package libboost-dev:ppc64el. Preparing to unpack .../066-libboost-dev_1.74.0.3ubuntu7_ppc64el.deb ... Unpacking libboost-dev:ppc64el (1.74.0.3ubuntu7) ... Selecting previously unselected package libcups2:ppc64el. Preparing to unpack .../067-libcups2_2.4.2-1ubuntu2_ppc64el.deb ... Unpacking libcups2:ppc64el (2.4.2-1ubuntu2) ... Selecting previously unselected package libdeflate0:ppc64el. Preparing to unpack .../068-libdeflate0_1.12-1_ppc64el.deb ... Unpacking libdeflate0:ppc64el (1.12-1) ... Selecting previously unselected package libexpat1-dev:ppc64el. Preparing to unpack .../069-libexpat1-dev_2.4.8-2_ppc64el.deb ... Unpacking libexpat1-dev:ppc64el (2.4.8-2) ... Selecting previously unselected package libfontenc1:ppc64el. Preparing to unpack .../070-libfontenc1_1%3a1.1.4-1build3_ppc64el.deb ... Unpacking libfontenc1:ppc64el (1:1.1.4-1build3) ... Selecting previously unselected package libgfortran5:ppc64el. Preparing to unpack .../071-libgfortran5_12.2.0-3ubuntu1_ppc64el.deb ... Unpacking libgfortran5:ppc64el (12.2.0-3ubuntu1) ... Selecting previously unselected package libimagequant0:ppc64el. Preparing to unpack .../072-libimagequant0_2.17.0-1_ppc64el.deb ... Unpacking libimagequant0:ppc64el (2.17.0-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../073-libjs-jquery_3.6.0+dfsg+~3.5.13-1_all.deb ... Unpacking libjs-jquery (3.6.0+dfsg+~3.5.13-1) ... Selecting previously unselected package libjs-jquery-ui. Preparing to unpack .../074-libjs-jquery-ui_1.13.2+dfsg-1_all.deb ... Unpacking libjs-jquery-ui (1.13.2+dfsg-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../075-libjs-underscore_1.13.3~dfsg+~1.11.4-1_all.deb ... Unpacking libjs-underscore (1.13.3~dfsg+~1.11.4-1) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../076-libjs-sphinxdoc_4.5.0-4_all.deb ... Unpacking libjs-sphinxdoc (4.5.0-4) ... Selecting previously unselected package libopenblas0-pthread:ppc64el. Preparing to unpack .../077-libopenblas0-pthread_0.3.20+ds-2_ppc64el.deb ... Unpacking libopenblas0-pthread:ppc64el (0.3.20+ds-2) ... Selecting previously unselected package liblapack3:ppc64el. Preparing to unpack .../078-liblapack3_3.10.1-2_ppc64el.deb ... Unpacking liblapack3:ppc64el (3.10.1-2) ... Selecting previously unselected package liblbfgsb0:ppc64el. Preparing to unpack .../079-liblbfgsb0_3.0+dfsg.3-11_ppc64el.deb ... Unpacking liblbfgsb0:ppc64el (3.0+dfsg.3-11) ... Selecting previously unselected package liblcms2-2:ppc64el. Preparing to unpack .../080-liblcms2-2_2.13.1-1_ppc64el.deb ... Unpacking liblcms2-2:ppc64el (2.13.1-1) ... Selecting previously unselected package liblerc3:ppc64el. Preparing to unpack .../081-liblerc3_3.0+ds-1ubuntu1_ppc64el.deb ... Unpacking liblerc3:ppc64el (3.0+ds-1ubuntu1) ... Selecting previously unselected package libopenblas0:ppc64el. Preparing to unpack .../082-libopenblas0_0.3.20+ds-2_ppc64el.deb ... Unpacking libopenblas0:ppc64el (0.3.20+ds-2) ... Selecting previously unselected package libopenblas-pthread-dev:ppc64el. Preparing to unpack .../083-libopenblas-pthread-dev_0.3.20+ds-2_ppc64el.deb ... Unpacking libopenblas-pthread-dev:ppc64el (0.3.20+ds-2) ... Selecting previously unselected package libopenblas-dev:ppc64el. Preparing to unpack .../084-libopenblas-dev_0.3.20+ds-2_ppc64el.deb ... Unpacking libopenblas-dev:ppc64el (0.3.20+ds-2) ... Selecting previously unselected package libpixman-1-0:ppc64el. Preparing to unpack .../085-libpixman-1-0_0.40.0-1build4_ppc64el.deb ... Unpacking libpixman-1-0:ppc64el (0.40.0-1build4) ... Selecting previously unselected package zlib1g-dev:ppc64el. Preparing to unpack .../086-zlib1g-dev_1%3a1.2.11.dfsg-4.1ubuntu1_ppc64el.deb ... Unpacking zlib1g-dev:ppc64el (1:1.2.11.dfsg-4.1ubuntu1) ... Selecting previously unselected package libpython3.10-dev:ppc64el. Preparing to unpack .../087-libpython3.10-dev_3.10.7-1_ppc64el.deb ... Unpacking libpython3.10-dev:ppc64el (3.10.7-1) ... Selecting previously unselected package libpython3-dev:ppc64el. Preparing to unpack .../088-libpython3-dev_3.10.6-1ubuntu1~ppa1_ppc64el.deb ... Unpacking libpython3-dev:ppc64el (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3.11-stdlib:ppc64el. Preparing to unpack .../089-libpython3.11-stdlib_3.11.0~rc2-1ubuntu1~ppa1_ppc64el.deb ... Unpacking libpython3.11-stdlib:ppc64el (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3.11:ppc64el. Preparing to unpack .../090-libpython3.11_3.11.0~rc2-1ubuntu1~ppa1_ppc64el.deb ... Unpacking libpython3.11:ppc64el (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3.11-dev:ppc64el. Preparing to unpack .../091-libpython3.11-dev_3.11.0~rc2-1ubuntu1~ppa1_ppc64el.deb ... Unpacking libpython3.11-dev:ppc64el (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3-all-dev:ppc64el. Preparing to unpack .../092-libpython3-all-dev_3.10.6-1ubuntu1~ppa1_ppc64el.deb ... Unpacking libpython3-all-dev:ppc64el (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package libqhull-r8.0:ppc64el. Preparing to unpack .../093-libqhull-r8.0_2020.2-5_ppc64el.deb ... Unpacking libqhull-r8.0:ppc64el (2020.2-5) ... Selecting previously unselected package libqt5xml5:ppc64el. Preparing to unpack .../094-libqt5xml5_5.15.6+dfsg-1_ppc64el.deb ... Unpacking libqt5xml5:ppc64el (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5designer5:ppc64el. Preparing to unpack .../095-libqt5designer5_5.15.6-1build1_ppc64el.deb ... Unpacking libqt5designer5:ppc64el (5.15.6-1build1) ... Selecting previously unselected package libqt5sql5:ppc64el. Preparing to unpack .../096-libqt5sql5_5.15.6+dfsg-1_ppc64el.deb ... Unpacking libqt5sql5:ppc64el (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5help5:ppc64el. Preparing to unpack .../097-libqt5help5_5.15.6-1build1_ppc64el.deb ... Unpacking libqt5help5:ppc64el (5.15.6-1build1) ... Selecting previously unselected package libqt5printsupport5:ppc64el. Preparing to unpack .../098-libqt5printsupport5_5.15.6+dfsg-1_ppc64el.deb ... Unpacking libqt5printsupport5:ppc64el (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5test5:ppc64el. Preparing to unpack .../099-libqt5test5_5.15.6+dfsg-1_ppc64el.deb ... Unpacking libqt5test5:ppc64el (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5x11extras5:ppc64el. Preparing to unpack .../100-libqt5x11extras5_5.15.6-1_ppc64el.deb ... Unpacking libqt5x11extras5:ppc64el (5.15.6-1) ... Selecting previously unselected package libraqm0:ppc64el. Preparing to unpack .../101-libraqm0_0.7.0-4ubuntu1_ppc64el.deb ... Unpacking libraqm0:ppc64el (0.7.0-4ubuntu1) ... Selecting previously unselected package libjbig0:ppc64el. Preparing to unpack .../102-libjbig0_2.1-3.1build3_ppc64el.deb ... Unpacking libjbig0:ppc64el (2.1-3.1build3) ... Selecting previously unselected package libwebp7:ppc64el. Preparing to unpack .../103-libwebp7_1.2.2-2_ppc64el.deb ... Unpacking libwebp7:ppc64el (1.2.2-2) ... Selecting previously unselected package libtiff5:ppc64el. Preparing to unpack .../104-libtiff5_4.4.0-4ubuntu3_ppc64el.deb ... Unpacking libtiff5:ppc64el (4.4.0-4ubuntu3) ... Selecting previously unselected package libunwind8:ppc64el. Preparing to unpack .../105-libunwind8_1.6.2-0ubuntu1_ppc64el.deb ... Unpacking libunwind8:ppc64el (1.6.2-0ubuntu1) ... Selecting previously unselected package libwebpdemux2:ppc64el. Preparing to unpack .../106-libwebpdemux2_1.2.2-2_ppc64el.deb ... Unpacking libwebpdemux2:ppc64el (1.2.2-2) ... Selecting previously unselected package libwebpmux3:ppc64el. Preparing to unpack .../107-libwebpmux3_1.2.2-2_ppc64el.deb ... Unpacking libwebpmux3:ppc64el (1.2.2-2) ... Selecting previously unselected package libxt6:ppc64el. Preparing to unpack .../108-libxt6_1%3a1.2.1-1_ppc64el.deb ... Unpacking libxt6:ppc64el (1:1.2.1-1) ... Selecting previously unselected package libxmu6:ppc64el. Preparing to unpack .../109-libxmu6_2%3a1.1.3-3_ppc64el.deb ... Unpacking libxmu6:ppc64el (2:1.1.3-3) ... Selecting previously unselected package libxpm4:ppc64el. Preparing to unpack .../110-libxpm4_1%3a3.5.12-1build2_ppc64el.deb ... Unpacking libxpm4:ppc64el (1:3.5.12-1build2) ... Selecting previously unselected package libxaw7:ppc64el. Preparing to unpack .../111-libxaw7_2%3a1.0.14-1_ppc64el.deb ... Unpacking libxaw7:ppc64el (2:1.0.14-1) ... Selecting previously unselected package libxfont2:ppc64el. Preparing to unpack .../112-libxfont2_1%3a2.0.5-1build1_ppc64el.deb ... Unpacking libxfont2:ppc64el (1:2.0.5-1build1) ... Selecting previously unselected package libxkbfile1:ppc64el. Preparing to unpack .../113-libxkbfile1_1%3a1.1.0-1build3_ppc64el.deb ... Unpacking libxkbfile1:ppc64el (1:1.1.0-1build3) ... Selecting previously unselected package libxrandr2:ppc64el. Preparing to unpack .../114-libxrandr2_2%3a1.5.2-2_ppc64el.deb ... Unpacking libxrandr2:ppc64el (2:1.5.2-2) ... Selecting previously unselected package libxsimd-dev:ppc64el. Preparing to unpack .../115-libxsimd-dev_8.1.0-7_ppc64el.deb ... Unpacking libxsimd-dev:ppc64el (8.1.0-7) ... Selecting previously unselected package libxslt1.1:ppc64el. Preparing to unpack .../116-libxslt1.1_1.1.35-1_ppc64el.deb ... Unpacking libxslt1.1:ppc64el (1.1.35-1) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../117-python-babel-localedata_2.8.0+dfsg.1-7_all.deb ... Unpacking python-babel-localedata (2.8.0+dfsg.1-7) ... Selecting previously unselected package python-matplotlib-data. Preparing to unpack .../118-python-matplotlib-data_3.5.2-2build2~ppa1_all.deb ... Unpacking python-matplotlib-data (3.5.2-2build2~ppa1) ... Selecting previously unselected package python3.11. Preparing to unpack .../119-python3.11_3.11.0~rc2-1ubuntu1~ppa1_ppc64el.deb ... Unpacking python3.11 (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package python3-all. Preparing to unpack .../120-python3-all_3.10.6-1ubuntu1~ppa1_ppc64el.deb ... Unpacking python3-all (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package python3.10-dev. Preparing to unpack .../121-python3.10-dev_3.10.7-1_ppc64el.deb ... Unpacking python3.10-dev (3.10.7-1) ... Selecting previously unselected package python3-dev. Preparing to unpack .../122-python3-dev_3.10.6-1ubuntu1~ppa1_ppc64el.deb ... Unpacking python3-dev (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package python3.11-dev. Preparing to unpack .../123-python3.11-dev_3.11.0~rc2-1ubuntu1~ppa1_ppc64el.deb ... Unpacking python3.11-dev (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package python3-all-dev. Preparing to unpack .../124-python3-all-dev_3.10.6-1ubuntu1~ppa1_ppc64el.deb ... Unpacking python3-all-dev (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package python3-appdirs. Preparing to unpack .../125-python3-appdirs_1.4.4-2_all.deb ... Unpacking python3-appdirs (1.4.4-2) ... Selecting previously unselected package python3-asgiref. Preparing to unpack .../126-python3-asgiref_3.5.0-1_all.deb ... Unpacking python3-asgiref (3.5.0-1) ... Selecting previously unselected package python3-async-generator. Preparing to unpack .../127-python3-async-generator_1.10-3_all.deb ... Unpacking python3-async-generator (1.10-3) ... Selecting previously unselected package python3-attr. Preparing to unpack .../128-python3-attr_22.1.0-1_all.deb ... Unpacking python3-attr (22.1.0-1) ... Selecting previously unselected package python3-tz. Preparing to unpack .../129-python3-tz_2022.2.1-1_all.deb ... Unpacking python3-tz (2022.2.1-1) ... Selecting previously unselected package python3-babel. Preparing to unpack .../130-python3-babel_2.8.0+dfsg.1-7_all.deb ... Unpacking python3-babel (2.8.0+dfsg.1-7) ... Selecting previously unselected package python3-backcall. Preparing to unpack .../131-python3-backcall_0.2.0-3_all.deb ... Unpacking python3-backcall (0.2.0-3) ... Selecting previously unselected package python3-gast. Preparing to unpack .../132-python3-gast_0.5.2-2_all.deb ... Unpacking python3-gast (0.5.2-2) ... Selecting previously unselected package python3-beniget. Preparing to unpack .../133-python3-beniget_0.4.1-2_all.deb ... Unpacking python3-beniget (0.4.1-2) ... Selecting previously unselected package python3-brotli. Preparing to unpack .../134-python3-brotli_1.0.9-2build7_ppc64el.deb ... Unpacking python3-brotli (1.0.9-2build7) ... Selecting previously unselected package python3-bytecode. Preparing to unpack .../135-python3-bytecode_0.13.0-2_all.deb ... Unpacking python3-bytecode (0.13.0-2) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../136-python3-more-itertools_8.10.0-2_all.deb ... Unpacking python3-more-itertools (8.10.0-2) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../137-python3-jaraco.functools_3.5.0-1_all.deb ... Unpacking python3-jaraco.functools (3.5.0-1) ... Selecting previously unselected package python3-cheroot. Preparing to unpack .../138-python3-cheroot_8.6.0+ds1-3ubuntu1_all.deb ... Unpacking python3-cheroot (8.6.0+ds1-3ubuntu1) ... Selecting previously unselected package python3-jaraco.classes. Preparing to unpack .../139-python3-jaraco.classes_3.2.1-3_all.deb ... Unpacking python3-jaraco.classes (3.2.1-3) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../140-python3-jaraco.context_4.1.1-2_all.deb ... Unpacking python3-jaraco.context (4.1.1-2) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../141-python3-jaraco.text_3.7.0-1_all.deb ... Unpacking python3-jaraco.text (3.7.0-1) ... Selecting previously unselected package python3-jaraco.collections. Preparing to unpack .../142-python3-jaraco.collections_3.5.1-1_all.deb ... Unpacking python3-jaraco.collections (3.5.1-1) ... Selecting previously unselected package python3-tempora. Preparing to unpack .../143-python3-tempora_5.0.1-1_all.deb ... Unpacking python3-tempora (5.0.1-1) ... Selecting previously unselected package python3-portend. Preparing to unpack .../144-python3-portend_3.1.0-1_all.deb ... Unpacking python3-portend (3.1.0-1) ... Selecting previously unselected package python3-zc.lockfile. Preparing to unpack .../145-python3-zc.lockfile_2.0-2_all.deb ... Unpacking python3-zc.lockfile (2.0-2) ... Selecting previously unselected package python3-cherrypy3. Preparing to unpack .../146-python3-cherrypy3_18.8.0-1_all.deb ... Unpacking python3-cherrypy3 (18.8.0-1) ... Selecting previously unselected package python3-colorama. Preparing to unpack .../147-python3-colorama_0.4.5-2_all.deb ... Unpacking python3-colorama (0.4.5-2) ... Selecting previously unselected package python3-click. Preparing to unpack .../148-python3-click_8.0.3-1_all.deb ... Unpacking python3-click (8.0.3-1) ... Selecting previously unselected package python3-coverage. Preparing to unpack .../149-python3-coverage_6.2+dfsg1-2build2_ppc64el.deb ... Unpacking python3-coverage (6.2+dfsg1-2build2) ... Selecting previously unselected package python3-cycler. Preparing to unpack .../150-python3-cycler_0.11.0-1_all.deb ... Unpacking python3-cycler (0.11.0-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../151-python3-six_1.16.0-4_all.deb ... Unpacking python3-six (1.16.0-4) ... Selecting previously unselected package python3-dateutil. Preparing to unpack .../152-python3-dateutil_2.8.1-6_all.deb ... Unpacking python3-dateutil (2.8.1-6) ... Selecting previously unselected package python3-decorator. Preparing to unpack .../153-python3-decorator_4.4.2-0ubuntu1_all.deb ... Unpacking python3-decorator (4.4.2-0ubuntu1) ... Selecting previously unselected package python3-defusedxml. Preparing to unpack .../154-python3-defusedxml_0.7.1-1_all.deb ... Unpacking python3-defusedxml (0.7.1-1) ... Selecting previously unselected package python3-sqlparse. Preparing to unpack .../155-python3-sqlparse_0.4.2-1_all.deb ... Unpacking python3-sqlparse (0.4.2-1) ... Selecting previously unselected package python3-django. Preparing to unpack .../156-python3-django_3%3a3.2.15-1ubuntu1_all.deb ... Unpacking python3-django (3:3.2.15-1ubuntu1) ... Selecting previously unselected package python3-execnet. Preparing to unpack .../157-python3-execnet_1.9.0-1_all.deb ... Unpacking python3-execnet (1.9.0-1) ... Selecting previously unselected package python3-itsdangerous. Preparing to unpack .../158-python3-itsdangerous_2.1.2-2_all.deb ... Unpacking python3-itsdangerous (2.1.2-2) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../159-python3-markupsafe_2.0.1-2build2_ppc64el.deb ... Unpacking python3-markupsafe (2.0.1-2build2) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../160-python3-jinja2_3.0.3-1_all.deb ... Unpacking python3-jinja2 (3.0.3-1) ... Selecting previously unselected package python3-werkzeug. Preparing to unpack .../161-python3-werkzeug_2.0.2+dfsg1-3_all.deb ... Unpacking python3-werkzeug (2.0.2+dfsg1-3) ... Selecting previously unselected package python3-flask. Preparing to unpack .../162-python3-flask_2.0.3-1ubuntu1_all.deb ... Unpacking python3-flask (2.0.3-1ubuntu1) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../163-python3-numpy_1%3a1.21.5-1ubuntu1~ppa1_ppc64el.deb ... Unpacking python3-numpy (1:1.21.5-1ubuntu1~ppa1) ... Selecting previously unselected package python3-ply. Preparing to unpack .../164-python3-ply_3.11-5_all.deb ... Unpacking python3-ply (3.11-5) ... Selecting previously unselected package python3-pythran. Preparing to unpack .../165-python3-pythran_0.11.0+ds-7build1_ppc64el.deb ... Unpacking python3-pythran (0.11.0+ds-7build1) ... Selecting previously unselected package python3-scipy. Preparing to unpack .../166-python3-scipy_1.8.1-10build1_ppc64el.deb ... Unpacking python3-scipy (1.8.1-10build1) ... Selecting previously unselected package python3-ufolib2. Preparing to unpack .../167-python3-ufolib2_0.13.1+dfsg1-1_all.deb ... Unpacking python3-ufolib2 (0.13.1+dfsg1-1) ... Selecting previously unselected package python3-mpmath. Preparing to unpack .../168-python3-mpmath_1.2.1-2_all.deb ... Unpacking python3-mpmath (1.2.1-2) ... Selecting previously unselected package python3-sympy. Preparing to unpack .../169-python3-sympy_1.10.1-3_all.deb ... Unpacking python3-sympy (1.10.1-3) ... Selecting previously unselected package python3-fs. Preparing to unpack .../170-python3-fs_2.4.16-1_all.deb ... Unpacking python3-fs (2.4.16-1) ... Selecting previously unselected package python3-lxml:ppc64el. Preparing to unpack .../171-python3-lxml_4.9.1-1build1_ppc64el.deb ... Unpacking python3-lxml:ppc64el (4.9.1-1build1) ... Selecting previously unselected package python3-lz4. Preparing to unpack .../172-python3-lz4_4.0.0+dfsg-1build1_ppc64el.deb ... Unpacking python3-lz4 (4.0.0+dfsg-1build1) ... Selecting previously unselected package python3-unicodedata2. Preparing to unpack .../173-python3-unicodedata2_14.0.0+ds2-1ubuntu1_ppc64el.deb ... Unpacking python3-unicodedata2 (14.0.0+ds2-1ubuntu1) ... Selecting previously unselected package unicode-data. Preparing to unpack .../174-unicode-data_15.0.0-1_all.deb ... Unpacking unicode-data (15.0.0-1) ... Selecting previously unselected package python3-fonttools. Preparing to unpack .../175-python3-fonttools_4.34.4-1build1_ppc64el.deb ... Unpacking python3-fonttools (4.34.4-1build1) ... Selecting previously unselected package python3-greenlet. Preparing to unpack .../176-python3-greenlet_1.1.3-0ubuntu1~ppa1_ppc64el.deb ... Unpacking python3-greenlet (1.1.3-0ubuntu1~ppa1) ... Selecting previously unselected package python3-idna. Preparing to unpack .../177-python3-idna_3.3-1_all.deb ... Unpacking python3-idna (3.3-1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../178-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-parso. Preparing to unpack .../179-python3-parso_0.8.1-1_all.deb ... Unpacking python3-parso (0.8.1-1) ... Selecting previously unselected package python3-jedi. Preparing to unpack .../180-python3-jedi_0.18.0-1_all.deb ... Unpacking python3-jedi (0.18.0-1) ... Selecting previously unselected package python3-traitlets. Preparing to unpack .../181-python3-traitlets_5.3.0-1_all.deb ... Unpacking python3-traitlets (5.3.0-1) ... Selecting previously unselected package python3-matplotlib-inline. Preparing to unpack .../182-python3-matplotlib-inline_0.1.3-1_all.deb ... Unpacking python3-matplotlib-inline (0.1.3-1) ... Selecting previously unselected package python3-ptyprocess. Preparing to unpack .../183-python3-ptyprocess_0.7.0-3_all.deb ... Unpacking python3-ptyprocess (0.7.0-3) ... Selecting previously unselected package python3-pexpect. Preparing to unpack .../184-python3-pexpect_4.8.0-3ubuntu1_all.deb ... Unpacking python3-pexpect (4.8.0-3ubuntu1) ... Selecting previously unselected package python3-pickleshare. Preparing to unpack .../185-python3-pickleshare_0.7.5-5_all.deb ... Unpacking python3-pickleshare (0.7.5-5) ... Selecting previously unselected package python3-wcwidth. Preparing to unpack .../186-python3-wcwidth_0.2.5+dfsg1-1_all.deb ... Unpacking python3-wcwidth (0.2.5+dfsg1-1) ... Selecting previously unselected package python3-prompt-toolkit. Preparing to unpack .../187-python3-prompt-toolkit_3.0.30-1_all.deb ... Unpacking python3-prompt-toolkit (3.0.30-1) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../188-python3-pygments_2.12.0+dfsg-2_all.deb ... Unpacking python3-pygments (2.12.0+dfsg-2) ... Selecting previously unselected package python3-ipython. Preparing to unpack .../189-python3-ipython_7.31.1-1_all.deb ... Unpacking python3-ipython (7.31.1-1) ... Selecting previously unselected package python3-kiwisolver. Preparing to unpack .../190-python3-kiwisolver_1.3.2-1build2_ppc64el.deb ... Unpacking python3-kiwisolver (1.3.2-1build2) ... Selecting previously unselected package libopenjp2-7:ppc64el. Preparing to unpack .../191-libopenjp2-7_2.5.0-1_ppc64el.deb ... Unpacking libopenjp2-7:ppc64el (2.5.0-1) ... Selecting previously unselected package python3-pil:ppc64el. Preparing to unpack .../192-python3-pil_9.2.0-1build1_ppc64el.deb ... Unpacking python3-pil:ppc64el (9.2.0-1build1) ... Selecting previously unselected package python3-tk:ppc64el. Preparing to unpack .../193-python3-tk_3.10.7-1_ppc64el.deb ... Unpacking python3-tk:ppc64el (3.10.7-1) ... Selecting previously unselected package python3-pil.imagetk:ppc64el. Preparing to unpack .../194-python3-pil.imagetk_9.2.0-1build1_ppc64el.deb ... Unpacking python3-pil.imagetk:ppc64el (9.2.0-1build1) ... Selecting previously unselected package python3-pyparsing. Preparing to unpack .../195-python3-pyparsing_3.0.7-2_all.deb ... Unpacking python3-pyparsing (3.0.7-2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../196-python3-packaging_21.3-1.1_all.deb ... Unpacking python3-packaging (21.3-1.1) ... Selecting previously unselected package python3-matplotlib. Preparing to unpack .../197-python3-matplotlib_3.5.2-2build2~ppa1_ppc64el.deb ... Unpacking python3-matplotlib (3.5.2-2build2~ppa1) ... Selecting previously unselected package python3-outcome. Preparing to unpack .../198-python3-outcome_1.2.0-1_all.deb ... Unpacking python3-outcome (1.2.0-1) ... Selecting previously unselected package python3-pandas-lib:ppc64el. Preparing to unpack .../199-python3-pandas-lib_1.3.5+dfsg-5ubuntu1~ppa1_ppc64el.deb ... Unpacking python3-pandas-lib:ppc64el (1.3.5+dfsg-5ubuntu1~ppa1) ... Selecting previously unselected package python3-pandas. Preparing to unpack .../200-python3-pandas_1.3.5+dfsg-5ubuntu1~ppa1_all.deb ... Unpacking python3-pandas (1.3.5+dfsg-5ubuntu1~ppa1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../201-python3-pluggy_1.0.0+repack-1_all.deb ... Unpacking python3-pluggy (1.0.0+repack-1) ... Selecting previously unselected package python3-psutil. Preparing to unpack .../202-python3-psutil_5.9.0-1build2_ppc64el.deb ... Unpacking python3-psutil (5.9.0-1build2) ... Selecting previously unselected package python3-py. Preparing to unpack .../203-python3-py_1.11.0-0ubuntu1~ppa1_all.deb ... Unpacking python3-py (1.11.0-0ubuntu1~ppa1) ... Selecting previously unselected package python3-pyqt5.sip. Preparing to unpack .../204-python3-pyqt5.sip_12.11.0-1build1_ppc64el.deb ... Unpacking python3-pyqt5.sip (12.11.0-1build1) ... Selecting previously unselected package python3-pyqt5. Preparing to unpack .../205-python3-pyqt5_5.15.7+dfsg-1build2_ppc64el.deb ... Unpacking python3-pyqt5 (5.15.7+dfsg-1build2) ... Selecting previously unselected package python3-pyqt5.qtsvg. Preparing to unpack .../206-python3-pyqt5.qtsvg_5.15.7+dfsg-1build2_ppc64el.deb ... Unpacking python3-pyqt5.qtsvg (5.15.7+dfsg-1build2) ... Selecting previously unselected package python3-tomli. Preparing to unpack .../207-python3-tomli_2.0.1-1_all.deb ... Unpacking python3-tomli (2.0.1-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../208-python3-pytest_7.1.2-2ubuntu1_all.deb ... Unpacking python3-pytest (7.1.2-2ubuntu1) ... Selecting previously unselected package python3-pytest-forked. Preparing to unpack .../209-python3-pytest-forked_1.4.0-1_all.deb ... Unpacking python3-pytest-forked (1.4.0-1) ... Selecting previously unselected package python3-pytest-xdist. Preparing to unpack .../210-python3-pytest-xdist_2.5.0-5_all.deb ... Unpacking python3-pytest-xdist (2.5.0-5) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../211-python3-setuptools_59.6.0-1.2_all.deb ... Unpacking python3-setuptools (59.6.0-1.2) ... Selecting previously unselected package python3-sniffio. Preparing to unpack .../212-python3-sniffio_1.2.0-1_all.deb ... Unpacking python3-sniffio (1.2.0-1) ... Selecting previously unselected package python3-sortedcontainers. Preparing to unpack .../213-python3-sortedcontainers_2.4.0-2_all.deb ... Unpacking python3-sortedcontainers (2.4.0-2) ... Selecting previously unselected package python3-trio. Preparing to unpack .../214-python3-trio_0.21.0-1_all.deb ... Unpacking python3-trio (0.21.0-1) ... Selecting previously unselected package python3-untangle. Preparing to unpack .../215-python3-untangle_1.2.1-1_all.deb ... Unpacking python3-untangle (1.2.1-1) ... Selecting previously unselected package python3-zope.event. Preparing to unpack .../216-python3-zope.event_4.4-3_all.deb ... Unpacking python3-zope.event (4.4-3) ... Selecting previously unselected package python3-zope.interface. Preparing to unpack .../217-python3-zope.interface_5.4.0-3build1_ppc64el.deb ... Unpacking python3-zope.interface (5.4.0-3build1) ... Selecting previously unselected package txt2man. Preparing to unpack .../218-txt2man_1.7.1-2_all.deb ... Unpacking txt2man (1.7.1-2) ... Selecting previously unselected package x11-xkb-utils. Preparing to unpack .../219-x11-xkb-utils_7.7+7_ppc64el.deb ... Unpacking x11-xkb-utils (7.7+7) ... Selecting previously unselected package xserver-common. Preparing to unpack .../220-xserver-common_2%3a21.1.4-2ubuntu1_all.deb ... Unpacking xserver-common (2:21.1.4-2ubuntu1) ... Selecting previously unselected package xvfb. Preparing to unpack .../221-xvfb_2%3a21.1.4-2ubuntu1_ppc64el.deb ... Unpacking xvfb (2:21.1.4-2ubuntu1) ... Selecting previously unselected package libc-ares2:ppc64el. Preparing to unpack .../222-libc-ares2_1.18.1-1build1_ppc64el.deb ... Unpacking libc-ares2:ppc64el (1.18.1-1build1) ... Selecting previously unselected package libev4:ppc64el. Preparing to unpack .../223-libev4_1%3a4.33-1_ppc64el.deb ... Unpacking libev4:ppc64el (1:4.33-1) ... Selecting previously unselected package python3-gevent. Preparing to unpack .../224-python3-gevent_21.8.0-1build1_ppc64el.deb ... Unpacking python3-gevent (21.8.0-1build1) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../225-sbuild-build-depends-main-dummy_0.invalid.0_ppc64el.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (8.0.0) ... Setting up libpipeline1:ppc64el (1.5.6-2) ... Setting up libgraphite2-3:ppc64el (1.3.14-1build2) ... Setting up liblcms2-2:ppc64el (2.13.1-1) ... Setting up libpixman-1-0:ppc64el (0.40.0-1build4) ... Setting up libicu71:ppc64el (71.1-3ubuntu1) ... Setting up libwayland-server0:ppc64el (1.21.0-1) ... Setting up libxau6:ppc64el (1:1.0.9-1build5) ... Setting up libdouble-conversion3:ppc64el (3.2.1-1) ... Setting up libpsl5:ppc64el (0.21.0-1.2build2) ... Setting up libboost1.74-dev:ppc64el (1.74.0-17ubuntu2~ppa2) ... Setting up bsdextrautils (2.38-4ubuntu1) ... Setting up libmagic-mgc (1:5.41-4) ... Setting up gawk (1:5.1.0-1build3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:ppc64el (2.74.0-3) ... No schema files found: doing nothing. Setting up libglvnd0:ppc64el (1.5.0-1) ... Setting up libev4:ppc64el (1:4.33-1) ... Setting up fonts-lyx (2.3.6.1-1) ... Setting up libdebhelper-perl (13.9.1ubuntu1) ... Setting up libbrotli1:ppc64el (1.0.9-2build7) ... Setting up x11-common (1:7.7+23ubuntu2) ... Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up libsensors-config (1:3.6.0-7ubuntu1) ... Setting up libnghttp2-14:ppc64el (1.49.0-1) ... Setting up libmagic1:ppc64el (1:5.41-4) ... Setting up libdeflate0:ppc64el (1.12-1) ... Setting up gettext-base (0.21-8) ... Setting up m4 (1.4.19-1) ... Setting up libqhull-r8.0:ppc64el (2020.2-5) ... Setting up xkb-data (2.35.1-1) ... Setting up libc-ares2:ppc64el (1.18.1-1build1) ... Setting up file (1:5.41-4) ... Setting up libunwind8:ppc64el (1.6.2-0ubuntu1) ... Setting up libjbig0:ppc64el (2.1-3.1build3) ... Setting up libpcre2-16-0:ppc64el (10.40-1ubuntu1) ... Setting up libsource-highlight-common (3.1.9-4.1ubuntu1) ... Setting up python-babel-localedata (2.8.0+dfsg.1-7) ... Setting up libsasl2-modules-db:ppc64el (2.1.28+dfsg-6ubuntu2) ... Setting up unicode-data (15.0.0-1) ... Setting up libxsimd-dev:ppc64el (8.1.0-7) ... Setting up libfontenc1:ppc64el (1:1.1.4-1build3) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:ppc64el (3.10.1-2) ... update-alternatives: using /usr/lib/powerpc64le-linux-gnu/blas/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode Setting up libexpat1-dev:ppc64el (2.4.8-2) ... Setting up libfreetype6:ppc64el (2.12.1+dfsg-3) ... Setting up libx11-data (2:1.8.1-2) ... Setting up librtmp1:ppc64el (2.4+20151223.gitfa8646d.1-2build4) ... Setting up liblerc3:ppc64el (3.0+ds-1ubuntu1) ... Setting up libavahi-common-data:ppc64el (0.8-6ubuntu1) ... Setting up libdbus-1-3:ppc64el (1.14.0-2ubuntu2) ... Setting up libfribidi0:ppc64el (1.0.8-2.1ubuntu1) ... Setting up libboost-regex1.74.0:ppc64el (1.74.0-17ubuntu2~ppa2) ... Setting up libimagequant0:ppc64el (2.17.0-1) ... Setting up libtcl8.6:ppc64el (8.6.12+dfsg-1build1) ... Setting up autopoint (0.21-8) ... Setting up fonts-dejavu-core (2.37-2build1) ... Setting up ucf (3.0043) ... Setting up libsensors5:ppc64el (1:3.6.0-7ubuntu1) ... Setting up libjpeg-turbo8:ppc64el (2.1.2-0ubuntu1) ... Setting up libglapi-mesa:ppc64el (22.2.1-1ubuntu1) ... Setting up libsasl2-2:ppc64el (2.1.28+dfsg-6ubuntu2) ... Setting up libssh-4:ppc64el (0.9.6-2build1) ... Setting up libgfortran5:ppc64el (12.2.0-3ubuntu1) ... Setting up libmtdev1:ppc64el (1.1.6-1build4) ... Setting up autoconf (2.71-2) ... Setting up libwebp7:ppc64el (1.2.2-2) ... Setting up zlib1g-dev:ppc64el (1:1.2.11.dfsg-4.1ubuntu1) ... Setting up libmd0:ppc64el (1.0.4-2) ... Setting up libxshmfence1:ppc64el (1.3-1build4) ... Setting up libuchardet0:ppc64el (0.0.7-1build2) ... Setting up libmpdec3:ppc64el (2.5.1-2build2) ... Setting up libmd4c0:ppc64el (0.4.8-1) ... Setting up libopenjp2-7:ppc64el (2.5.0-1) ... Setting up libsub-override-perl (0.09-3) ... Setting up libharfbuzz0b:ppc64el (2.7.4-1ubuntu5) ... Setting up libboost-dev:ppc64el (1.74.0.3ubuntu7) ... Setting up libpython3.11-minimal:ppc64el (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up libjs-jquery (3.6.0+dfsg+~3.5.13-1) ... Setting up python-matplotlib-data (3.5.2-2build2~ppa1) ... Setting up libwebpmux3:ppc64el (1.2.2-2) ... Setting up libbsd0:ppc64el (0.11.6-1) ... Setting up libdrm-common (2.4.113-2) ... Setting up libelf1:ppc64el (0.187-4) ... Setting up libxfont2:ppc64el (1:2.0.5-1build1) ... Setting up libevdev2:ppc64el (1.13.0+dfsg-1) ... Setting up libxml2:ppc64el (2.9.14+dfsg-1build1) ... Setting up libgudev-1.0-0:ppc64el (1:237-2build1) ... Setting up libsource-highlight4v5 (3.1.9-4.1ubuntu1) ... Setting up libjs-underscore (1.13.3~dfsg+~1.11.4-1) ... Setting up libwacom-common (2.4.0-3) ... Setting up libxkbcommon0:ppc64el (1.4.1-1) ... Setting up libwayland-client0:ppc64el (1.21.0-1) ... Setting up libjpeg8:ppc64el (8c-2ubuntu10) ... 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.0-1) ... Setting up python3.11-minimal (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up libice6:ppc64el (2:1.0.10-1build2) ... Setting up libdw1:ppc64el (0.187-4) ... Setting up libxdmcp6:ppc64el (1:1.1.3-0ubuntu5) ... Setting up liblapack3:ppc64el (3.10.1-2) ... update-alternatives: using /usr/lib/powerpc64le-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode Setting up libxcb1:ppc64el (1.15-1) ... Setting up gettext (0.21-8) ... Setting up libopenblas0-pthread:ppc64el (0.3.20+ds-2) ... update-alternatives: using /usr/lib/powerpc64le-linux-gnu/openblas-pthread/libblas.so.3 to provide /usr/lib/powerpc64le-linux-gnu/libblas.so.3 (libblas.so.3-powerpc64le-linux-gnu) in auto mode update-alternatives: using /usr/lib/powerpc64le-linux-gnu/openblas-pthread/liblapack.so.3 to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so.3 (liblapack.so.3-powerpc64le-linux-gnu) in auto mode update-alternatives: using /usr/lib/powerpc64le-linux-gnu/openblas-pthread/libopenblas.so.0 to provide /usr/lib/powerpc64le-linux-gnu/libopenblas.so.0 (libopenblas.so.0-powerpc64le-linux-gnu) in auto mode Setting up libxcb-xfixes0:ppc64el (1.15-1) ... Setting up txt2man (1.7.1-2) ... Setting up libxcb-xinput0:ppc64el (1.15-1) ... Setting up libdebuginfod-common (0.187-4) ... Setting up libtool (2.4.7-4) ... Setting up libxcb-render0:ppc64el (1.15-1) ... Setting up libwacom9:ppc64el (2.4.0-3) ... Setting up fontconfig-config (2.13.1-4.4ubuntu1) ... Setting up libxcb-glx0:ppc64el (1.15-1) ... Setting up libwebpdemux2:ppc64el (1.2.2-2) ... Setting up libpython3.11-stdlib:ppc64el (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up libedit2:ppc64el (3.1-20210910-1build1) ... Setting up libxcb-keysyms1:ppc64el (0.4.0-1build3) ... Setting up libxcb-shape0:ppc64el (1.15-1) ... Setting up libavahi-common3:ppc64el (0.8-6ubuntu1) ... Setting up libxcb-render-util0:ppc64el (0.3.9-1build3) ... Setting up libxcb-shm0:ppc64el (1.15-1) ... Setting up libxcb-icccm4:ppc64el (0.4.1-1.1build2) ... Setting up libldap-2.5-0:ppc64el (2.5.13+dfsg-1ubuntu1) ... Setting up libxcb-util1:ppc64el (0.4.0-1build2) ... Setting up libinput-bin (1.21.0-1) ... Setting up libxcb-xkb1:ppc64el (1.15-1) ... Setting up libxcb-image0:ppc64el (0.4.0-2) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libxcb-present0:ppc64el (1.15-1) ... Setting up libpython3.10-stdlib:ppc64el (3.10.7-1) ... Setting up dh-autoreconf (20) ... Setting up libxcb-xinerama0:ppc64el (1.15-1) ... Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... Setting up libxcb-sync1:ppc64el (1.15-1) ... Setting up libraqm0:ppc64el (0.7.0-4ubuntu1) ... Setting up shared-mime-info (2.2-1) ... Setting up libxkbcommon-x11-0:ppc64el (1.4.1-1) ... Setting up libqt5core5a:ppc64el (5.15.6+dfsg-1) ... Setting up libbabeltrace1:ppc64el (1.5.8-2build2) ... Setting up libjs-sphinxdoc (4.5.0-4) ... Setting up libxcb-dri2-0:ppc64el (1.15-1) ... Setting up dh-strip-nondeterminism (1.13.0-1) ... Setting up libdrm2:ppc64el (2.4.113-2) ... Setting up dwz (0.14-1build2) ... Setting up libopenblas0:ppc64el (0.3.20+ds-2) ... Setting up groff-base (1.22.4-8build1) ... Setting up libqt5dbus5:ppc64el (5.15.6+dfsg-1) ... Setting up libxcb-randr0:ppc64el (1.15-1) ... Setting up libllvm15:ppc64el (1:15.0.2-1) ... Setting up libxslt1.1:ppc64el (1.1.35-1) ... Setting up debugedit (1:5.0-5) ... Setting up libx11-6:ppc64el (2:1.8.1-2) ... Setting up libtiff5:ppc64el (4.4.0-4ubuntu3) ... Setting up libxkbfile1:ppc64el (1:1.1.0-1build3) ... Setting up libqt5test5:ppc64el (5.15.6+dfsg-1) ... Setting up libsm6:ppc64el (2:1.2.3-1build2) ... Setting up libavahi-client3:ppc64el (0.8-6ubuntu1) ... Setting up libxmuu1:ppc64el (2:1.1.3-3) ... Setting up libpython3-stdlib:ppc64el (3.10.6-1ubuntu1~ppa1) ... Setting up liblbfgsb0:ppc64el (3.0+dfsg.3-11) ... Setting up libdrm-amdgpu1:ppc64el (2.4.113-2) ... Setting up libopenblas-pthread-dev:ppc64el (0.3.20+ds-2) ... update-alternatives: using /usr/lib/powerpc64le-linux-gnu/openblas-pthread/libblas.so to provide /usr/lib/powerpc64le-linux-gnu/libblas.so (libblas.so-powerpc64le-linux-gnu) in auto mode update-alternatives: using /usr/lib/powerpc64le-linux-gnu/openblas-pthread/liblapack.so to provide /usr/lib/powerpc64le-linux-gnu/liblapack.so (liblapack.so-powerpc64le-linux-gnu) in auto mode update-alternatives: using /usr/lib/powerpc64le-linux-gnu/openblas-pthread/libopenblas.so to provide /usr/lib/powerpc64le-linux-gnu/libopenblas.so (libopenblas.so-powerpc64le-linux-gnu) in auto mode Setting up libxcb-dri3-0:ppc64el (1.15-1) ... Setting up libinput10:ppc64el (1.21.0-1) ... Setting up libx11-xcb1:ppc64el (2:1.8.1-2) ... Setting up python3.11 (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up libpython3.10:ppc64el (3.10.7-1) ... Setting up libdrm-nouveau2:ppc64el (2.4.113-2) ... Setting up python3.10 (3.10.7-1) ... Setting up libpython3.11:ppc64el (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up libxpm4:ppc64el (1:3.5.12-1build2) ... Setting up libxrender1:ppc64el (1:0.9.10-1.1) ... Setting up libgbm1:ppc64el (22.2.1-1ubuntu1) ... Setting up libdrm-radeon1:ppc64el (2.4.113-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libgl1-mesa-dri:ppc64el (22.2.1-1ubuntu1) ... Setting up libxext6:ppc64el (2:1.3.4-1build1) ... Setting up libcurl3-gnutls:ppc64el (7.85.0-1) ... Setting up python3 (3.10.6-1ubuntu1~ppa1) ... Setting up python3-sortedcontainers (2.4.0-2) ... Setting up man-db (2.10.2-2) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up python3-markupsafe (2.0.1-2build2) ... Setting up python3-psutil (5.9.0-1build2) ... Setting up libqt5network5:ppc64el (5.15.6+dfsg-1) ... Setting up python3-tz (2022.2.1-1) ... Setting up libxxf86vm1:ppc64el (1:1.1.4-1build3) ... Setting up libqt5sql5:ppc64el (5.15.6+dfsg-1) ... Setting up python3-six (1.16.0-4) ... Setting up libopenblas-dev:ppc64el (0.3.20+ds-2) ... Setting up python3-decorator (4.4.2-0ubuntu1) ... Setting up libqt5xml5:ppc64el (5.15.6+dfsg-1) ... Setting up libegl-mesa0:ppc64el (22.2.1-1ubuntu1) ... Setting up python3-sqlparse (0.4.2-1) ... Setting up python3-wcwidth (0.2.5+dfsg1-1) ... Setting up python3-pyparsing (3.0.7-2) ... Setting up libxfixes3:ppc64el (1:6.0.0-1) ... Setting up libpython3.11-dev:ppc64el (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up python3-werkzeug (2.0.2+dfsg1-3) ... Setting up python3-brotli (1.0.9-2build7) ... Setting up python3-greenlet (1.1.3-0ubuntu1~ppa1) ... Setting up python3-cycler (0.11.0-1) ... Setting up python3-bytecode (0.13.0-2) ... Setting up python3-kiwisolver (1.3.2-1build2) ... Setting up python3-idna (3.3-1) ... Setting up libxrandr2:ppc64el (2:1.5.2-2) ... Setting up cython3 (0.29.30-1ubuntu2) ... Setting up libpython3.10-dev:ppc64el (3.10.7-1) ... Setting up libxt6:ppc64el (1:1.2.1-1) ... Setting up python3-pickleshare (0.7.5-5) ... Setting up python3-pluggy (1.0.0+repack-1) ... Setting up libcups2:ppc64el (2.4.2-1ubuntu2) ... Setting up python3-pyqt5.sip (12.11.0-1build1) ... Setting up python3.10-dev (3.10.7-1) ... Setting up xauth (1:1.1.1-1) ... Setting up python3-lxml:ppc64el (4.9.1-1build1) ... Setting up python3-traitlets (5.3.0-1) ... Setting up libegl1:ppc64el (1.5.0-1) ... Setting up python3-dateutil (2.8.1-6) ... Setting up libxss1:ppc64el (1:1.2.3-1build2) ... Setting up python3-mpmath (1.2.1-2) ... Setting up python3-execnet (1.9.0-1) ... Setting up python3-lib2to3 (3.10.7-1) ... Setting up python3-appdirs (1.4.4-2) ... Setting up python3-asgiref (3.5.0-1) ... Setting up python3-ptyprocess (0.7.0-3) ... Setting up python3-pkg-resources (59.6.0-1.2) ... Setting up python3-prompt-toolkit (3.0.30-1) ... Setting up python3-distutils (3.10.7-1) ... Setting up dh-python (5.20221001build1) ... Setting up python3-more-itertools (8.10.0-2) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-sniffio (1.2.0-1) ... Setting up python3-sympy (1.10.1-3) ... Setting up python3-attr (22.1.0-1) ... Setting up libxmu6:ppc64el (2:1.1.3-3) ... Setting up python3-django (3:3.2.15-1ubuntu1) ... Setting up libglx-mesa0:ppc64el (22.2.1-1ubuntu1) ... Setting up python3-jaraco.classes (3.2.1-3) ... Setting up libpython3-dev:ppc64el (3.10.6-1ubuntu1~ppa1) ... Setting up python3-jaraco.functools (3.5.0-1) ... Setting up python3-setuptools (59.6.0-1.2) ... Setting up python3-async-generator (1.10-3) ... Setting up libglx0:ppc64el (1.5.0-1) ... Setting up python3-tomli (2.0.1-1) ... Setting up python3-py (1.11.0-0ubuntu1~ppa1) ... Setting up python3-jaraco.context (4.1.1-2) ... Setting up python3-backcall (0.2.0-3) ... Setting up python3-parso (0.8.1-1) ... Setting up python3-babel (2.8.0+dfsg.1-7) ... update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode Setting up python3-colorama (0.4.5-2) ... Setting up python3-lz4 (4.0.0+dfsg-1build1) ... Setting up python3-zope.event (4.4-3) ... Setting up python3-defusedxml (0.7.1-1) ... Setting up python3-zope.interface (5.4.0-3build1) ... Setting up python3.11-dev (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up python3-unicodedata2 (14.0.0+ds2-1ubuntu1) ... Setting up python3-ply (3.11-5) ... Setting up libdebuginfod1:ppc64el (0.187-4) ... Setting up python3-gast (0.5.2-2) ... Setting up python3-itsdangerous (2.1.2-2) ... Setting up python3-all (3.10.6-1ubuntu1~ppa1) ... Setting up python3-coverage (6.2+dfsg1-2build2) ... Setting up debhelper (13.9.1ubuntu1) ... Setting up libxaw7:ppc64el (2:1.0.14-1) ... Setting up python3-gevent (21.8.0-1build1) ... Setting up python3-click (8.0.3-1) ... Setting up python3-matplotlib-inline (0.1.3-1) ... Setting up python3-fs (2.4.16-1) ... Setting up python3-beniget (0.4.1-2) ... Setting up python3-jinja2 (3.0.3-1) ... Setting up python3-pygments (2.12.0+dfsg-2) ... Setting up python3-packaging (21.3-1.1) ... Setting up gdb (12.1-3ubuntu2) ... Setting up libgl1:ppc64el (1.5.0-1) ... Setting up python3-cheroot (8.6.0+ds1-3ubuntu1) ... Setting up libpython3-all-dev:ppc64el (3.10.6-1ubuntu1~ppa1) ... Setting up python3-jaraco.text (3.7.0-1) ... Setting up python3-pexpect (4.8.0-3ubuntu1) ... Setting up python3-dev (3.10.6-1ubuntu1~ppa1) ... Setting up python3-numpy (1:1.21.5-1ubuntu1~ppa1) ... Setting up python3-zc.lockfile (2.0-2) ... Setting up python3-tempora (5.0.1-1) ... Setting up python3-jaraco.collections (3.5.1-1) ... Setting up python3-all-dev (3.10.6-1ubuntu1~ppa1) ... Setting up python3-outcome (1.2.0-1) ... Setting up python3-untangle (1.2.1-1) ... Setting up python3-jedi (0.18.0-1) ... Setting up python3-pytest (7.1.2-2ubuntu1) ... Setting up python3-flask (2.0.3-1ubuntu1) ... Setting up x11-xkb-utils (7.7+7) ... Setting up python3-pandas-lib:ppc64el (1.3.5+dfsg-5ubuntu1~ppa1) ... Setting up python3-portend (3.1.0-1) ... Setting up python3-pytest-forked (1.4.0-1) ... Setting up python3-pandas (1.3.5+dfsg-5ubuntu1~ppa1) ... Setting up python3-trio (0.21.0-1) ... Setting up python3-ipython (7.31.1-1) ... Setting up python3-pythran (0.11.0+ds-7build1) ... Setting up xserver-common (2:21.1.4-2ubuntu1) ... Setting up python3-cherrypy3 (18.8.0-1) ... Setting up python3-scipy (1.8.1-10build1) ... Setting up python3-pytest-xdist (2.5.0-5) ... Setting up xvfb (2:21.1.4-2ubuntu1) ... Setting up python3-fonttools (4.34.4-1build1) ... Setting up python3-pil:ppc64el (9.2.0-1build1) ... Setting up python3-ufolib2 (0.13.1+dfsg1-1) ... Processing triggers for libc-bin (2.36-0ubuntu4) ... Processing triggers for sgml-base (1.30) ... Setting up libfontconfig1:ppc64el (2.13.1-4.4ubuntu1) ... Setting up fontconfig (2.13.1-4.4ubuntu1) ... Regenerating fonts cache... done. Setting up libxft2:ppc64el (2.3.4-1) ... Setting up libtk8.6:ppc64el (8.6.12-1build1) ... Setting up libqt5gui5:ppc64el (5.15.6+dfsg-1) ... Setting up libqt5widgets5:ppc64el (5.15.6+dfsg-1) ... Setting up libqt5help5:ppc64el (5.15.6-1build1) ... Setting up libqt5printsupport5:ppc64el (5.15.6+dfsg-1) ... Setting up libqt5x11extras5:ppc64el (5.15.6-1) ... Setting up tk8.6-blt2.5 (2.5.3+dfsg-4.1build2) ... Setting up libqt5designer5:ppc64el (5.15.6-1build1) ... Setting up blt (2.5.3+dfsg-4.1build2) ... Setting up libqt5svg5:ppc64el (5.15.6-1) ... Setting up python3-tk:ppc64el (3.10.7-1) ... Setting up python3-pil.imagetk:ppc64el (9.2.0-1build1) ... Setting up python3-pyqt5 (5.15.7+dfsg-1build2) ... Setting up python3-pyqt5.qtsvg (5.15.7+dfsg-1build2) ... Setting up python3-matplotlib (3.5.2-2build2~ppa1) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.36-0ubuntu4) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (ppc64el included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:08:20 UTC 2022 ppc64el (ppc64le) Toolchain package versions: binutils_2.39-3ubuntu1 dpkg-dev_1.21.9ubuntu1 g++-12_12.2.0-3ubuntu1 gcc-12_12.2.0-3ubuntu1 libc6-dev_2.36-0ubuntu4 libstdc++-12-dev_12.2.0-3ubuntu1 libstdc++6_12.2.0-3ubuntu1 linux-libc-dev_5.19.0-21.21 Package versions: adduser_3.121ubuntu1 advancecomp_2.3-1 apt_2.5.3 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-8 autotools-dev_20220109.1 base-files_12.2ubuntu3 base-passwd_3.6.0 bash_5.2-1ubuntu2 binutils_2.39-3ubuntu1 binutils-common_2.39-3ubuntu1 binutils-powerpc64le-linux-gnu_2.39-3ubuntu1 blt_2.5.3+dfsg-4.1build2 bsdextrautils_2.38-4ubuntu1 bsdutils_1:2.38-4ubuntu1 build-essential_12.9ubuntu3 bzip2_1.0.8-5build1 ca-certificates_20211016 coreutils_8.32-4.1ubuntu1 cpp_4:12.2.0-1ubuntu1 cpp-12_12.2.0-3ubuntu1 cython3_0.29.30-1ubuntu2 dash_0.5.11+git20210903+057cd650a4ed-8ubuntu1 debconf_1.5.79ubuntu1 debhelper_13.9.1ubuntu1 debianutils_5.7-0.3 debugedit_1:5.0-5 dh-autoreconf_20 dh-python_5.20221001build1 dh-strip-nondeterminism_1.13.0-1 diffutils_1:3.8-1 dpkg_1.21.9ubuntu1 dpkg-dev_1.21.9ubuntu1 dwz_0.14-1build2 e2fsprogs_1.46.5-2ubuntu2 fakeroot_1.29-1ubuntu1 file_1:5.41-4 findutils_4.9.0-3ubuntu1 fontconfig_2.13.1-4.4ubuntu1 fontconfig-config_2.13.1-4.4ubuntu1 fonts-dejavu-core_2.37-2build1 fonts-lyx_2.3.6.1-1 g++_4:12.2.0-1ubuntu1 g++-12_12.2.0-3ubuntu1 gawk_1:5.1.0-1build3 gcc_4:12.2.0-1ubuntu1 gcc-12_12.2.0-3ubuntu1 gcc-12-base_12.2.0-3ubuntu1 gdb_12.1-3ubuntu2 gettext_0.21-8 gettext-base_0.21-8 gpg_2.2.35-3ubuntu1 gpg-agent_2.2.35-3ubuntu1 gpgconf_2.2.35-3ubuntu1 gpgv_2.2.35-3ubuntu1 grep_3.7-1build1 groff-base_1.22.4-8build1 gzip_1.12-1ubuntu1 hostname_3.23ubuntu2 init_1.64 init-system-helpers_1.64 intltool-debian_0.35.0+20060710.5 libacl1_2.3.1-1 libapparmor1_3.0.7-1ubuntu3 libapt-pkg6.0_2.5.3 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.3 libasan8_12.2.0-3ubuntu1 libassuan0_2.5.5-4 libatomic1_12.2.0-3ubuntu1 libattr1_1:2.5.1-1build1 libaudit-common_1:3.0.7-1ubuntu2 libaudit1_1:3.0.7-1ubuntu2 libavahi-client3_0.8-6ubuntu1 libavahi-common-data_0.8-6ubuntu1 libavahi-common3_0.8-6ubuntu1 libbabeltrace1_1.5.8-2build2 libbinutils_2.39-3ubuntu1 libblas3_3.10.1-2 libblkid1_2.38-4ubuntu1 libboost-dev_1.74.0.3ubuntu7 libboost-regex1.74.0_1.74.0-17ubuntu2~ppa2 libboost1.74-dev_1.74.0-17ubuntu2~ppa2 libbrotli1_1.0.9-2build7 libbsd0_0.11.6-1 libbz2-1.0_1.0.8-5build1 libc-ares2_1.18.1-1build1 libc-bin_2.36-0ubuntu4 libc-dev-bin_2.36-0ubuntu4 libc6_2.36-0ubuntu4 libc6-dev_2.36-0ubuntu4 libcap-ng0_0.8.3-1build1 libcap2_1:2.44-1build3 libcc1-0_12.2.0-3ubuntu1 libcom-err2_1.46.5-2ubuntu2 libcrypt-dev_1:4.4.28-2 libcrypt1_1:4.4.28-2 libcryptsetup12_2:2.5.0-2ubuntu1 libctf-nobfd0_2.39-3ubuntu1 libctf0_2.39-3ubuntu1 libcups2_2.4.2-1ubuntu2 libcurl3-gnutls_7.85.0-1 libdb5.3_5.3.28+dfsg1-0.10 libdbus-1-3_1.14.0-2ubuntu2 libdebconfclient0_0.264ubuntu1 libdebhelper-perl_13.9.1ubuntu1 libdebuginfod-common_0.187-4 libdebuginfod1_0.187-4 libdeflate0_1.12-1 libdevmapper1.02.1_2:1.02.185-1ubuntu1 libdouble-conversion3_3.2.1-1 libdpkg-perl_1.21.9ubuntu1 libdrm-amdgpu1_2.4.113-2 libdrm-common_2.4.113-2 libdrm-nouveau2_2.4.113-2 libdrm-radeon1_2.4.113-2 libdrm2_2.4.113-2 libdw1_0.187-4 libedit2_3.1-20210910-1build1 libegl-mesa0_22.2.1-1ubuntu1 libegl1_1.5.0-1 libelf1_0.187-4 libev4_1:4.33-1 libevdev2_1.13.0+dfsg-1 libexpat1_2.4.8-2 libexpat1-dev_2.4.8-2 libext2fs2_1.46.5-2ubuntu2 libfakeroot_1.29-1ubuntu1 libfdisk1_2.38-4ubuntu1 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-1 libfontconfig1_2.13.1-4.4ubuntu1 libfontenc1_1:1.1.4-1build3 libfreetype6_2.12.1+dfsg-3 libfribidi0_1.0.8-2.1ubuntu1 libgbm1_22.2.1-1ubuntu1 libgcc-12-dev_12.2.0-3ubuntu1 libgcc-s1_12.2.0-3ubuntu1 libgcrypt20_1.10.1-2ubuntu1 libgdbm-compat4_1.23-1 libgdbm6_1.23-1 libgfortran5_12.2.0-3ubuntu1 libgl1_1.5.0-1 libgl1-mesa-dri_22.2.1-1ubuntu1 libglapi-mesa_22.2.1-1ubuntu1 libglib2.0-0_2.74.0-3 libglvnd0_1.5.0-1 libglx-mesa0_22.2.1-1ubuntu1 libglx0_1.5.0-1 libgmp10_2:6.2.1+dfsg1-1ubuntu2 libgnutls30_3.7.7-2ubuntu2 libgomp1_12.2.0-3ubuntu1 libgpg-error0_1.45-2 libgraphite2-3_1.3.14-1build2 libgssapi-krb5-2_1.20-1 libgudev-1.0-0_1:237-2build1 libharfbuzz0b_2.7.4-1ubuntu5 libhogweed6_3.8.1-2 libice6_2:1.0.10-1build2 libicu71_71.1-3ubuntu1 libidn2-0_2.3.3-1build1 libimagequant0_2.17.0-1 libinput-bin_1.21.0-1 libinput10_1.21.0-1 libip4tc2_1.8.7-1ubuntu6 libisl23_0.25-1 libitm1_12.2.0-3ubuntu1 libjbig0_2.1-3.1build3 libjpeg-turbo8_2.1.2-0ubuntu1 libjpeg8_8c-2ubuntu10 libjs-jquery_3.6.0+dfsg+~3.5.13-1 libjs-jquery-ui_1.13.2+dfsg-1 libjs-sphinxdoc_4.5.0-4 libjs-underscore_1.13.3~dfsg+~1.11.4-1 libjson-c5_0.16-1 libk5crypto3_1.20-1 libkeyutils1_1.6.3-1 libkmod2_30+20220630-3ubuntu1 libkrb5-3_1.20-1 libkrb5support0_1.20-1 liblapack3_3.10.1-2 liblbfgsb0_3.0+dfsg.3-11 liblcms2-2_2.13.1-1 libldap-2.5-0_2.5.13+dfsg-1ubuntu1 liblerc3_3.0+ds-1ubuntu1 libllvm15_1:15.0.2-1 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 liblsan0_12.2.0-3ubuntu1 liblz4-1_1.9.3-2build2 liblzma5_5.2.5-2.1 libmagic-mgc_1:5.41-4 libmagic1_1:5.41-4 libmd0_1.0.4-2 libmd4c0_0.4.8-1 libmount1_2.38-4ubuntu1 libmpc3_1.2.1-2build1 libmpdec3_2.5.1-2build2 libmpfr6_4.1.0-3build3 libmtdev1_1.1.6-1build4 libncurses6_6.3+20220423-2 libncursesw6_6.3+20220423-2 libnettle8_3.8.1-2 libnghttp2-14_1.49.0-1 libnpth0_1.6-3build2 libnsl-dev_1.3.0-2build2 libnsl2_1.3.0-2build2 libopenblas-dev_0.3.20+ds-2 libopenblas-pthread-dev_0.3.20+ds-2 libopenblas0_0.3.20+ds-2 libopenblas0-pthread_0.3.20+ds-2 libopenjp2-7_2.5.0-1 libp11-kit0_0.24.1-1ubuntu2 libpam-modules_1.5.2-2ubuntu1 libpam-modules-bin_1.5.2-2ubuntu1 libpam-runtime_1.5.2-2ubuntu1 libpam0g_1.5.2-2ubuntu1 libpcre2-16-0_10.40-1ubuntu1 libpcre2-8-0_10.40-1ubuntu1 libpcre3_2:8.39-14 libperl5.34_5.34.0-5ubuntu1 libpipeline1_1.5.6-2 libpixman-1-0_0.40.0-1build4 libpng16-16_1.6.38-2 libprocps8_2:3.3.17-7ubuntu1 libpsl5_0.21.0-1.2build2 libpython3-all-dev_3.10.6-1ubuntu1~ppa1 libpython3-dev_3.10.6-1ubuntu1~ppa1 libpython3-stdlib_3.10.6-1ubuntu1~ppa1 libpython3.10_3.10.7-1 libpython3.10-dev_3.10.7-1 libpython3.10-minimal_3.10.7-1 libpython3.10-stdlib_3.10.7-1 libpython3.11_3.11.0~rc2-1ubuntu1~ppa1 libpython3.11-dev_3.11.0~rc2-1ubuntu1~ppa1 libpython3.11-minimal_3.11.0~rc2-1ubuntu1~ppa1 libpython3.11-stdlib_3.11.0~rc2-1ubuntu1~ppa1 libqhull-r8.0_2020.2-5 libqt5core5a_5.15.6+dfsg-1 libqt5dbus5_5.15.6+dfsg-1 libqt5designer5_5.15.6-1build1 libqt5gui5_5.15.6+dfsg-1 libqt5help5_5.15.6-1build1 libqt5network5_5.15.6+dfsg-1 libqt5printsupport5_5.15.6+dfsg-1 libqt5sql5_5.15.6+dfsg-1 libqt5svg5_5.15.6-1 libqt5test5_5.15.6+dfsg-1 libqt5widgets5_5.15.6+dfsg-1 libqt5x11extras5_5.15.6-1 libqt5xml5_5.15.6+dfsg-1 libquadmath0_12.2.0-3ubuntu1 libraqm0_0.7.0-4ubuntu1 libreadline8_8.2-1 librtmp1_2.4+20151223.gitfa8646d.1-2build4 libsasl2-2_2.1.28+dfsg-6ubuntu2 libsasl2-modules-db_2.1.28+dfsg-6ubuntu2 libseccomp2_2.5.4-1ubuntu2 libselinux1_3.4-1build1 libsemanage-common_3.4-1build1 libsemanage2_3.4-1build1 libsensors-config_1:3.6.0-7ubuntu1 libsensors5_1:3.6.0-7ubuntu1 libsepol2_3.4-2 libsigsegv2_2.14-1ubuntu1 libsm6_2:1.2.3-1build2 libsmartcols1_2.38-4ubuntu1 libsource-highlight-common_3.1.9-4.1ubuntu1 libsource-highlight4v5_3.1.9-4.1ubuntu1 libsqlite3-0_3.39.3-1 libss2_1.46.5-2ubuntu2 libssh-4_0.9.6-2build1 libssl3_3.0.5-2ubuntu1 libstdc++-12-dev_12.2.0-3ubuntu1 libstdc++6_12.2.0-3ubuntu1 libsub-override-perl_0.09-3 libsystemd-shared_251.4-1ubuntu7 libsystemd0_251.4-1ubuntu7 libtasn1-6_4.18.0-4build1 libtcl8.6_8.6.12+dfsg-1build1 libtiff5_4.4.0-4ubuntu3 libtinfo6_6.3+20220423-2 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtk8.6_8.6.12-1build1 libtool_2.4.7-4 libtsan2_12.2.0-3ubuntu1 libubsan1_12.2.0-3ubuntu1 libuchardet0_0.0.7-1build2 libudev1_251.4-1ubuntu7 libunistring2_1.0-1 libunwind8_1.6.2-0ubuntu1 libuuid1_2.38-4ubuntu1 libwacom-common_2.4.0-3 libwacom9_2.4.0-3 libwayland-client0_1.21.0-1 libwayland-server0_1.21.0-1 libwebp7_1.2.2-2 libwebpdemux2_1.2.2-2 libwebpmux3_1.2.2-2 libx11-6_2:1.8.1-2 libx11-data_2:1.8.1-2 libx11-xcb1_2:1.8.1-2 libxau6_1:1.0.9-1build5 libxaw7_2:1.0.14-1 libxcb-dri2-0_1.15-1 libxcb-dri3-0_1.15-1 libxcb-glx0_1.15-1 libxcb-icccm4_0.4.1-1.1build2 libxcb-image0_0.4.0-2 libxcb-keysyms1_0.4.0-1build3 libxcb-present0_1.15-1 libxcb-randr0_1.15-1 libxcb-render-util0_0.3.9-1build3 libxcb-render0_1.15-1 libxcb-shape0_1.15-1 libxcb-shm0_1.15-1 libxcb-sync1_1.15-1 libxcb-util1_0.4.0-1build2 libxcb-xfixes0_1.15-1 libxcb-xinerama0_1.15-1 libxcb-xinput0_1.15-1 libxcb-xkb1_1.15-1 libxcb1_1.15-1 libxdmcp6_1:1.1.3-0ubuntu5 libxext6_2:1.3.4-1build1 libxfixes3_1:6.0.0-1 libxfont2_1:2.0.5-1build1 libxft2_2.3.4-1 libxkbcommon-x11-0_1.4.1-1 libxkbcommon0_1.4.1-1 libxkbfile1_1:1.1.0-1build3 libxml2_2.9.14+dfsg-1build1 libxmu6_2:1.1.3-3 libxmuu1_2:1.1.3-3 libxpm4_1:3.5.12-1build2 libxrandr2_2:1.5.2-2 libxrender1_1:0.9.10-1.1 libxshmfence1_1.3-1build4 libxsimd-dev_8.1.0-7 libxslt1.1_1.1.35-1 libxss1_1:1.2.3-1build2 libxt6_1:1.2.1-1 libxxf86vm1_1:1.1.4-1build3 libxxhash0_0.8.1-1 libzstd1_1.5.2+dfsg-1 linux-libc-dev_5.19.0-21.21 lockfile-progs_0.1.19build1 login_1:4.11.1+dfsg1-2ubuntu1 logsave_1.46.5-2ubuntu2 lsb-base_11.2ubuntu1 lto-disabled-list_35 m4_1.4.19-1 make_4.3-4.1build1 man-db_2.10.2-2 mawk_1.3.4.20200120-3.1 media-types_8.0.0 mount_2.38-4ubuntu1 ncurses-base_6.3+20220423-2 ncurses-bin_6.3+20220423-2 openssl_3.0.5-2ubuntu1 optipng_0.7.7-2build1 passwd_1:4.11.1+dfsg1-2ubuntu1 patch_2.7.6-7build2 perl_5.34.0-5ubuntu1 perl-base_5.34.0-5ubuntu1 perl-modules-5.34_5.34.0-5ubuntu1 pinentry-curses_1.2.0-2ubuntu1 pkgbinarymangler_149 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3.1 procps_2:3.3.17-7ubuntu1 python-babel-localedata_2.8.0+dfsg.1-7 python-matplotlib-data_3.5.2-2build2~ppa1 python3_3.10.6-1ubuntu1~ppa1 python3-all_3.10.6-1ubuntu1~ppa1 python3-all-dev_3.10.6-1ubuntu1~ppa1 python3-appdirs_1.4.4-2 python3-asgiref_3.5.0-1 python3-async-generator_1.10-3 python3-attr_22.1.0-1 python3-babel_2.8.0+dfsg.1-7 python3-backcall_0.2.0-3 python3-beniget_0.4.1-2 python3-brotli_1.0.9-2build7 python3-bytecode_0.13.0-2 python3-cheroot_8.6.0+ds1-3ubuntu1 python3-cherrypy3_18.8.0-1 python3-click_8.0.3-1 python3-colorama_0.4.5-2 python3-coverage_6.2+dfsg1-2build2 python3-cycler_0.11.0-1 python3-dateutil_2.8.1-6 python3-decorator_4.4.2-0ubuntu1 python3-defusedxml_0.7.1-1 python3-dev_3.10.6-1ubuntu1~ppa1 python3-distutils_3.10.7-1 python3-django_3:3.2.15-1ubuntu1 python3-execnet_1.9.0-1 python3-flask_2.0.3-1ubuntu1 python3-fonttools_4.34.4-1build1 python3-fs_2.4.16-1 python3-gast_0.5.2-2 python3-gevent_21.8.0-1build1 python3-greenlet_1.1.3-0ubuntu1~ppa1 python3-idna_3.3-1 python3-iniconfig_1.1.1-2 python3-ipython_7.31.1-1 python3-itsdangerous_2.1.2-2 python3-jaraco.classes_3.2.1-3 python3-jaraco.collections_3.5.1-1 python3-jaraco.context_4.1.1-2 python3-jaraco.functools_3.5.0-1 python3-jaraco.text_3.7.0-1 python3-jedi_0.18.0-1 python3-jinja2_3.0.3-1 python3-kiwisolver_1.3.2-1build2 python3-lib2to3_3.10.7-1 python3-lxml_4.9.1-1build1 python3-lz4_4.0.0+dfsg-1build1 python3-markupsafe_2.0.1-2build2 python3-matplotlib_3.5.2-2build2~ppa1 python3-matplotlib-inline_0.1.3-1 python3-minimal_3.10.6-1ubuntu1~ppa1 python3-more-itertools_8.10.0-2 python3-mpmath_1.2.1-2 python3-numpy_1:1.21.5-1ubuntu1~ppa1 python3-outcome_1.2.0-1 python3-packaging_21.3-1.1 python3-pandas_1.3.5+dfsg-5ubuntu1~ppa1 python3-pandas-lib_1.3.5+dfsg-5ubuntu1~ppa1 python3-parso_0.8.1-1 python3-pexpect_4.8.0-3ubuntu1 python3-pickleshare_0.7.5-5 python3-pil_9.2.0-1build1 python3-pil.imagetk_9.2.0-1build1 python3-pkg-resources_59.6.0-1.2 python3-pluggy_1.0.0+repack-1 python3-ply_3.11-5 python3-portend_3.1.0-1 python3-prompt-toolkit_3.0.30-1 python3-psutil_5.9.0-1build2 python3-ptyprocess_0.7.0-3 python3-py_1.11.0-0ubuntu1~ppa1 python3-pygments_2.12.0+dfsg-2 python3-pyparsing_3.0.7-2 python3-pyqt5_5.15.7+dfsg-1build2 python3-pyqt5.qtsvg_5.15.7+dfsg-1build2 python3-pyqt5.sip_12.11.0-1build1 python3-pytest_7.1.2-2ubuntu1 python3-pytest-forked_1.4.0-1 python3-pytest-xdist_2.5.0-5 python3-pythran_0.11.0+ds-7build1 python3-scipy_1.8.1-10build1 python3-setuptools_59.6.0-1.2 python3-six_1.16.0-4 python3-sniffio_1.2.0-1 python3-sortedcontainers_2.4.0-2 python3-sqlparse_0.4.2-1 python3-sympy_1.10.1-3 python3-tempora_5.0.1-1 python3-tk_3.10.7-1 python3-tomli_2.0.1-1 python3-traitlets_5.3.0-1 python3-trio_0.21.0-1 python3-tz_2022.2.1-1 python3-ufolib2_0.13.1+dfsg1-1 python3-unicodedata2_14.0.0+ds2-1ubuntu1 python3-untangle_1.2.1-1 python3-wcwidth_0.2.5+dfsg1-1 python3-werkzeug_2.0.2+dfsg1-3 python3-zc.lockfile_2.0-2 python3-zope.event_4.4-3 python3-zope.interface_5.4.0-3build1 python3.10_3.10.7-1 python3.10-dev_3.10.7-1 python3.10-minimal_3.10.7-1 python3.11_3.11.0~rc2-1ubuntu1~ppa1 python3.11-dev_3.11.0~rc2-1ubuntu1~ppa1 python3.11-minimal_3.11.0~rc2-1ubuntu1~ppa1 readline-common_8.2-1 rpcsvc-proto_1.4.2-0ubuntu6 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.8-1ubuntu2 sensible-utils_0.0.17 sgml-base_1.30 shared-mime-info_2.2-1 systemd_251.4-1ubuntu7 systemd-sysv_251.4-1ubuntu7 sysvinit-utils_3.04-1ubuntu1 tar_1.34+dfsg-1build3 tk8.6-blt2.5_2.5.3+dfsg-4.1build2 txt2man_1.7.1-2 tzdata_2022e-0ubuntu2 ubuntu-keyring_2021.03.26 ucf_3.0043 unicode-data_15.0.0-1 usrmerge_29ubuntu2 util-linux_2.38-4ubuntu1 util-linux-extra_2.38-4ubuntu1 x11-common_1:7.7+23ubuntu2 x11-xkb-utils_7.7+7 xauth_1:1.1.1-1 xkb-data_2.35.1-1 xserver-common_2:21.1.4-2ubuntu1 xvfb_2:21.1.4-2ubuntu1 xz-utils_5.2.5-2.1 zlib1g_1:1.2.11.dfsg-4.1ubuntu1 zlib1g-dev_1:1.2.11.dfsg-4.1ubuntu1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: pydevd Binary: pydevd, python3-pydevd Architecture: any all Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Maintainer: Debian Python Team Uploaders: Julian Gilbey Homepage: https://github.com/fabioz/PyDev.Debugger/ Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/python-team/packages/pydevd Vcs-Git: https://salsa.debian.org/python-team/packages/pydevd.git Testsuite: autopkgtest Testsuite-Triggers: gdb, libqt5x11extras5, procps, python3-all, python3-cherrypy3, python3-coverage, python3-django, python3-flask, python3-gevent, python3-ipython, python3-jinja2, python3-matplotlib, python3-numpy, python3-pandas, python3-psutil, python3-pyqt5, python3-pyqt5.qtsvg, python3-pytest, python3-pytest-xdist, python3-trio, python3-untangle, xauth, xvfb Build-Depends: cython3, debhelper-compat (= 13), dh-python, dh-sequence-python3, gdb , libqt5x11extras5 , procps , python3-all-dev, python3-bytecode, python3-cherrypy3 , python3-coverage , python3-django , python3-flask , python3-gevent , python3-ipython , python3-jinja2 , python3-matplotlib , python3-numpy , python3-pandas , python3-psutil , python3-pyqt5 , python3-pyqt5.qtsvg , python3-pytest , python3-pytest-xdist , python3-setuptools, python3-trio , python3-untangle , txt2man, xauth , xvfb Package-List: pydevd deb utils optional arch=all python3-pydevd deb python optional arch=any Checksums-Sha1: ae12e019ffc2d168fe90b66a42e61de101418e60 900348 pydevd_2.8.0+git20220826.8ee4065+ds.orig.tar.xz fbd8c38549c15f17b605fb40a3ffe88e9b0e7f82 20260 pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.debian.tar.xz Checksums-Sha256: dbb9bca4b8494adbb0174e23208043e230d4f3cf7a1a4f678ee5159be9bb18c8 900348 pydevd_2.8.0+git20220826.8ee4065+ds.orig.tar.xz d2d944b6b8a23f37570fc27b9baec73bd7fd1ce2128bd8ed786451a93c0eb567 20260 pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.debian.tar.xz Files: 5c28597750d7d16972758cb706f5885d 900348 pydevd_2.8.0+git20220826.8ee4065+ds.orig.tar.xz 57137e716f14501fc8645015c0913306 20260 pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEJeP/LX9Gnb59DU5Qr8/sjmac4cIFAmNRp+EACgkQr8/sjmac 4cJc8RAAotWJu07awAmPT8qa4rubpPMNiG1A3Fe4xyaTL+JmVbwWI9woV2Y7hthZ vTgtRht+5KftaYRGf6xfjQOt3GR+0Zn71WiB5FtM77PRW65B+ruzt1bqavvbDWA6 Xi6TFadXzrtevPfIi/XK9kLdRQ1yeTpHX+GffNW2SdLCEKGu9UHW6hxiUutXEH5X O9IyUK87+2OizxD66IQ+TA5/TeBFZwAQq6bRDn1OxbtVBi3BRyD3GML5vCea0AhA 3hOOaTGehnEk4DoTqztQws1khcq52D8R1sE0x/ah3Va1jxGD6hAkxMsMjIGRNeyD YH/++TyxhsmpJknbb/pHLp63d3IJpG7Onar9OKjyLA+wpK6iIh6UIz3LHXpgQ7l1 RjvW6iDY91o0UatlvJ41w4biYtAEdr1pbqJXHmLfJUjqHP9/SGwBRNAmLTsErq3k V9rweNsm6VGyUZdSREF5X3nG1AjFZ/8YT57g10rwMU2DJJENO1mXOIyTSDABRMQZ S7gKgtXtuQdFAXw+0Rvsyc4p6PQBoi03YfyFRVj0IXNRNUe+3LwBT0DVKn9V0eRi 6OhJ3dPl1DB3hou4+77EUk7jh64+CDYazc+jvPx9Ft5ZcRrkxiIfOOcVBOZ57LzE 0/ZmdgIqUOuYDIRFAmq2ZikeRm41G8zPOeTqblPmlRTKuFCJ2jA= =WVcS -----END PGP SIGNATURE----- gpgv: Signature made Thu Oct 20 19:56:17 2022 UTC gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify signature ./pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.dsc dpkg-source: info: extracting pydevd in /<> dpkg-source: info: unpacking pydevd_2.8.0+git20220826.8ee4065+ds.orig.tar.xz dpkg-source: info: unpacking pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying do-not-install-data-files.patch dpkg-source: info: applying build_both_extensions.patch dpkg-source: info: applying improve-compilation-system.patch dpkg-source: info: applying do-not-use-O3-compile-flag.patch dpkg-source: info: applying use-bytecode-package.patch dpkg-source: info: applying allow-non-local-tests.patch dpkg-source: info: applying correct-debian-version-number.patch dpkg-source: info: applying test_convert_utilities.patch dpkg-source: info: applying improve-multiple-test-runs.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=noautodbgsym parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-24561511 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-24561511 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-24561511 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package pydevd dpkg-buildpackage: info: source version 2.8.0+git20220826.8ee4065+ds-1ubuntu2 dpkg-buildpackage: info: source distribution kinetic dpkg-source --before-build . dpkg-buildpackage: info: host architecture ppc64el dpkg-source: info: using options from pydevd-2.8.0+git20220826.8ee4065+ds/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ debian/rules clean dh clean --buildsystem=pybuild debian/rules execute_before_dh_auto_clean make[1]: Entering directory '/<>' libdir=/usr/lib/$(debian/py3versions_min.py); \ cp $libdir/runpy.py _pydevd_bundle/pydevd_runpy.py patch -p1 < debian/runpy.patch patching file _pydevd_bundle/pydevd_runpy.py # setup.py clean requires pydevd_runpy.py to be present make[1]: Leaving directory '/<>' dh_auto_clean -O--buildsystem=pybuild I: pybuild base:240: python3.11 setup.py clean 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. running clean removing '/<>/.pybuild/cpython3_3.11_pydevd/build' (and everything under it) 'build/bdist.linux-ppc64el' does not exist -- can't clean it 'build/scripts-3.11' does not exist -- can't clean it I: pybuild base:240: python3.10 setup.py clean running clean removing '/<>/.pybuild/cpython3_3.10_pydevd/build' (and everything under it) 'build/bdist.linux-ppc64el' does not exist -- can't clean it 'build/scripts-3.10' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules execute_after_dh_clean make[1]: Entering directory '/<>' rm -f _pydevd_bundle/pydevd_runpy.py make[1]: Leaving directory '/<>' debian/rules binary-arch dh binary-arch --buildsystem=pybuild dh_update_autotools_config -a -O--buildsystem=pybuild dh_autoreconf -a -O--buildsystem=pybuild debian/rules execute_before_dh_auto_configure make[1]: Entering directory '/<>' libdir=/usr/lib/$(debian/py3versions_min.py); \ cp $libdir/runpy.py _pydevd_bundle/pydevd_runpy.py patch -p1 < debian/runpy.patch patching file _pydevd_bundle/pydevd_runpy.py # setup.py config requires pydevd_runpy.py to be present make[1]: Leaving directory '/<>' dh_auto_configure -a -O--buildsystem=pybuild I: pybuild base:240: python3.11 setup.py config 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. running config I: pybuild base:240: python3.10 setup.py config running config debian/rules override_dh_auto_build make[1]: Entering directory '/<>' # This shared library is Python-version agnostic cd pydevd_attach_to_process/linux_and_mac && \ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -shared \ -o ../attach.so -fPIC -nostartfiles attach.cpp # Regenerate the Cython C files (though ignore the generated # .so files; they will be compiled for each Python version in # dh_auto_build) python3 setup_pydevd_cython.py build_ext --inplace --force-cython /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<>/_pydevd_bundle/pydevd_cython.pxd tree = Parsing.p_module(s, pxd, full_module_name) Compiling _pydevd_bundle/pydevd_cython.pyx because it changed. [1/1] Cythonizing _pydevd_bundle/pydevd_cython.pyx running build_ext building '_pydevd_bundle.pydevd_cython' extension C compiler: powerpc64le-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC creating build creating build/temp.linux-ppc64le-3.10 creating build/temp.linux-ppc64le-3.10/_pydevd_bundle compile options: '-DPy_BUILD_CORE_MODULE=1 -I/usr/include/python3.10 -c' extra options: '-flto' powerpc64le-linux-gnu-gcc: _pydevd_bundle/pydevd_cython.c creating build/lib.linux-ppc64le-3.10 creating build/lib.linux-ppc64le-3.10/_pydevd_bundle powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64le-3.10/_pydevd_bundle/pydevd_cython.o -o build/lib.linux-ppc64le-3.10/_pydevd_bundle/pydevd_cython.cpython-310-powerpc64le-linux-gnu.so -flto copying build/lib.linux-ppc64le-3.10/_pydevd_bundle/pydevd_cython.cpython-310-powerpc64le-linux-gnu.so -> _pydevd_bundle /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<>/_pydevd_frame_eval/pydevd_frame_evaluator.pxd tree = Parsing.p_module(s, pxd, full_module_name) Compiling _pydevd_frame_eval/pydevd_frame_evaluator.pyx because it changed. [1/1] Cythonizing _pydevd_frame_eval/pydevd_frame_evaluator.pyx running build_ext building '_pydevd_frame_eval.pydevd_frame_evaluator' extension C compiler: powerpc64le-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC creating build/temp.linux-ppc64le-3.10/_pydevd_frame_eval compile options: '-DPy_BUILD_CORE_MODULE=1 -I/usr/include/python3.10 -c' extra options: '-flto' powerpc64le-linux-gnu-gcc: _pydevd_frame_eval/pydevd_frame_evaluator.c _pydevd_frame_eval/pydevd_frame_evaluator.c: In function ‘__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_func_code_info’: _pydevd_frame_eval/pydevd_frame_evaluator.c:6221:133: warning: passing argument 3 of ‘_PyCode_GetExtra’ from incompatible pointer type [-Wincompatible-pointer-types] 6221 | (void)(_PyCode_GetExtra(((PyObject *)__pyx_v_code_obj), __pyx_v_18_pydevd_frame_eval_22pydevd_frame_evaluator__code_extra_index, (&__pyx_v_extra))); | ~^~~~~~~~~~~~~~~ | | | PyObject ** {aka struct _object **} In file included from /usr/include/python3.10/code.h:13, from /usr/include/python3.10/Python.h:103, from _pydevd_frame_eval/pydevd_frame_evaluator.c:24: /usr/include/python3.10/cpython/code.h:170:41: note: expected ‘void **’ but argument is of type ‘PyObject **’ {aka ‘struct _object **’} 170 | void **extra); | ~~~~~~~^~~~~ _pydevd_frame_eval/pydevd_frame_evaluator.c: In function ‘__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_16frame_eval_func’: _pydevd_frame_eval/pydevd_frame_evaluator.c:10235:39: warning: assignment to ‘_PyFrameEvalFunction’ {aka ‘struct _object * (*)(struct _ts *, struct _frame *, int)’} from incompatible pointer type ‘PyObject * (**)(PyThreadState *, PyFrameObject *, int)’ {aka ‘struct _object * (**)(struct _ts *, struct _frame *, int)’} [-Wincompatible-pointer-types] 10235 | __pyx_v_state->interp->eval_frame = ((_PyFrameEvalFunction *)__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytecode_while_frame_eval_39); | ^ _pydevd_frame_eval/pydevd_frame_evaluator.c:10255:39: warning: assignment to ‘_PyFrameEvalFunction’ {aka ‘struct _object * (*)(struct _ts *, struct _frame *, int)’} from incompatible pointer type ‘PyObject * (**)(PyThreadState *, PyFrameObject *, int)’ {aka ‘struct _object * (**)(struct _ts *, struct _frame *, int)’} [-Wincompatible-pointer-types] 10255 | __pyx_v_state->interp->eval_frame = ((_PyFrameEvalFunction *)__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytecode_while_frame_eval_38); | ^ creating build/lib.linux-ppc64le-3.10/_pydevd_frame_eval powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64le-3.10/_pydevd_frame_eval/pydevd_frame_evaluator.o -o build/lib.linux-ppc64le-3.10/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-powerpc64le-linux-gnu.so -flto copying build/lib.linux-ppc64le-3.10/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-powerpc64le-linux-gnu.so -> _pydevd_frame_eval dh_auto_build --buildsystem=pybuild I: pybuild base:240: /usr/bin/python3.11 setup.py build 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. running build running build_py copying pydev_app_engine_debug_startup.py -> /<>/.pybuild/cpython3_3.11_pydevd/build copying pydev_run_in_console.py -> /<>/.pybuild/cpython3_3.11_pydevd/build copying pydevconsole.py -> /<>/.pybuild/cpython3_3.11_pydevd/build copying pydevd_file_utils.py -> /<>/.pybuild/cpython3_3.11_pydevd/build copying pydevd.py -> /<>/.pybuild/cpython3_3.11_pydevd/build copying pydevd_tracing.py -> /<>/.pybuild/cpython3_3.11_pydevd/build copying setup_pydevd_cython.py -> /<>/.pybuild/cpython3_3.11_pydevd/build creating /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_console_utils.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_umd.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_sys_patch.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_override.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_tipper_common.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_monkey_qt.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_jy_imports_tipper.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_ipython_console.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_execfile.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_import_hook.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_completer.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_localhost.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_monkey.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_getopt.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_is_thread_alive.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_imports.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_saved_modules.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_filesystem_encoding.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_ipython_console_011.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_versioncheck.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_imports_tipper.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_log.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_log.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_calltip_util.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle creating /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/fsnotify copying _pydev_bundle/fsnotify/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/fsnotify creating /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_nose.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_xml_rpc.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_pytest2.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_unittest.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles copying _pydev_runfiles/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_coverage.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_parallel_client.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_parallel.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles creating /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_bytecode_utils.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_extension_api.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_cython_wrapper.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_traceproperty.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_additional_thread_info_regular.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_dont_trace.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_extension_utils.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_save_locals.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_signature.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_breakpoints.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_trace_api.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_code_to_source.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_reload.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_constants.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_process_net_command.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_process_net_command_json.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_api.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_suspended_frames.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_xml.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_frame.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_defaults.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_timeout.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_additional_thread_info.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_vars.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_trace_dispatch.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_source_mapping.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_custom_frames.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_collect_bytecode_info.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_runpy.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_stackless.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_io.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_trace_dispatch_regular.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_dont_trace_files.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_plugin_utils.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_command_line_handling.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_daemon_thread.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_net_command.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_referrers.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_comm_constants.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_frame_utils.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_comm.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_utils.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_filtering.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_safe_repr.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_net_command_factory_json.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_thread_lifecycle.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_vm_type.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_console.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_resolver.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_net_command_factory_xml.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_json_debug_options.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevconsole_code.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_exec2.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_import_class.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_gevent_integration.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle creating /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/pydevd_schema_log.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/pydevd_base_schema.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/pydevd_schema.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter creating /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser copying _pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser copying _pydevd_bundle/pydevd_concurrency_analyser/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser copying _pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser creating /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/pydevd_frame_tracing.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/pydevd_modify_bytecode.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/pydevd_frame_eval_main.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval creating /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhooktk.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhookgtk.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/qt.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhookqt4.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhookgtk3.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/qt_loaders.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhookqt5.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhook.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhookwx.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhookglut.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhookpyglet.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/qt_for_kernel.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/version.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/matplotlibtools.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython package init file 'pydevd_attach_to_process/__init__.py' not found (or not a regular file) creating /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/attach_pydevd.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/_test_attach_to_process.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/_test_attach_to_process_linux.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/attach_script.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/_always_live_program.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/_check.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/add_code_to_python_process.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process creating /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins copying pydevd_plugins/jinja2_debug.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins copying pydevd_plugins/pydevd_line_validation.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins copying pydevd_plugins/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins copying pydevd_plugins/django_debug.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins creating /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions copying pydevd_plugins/extensions/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions creating /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/pydevd_helpers.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types running egg_info creating pydevd.egg-info writing pydevd.egg-info/PKG-INFO writing dependency_links to pydevd.egg-info/dependency_links.txt writing entry points to pydevd.egg-info/entry_points.txt writing top-level names to pydevd.egg-info/top_level.txt writing manifest file 'pydevd.egg-info/SOURCES.txt' reading manifest file 'pydevd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pydevd.egg-info/SOURCES.txt' copying _pydevd_bundle/pydevd_cython.c -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle copying _pydevd_frame_eval/pydevd_frame_evaluator.c -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval copying pydevd_attach_to_process/attach.so -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process creating /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/linux_and_mac copying pydevd_attach_to_process/linux_and_mac/lldb_prepare.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/linux_and_mac creating /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/breakpoint.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/compat.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/crash.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/debug.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/disasm.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/event.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/interactive.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/module.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/process.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/registry.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/search.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/sql.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/system.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/textio.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/thread.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/util.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/window.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg creating /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/advapi32.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/context_amd64.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/context_i386.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/dbghelp.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/defines.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/gdi32.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/kernel32.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/ntdll.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/peb_teb.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/psapi.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/shell32.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/shlwapi.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/user32.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/version.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/wtsapi32.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32 running build_ext building '_pydevd_bundle.pydevd_cython' extension creating build/temp.linux-ppc64el-3.11 creating build/temp.linux-ppc64el-3.11/_pydevd_bundle powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE_MODULE=1 -I/usr/include/python3.11 -c _pydevd_bundle/pydevd_cython.c -o build/temp.linux-ppc64el-3.11/_pydevd_bundle/pydevd_cython.o -flto powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-3.11/_pydevd_bundle/pydevd_cython.o -o /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_cython.cpython-311-powerpc64le-linux-gnu.so -flto building '_pydevd_frame_eval.pydevd_frame_evaluator' extension creating build/temp.linux-ppc64el-3.11/_pydevd_frame_eval powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE_MODULE=1 -I/usr/include/python3.11 -c _pydevd_frame_eval/pydevd_frame_evaluator.c -o build/temp.linux-ppc64el-3.11/_pydevd_frame_eval/pydevd_frame_evaluator.o -flto _pydevd_frame_eval/pydevd_frame_evaluator.c:721:10: fatal error: code.h: No such file or directory 721 | #include "code.h" | ^~~~~~~~ compilation terminated. running build running build_py package init file 'pydevd_attach_to_process/__init__.py' not found (or not a regular file) running egg_info writing pydevd.egg-info/PKG-INFO writing dependency_links to pydevd.egg-info/dependency_links.txt writing entry points to pydevd.egg-info/entry_points.txt writing top-level names to pydevd.egg-info/top_level.txt reading manifest file 'pydevd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pydevd.egg-info/SOURCES.txt' Plain-python version of pydevd installed (cython speedups not available). I: pybuild base:240: /usr/bin/python3 setup.py build running build running build_py copying pydev_app_engine_debug_startup.py -> /<>/.pybuild/cpython3_3.10_pydevd/build copying pydev_run_in_console.py -> /<>/.pybuild/cpython3_3.10_pydevd/build copying pydevconsole.py -> /<>/.pybuild/cpython3_3.10_pydevd/build copying pydevd_file_utils.py -> /<>/.pybuild/cpython3_3.10_pydevd/build copying pydevd.py -> /<>/.pybuild/cpython3_3.10_pydevd/build copying pydevd_tracing.py -> /<>/.pybuild/cpython3_3.10_pydevd/build copying setup_pydevd_cython.py -> /<>/.pybuild/cpython3_3.10_pydevd/build creating /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_console_utils.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_umd.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_sys_patch.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_override.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_tipper_common.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_monkey_qt.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_jy_imports_tipper.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_ipython_console.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_execfile.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_import_hook.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_completer.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_localhost.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_monkey.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_getopt.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_is_thread_alive.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_imports.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_saved_modules.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_filesystem_encoding.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_ipython_console_011.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_versioncheck.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_imports_tipper.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/pydev_log.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_log.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle copying _pydev_bundle/_pydev_calltip_util.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle creating /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/fsnotify copying _pydev_bundle/fsnotify/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/fsnotify creating /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_nose.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_xml_rpc.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_pytest2.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_unittest.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles copying _pydev_runfiles/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_coverage.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_parallel_client.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles copying _pydev_runfiles/pydev_runfiles_parallel.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles creating /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_bytecode_utils.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_extension_api.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_cython_wrapper.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_traceproperty.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_additional_thread_info_regular.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_dont_trace.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_extension_utils.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_save_locals.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_signature.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_breakpoints.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_trace_api.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_code_to_source.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_reload.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_constants.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_process_net_command.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_process_net_command_json.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_api.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_suspended_frames.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_xml.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_frame.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_defaults.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_timeout.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_additional_thread_info.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_vars.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_trace_dispatch.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_source_mapping.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_custom_frames.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_collect_bytecode_info.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_runpy.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_stackless.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_io.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_trace_dispatch_regular.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_dont_trace_files.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_plugin_utils.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_command_line_handling.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_daemon_thread.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_net_command.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_referrers.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_comm_constants.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_frame_utils.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_comm.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_utils.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_filtering.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_safe_repr.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_net_command_factory_json.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_thread_lifecycle.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_vm_type.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_console.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_resolver.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_net_command_factory_xml.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_json_debug_options.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevconsole_code.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_exec2.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_import_class.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_bundle/pydevd_gevent_integration.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle creating /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/pydevd_schema_log.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/pydevd_base_schema.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter copying _pydevd_bundle/_debug_adapter/pydevd_schema.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter creating /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser copying _pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser copying _pydevd_bundle/pydevd_concurrency_analyser/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser copying _pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser creating /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/pydevd_frame_tracing.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/pydevd_modify_bytecode.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/pydevd_frame_eval_main.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval copying _pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval creating /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhooktk.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhookgtk.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/qt.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhookqt4.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhookgtk3.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/qt_loaders.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhookqt5.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhook.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhookwx.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhookglut.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhookpyglet.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/qt_for_kernel.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/version.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/matplotlibtools.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython package init file 'pydevd_attach_to_process/__init__.py' not found (or not a regular file) creating /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/attach_pydevd.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/_test_attach_to_process.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/_test_attach_to_process_linux.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/attach_script.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/_always_live_program.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/_check.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process copying pydevd_attach_to_process/add_code_to_python_process.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process creating /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins copying pydevd_plugins/jinja2_debug.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins copying pydevd_plugins/pydevd_line_validation.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins copying pydevd_plugins/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins copying pydevd_plugins/django_debug.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins creating /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions copying pydevd_plugins/extensions/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions creating /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/pydevd_helpers.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types copying pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types running egg_info writing pydevd.egg-info/PKG-INFO writing dependency_links to pydevd.egg-info/dependency_links.txt writing entry points to pydevd.egg-info/entry_points.txt writing top-level names to pydevd.egg-info/top_level.txt reading manifest file 'pydevd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pydevd.egg-info/SOURCES.txt' copying _pydevd_bundle/pydevd_cython.c -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle copying _pydevd_frame_eval/pydevd_frame_evaluator.c -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval copying pydevd_attach_to_process/attach.so -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process creating /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/linux_and_mac copying pydevd_attach_to_process/linux_and_mac/lldb_prepare.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/linux_and_mac creating /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/breakpoint.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/compat.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/crash.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/debug.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/disasm.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/event.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/interactive.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/module.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/process.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/registry.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/search.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/sql.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/system.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/textio.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/thread.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/util.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg copying pydevd_attach_to_process/winappdbg/window.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg creating /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/advapi32.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/context_amd64.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/context_i386.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/dbghelp.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/defines.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/gdi32.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/kernel32.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/ntdll.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/peb_teb.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/psapi.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/shell32.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/shlwapi.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/user32.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/version.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 copying pydevd_attach_to_process/winappdbg/win32/wtsapi32.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32 running build_ext building '_pydevd_bundle.pydevd_cython' extension creating build/temp.linux-ppc64el-3.10 creating build/temp.linux-ppc64el-3.10/_pydevd_bundle powerpc64le-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE_MODULE=1 -I/usr/include/python3.10 -c _pydevd_bundle/pydevd_cython.c -o build/temp.linux-ppc64el-3.10/_pydevd_bundle/pydevd_cython.o -flto powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-3.10/_pydevd_bundle/pydevd_cython.o -o /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_cython.cpython-310-powerpc64le-linux-gnu.so -flto building '_pydevd_frame_eval.pydevd_frame_evaluator' extension creating build/temp.linux-ppc64el-3.10/_pydevd_frame_eval powerpc64le-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE_MODULE=1 -I/usr/include/python3.10 -c _pydevd_frame_eval/pydevd_frame_evaluator.c -o build/temp.linux-ppc64el-3.10/_pydevd_frame_eval/pydevd_frame_evaluator.o -flto _pydevd_frame_eval/pydevd_frame_evaluator.c: In function ‘__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_func_code_info’: _pydevd_frame_eval/pydevd_frame_evaluator.c:6221:133: warning: passing argument 3 of ‘_PyCode_GetExtra’ from incompatible pointer type [-Wincompatible-pointer-types] 6221 | (void)(_PyCode_GetExtra(((PyObject *)__pyx_v_code_obj), __pyx_v_18_pydevd_frame_eval_22pydevd_frame_evaluator__code_extra_index, (&__pyx_v_extra))); | ~^~~~~~~~~~~~~~~ | | | PyObject ** {aka struct _object **} In file included from /usr/include/python3.10/code.h:13, from /usr/include/python3.10/Python.h:103, from _pydevd_frame_eval/pydevd_frame_evaluator.c:24: /usr/include/python3.10/cpython/code.h:170:41: note: expected ‘void **’ but argument is of type ‘PyObject **’ {aka ‘struct _object **’} 170 | void **extra); | ~~~~~~~^~~~~ _pydevd_frame_eval/pydevd_frame_evaluator.c: In function ‘__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_16frame_eval_func’: _pydevd_frame_eval/pydevd_frame_evaluator.c:10235:39: warning: assignment to ‘_PyFrameEvalFunction’ {aka ‘struct _object * (*)(struct _ts *, struct _frame *, int)’} from incompatible pointer type ‘PyObject * (**)(PyThreadState *, PyFrameObject *, int)’ {aka ‘struct _object * (**)(struct _ts *, struct _frame *, int)’} [-Wincompatible-pointer-types] 10235 | __pyx_v_state->interp->eval_frame = ((_PyFrameEvalFunction *)__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytecode_while_frame_eval_39); | ^ _pydevd_frame_eval/pydevd_frame_evaluator.c:10255:39: warning: assignment to ‘_PyFrameEvalFunction’ {aka ‘struct _object * (*)(struct _ts *, struct _frame *, int)’} from incompatible pointer type ‘PyObject * (**)(PyThreadState *, PyFrameObject *, int)’ {aka ‘struct _object * (**)(struct _ts *, struct _frame *, int)’} [-Wincompatible-pointer-types] 10255 | __pyx_v_state->interp->eval_frame = ((_PyFrameEvalFunction *)__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytecode_while_frame_eval_38); | ^ powerpc64le-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-ppc64el-3.10/_pydevd_frame_eval/pydevd_frame_evaluator.o -o /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-powerpc64le-linux-gnu.so -flto txt2man -t pydevd -P pname -r "pydevd-2.8.0+git20220826.8ee4065+ds" -s 1 -v "" -d "July 2022" debian/manpage/pydevd.txt > debian/manpage/pydevd.1 make[1]: Leaving directory '/<>' debian/rules override_dh_auto_test make[1]: Entering directory '/<>' # * Various tests are ignored or excluded; see # debian/get_test_exclusions for details. # # * test_matplotlib_activation and test_pandas cause failures due # to a matplotlib warning (that does seem to be easily silenced) # if the build machine has too many fonts on it, so we skip then here # (but not in the autopkgtest suite) # # * The http_proxy settings are to disable the proxies that pybuild # introduces; the tests set up and use a local http server. export PYDEVD_USE_CYTHON=YES; \ export http_proxy=""; \ export PYBUILD_SYSTEM=custom; \ export PYBUILD_TEST_ARGS="\ cd {build_dir}; \ /<>/debian/run_tests {interpreter} -m pytest \ --deselect=tests_python/test_debugger.py::test_matplotlib_activation \ --deselect=tests_python/test_debugger_json.py::test_pandas \ $(debian/get_test_exclusions)"; \ xvfb-run -a dh_auto_test || true I: pybuild base:240: cd /<>/.pybuild/cpython3_3.11_pydevd/build; /<>/debian/run_tests python3.11 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload *** STARTING RUN 1: python3.11 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.11.0rc2+, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.11 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages site.getsitepackages(): ['/usr/local/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.11/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.11_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant PASSED [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code PASSED [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 PASSED [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots PASSED [ 2%] tests/test_check_pydevconsole.py::Test::test_server PASSED [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 PASSED [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 PASSED [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 PASSED [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 PASSED [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 PASSED [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 PASSED [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 PASSED [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print PASSED [ 6%] tests/test_pydevconsole.py::Test::test_console_async PASSED [ 6%] tests/test_pydevconsole.py::Test::test_console_hello PASSED [ 7%] tests/test_pydevconsole.py::Test::test_console_requests PASSED [ 7%] tests/test_pydevconsole.py::Test::test_server PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_search PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure PASSED [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread PASSED [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 PASSED [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (unconditional skip) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for SKIPPED (On Python 3.11 we just support collecting info from the AST.) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr PASSED [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method PASSED [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode PASSED [ 14%] tests_python/test_console.py::test_console_simple PASSED [ 14%] tests_python/test_console.py::test_console_debugger_connected PASSED [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities PASSED [ 14%] tests_python/test_convert_utilities.py::test_source_reference PASSED [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client PASSED [ 15%] tests_python/test_convert_utilities.py::test_relative_paths PASSED [ 15%] tests_python/test_convert_utilities.py::test_zip_paths PASSED [ 15%] tests_python/test_convert_utilities.py::test_source_mapping PASSED [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client PASSED [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server PASSED [ 15%] tests_python/test_debugger.py::test_case_referrers PASSED [ 15%] tests_python/test_debugger.py::test_case_2 PASSED [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] PASSED [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint PASSED [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint PASSED [ 17%] tests_python/test_debugger.py::test_case_3 PASSED [ 17%] tests_python/test_debugger.py::test_case_suspend_thread PASSED [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread PASSED [ 17%] tests_python/test_debugger.py::test_case_5 PASSED [ 17%] tests_python/test_debugger.py::test_case_6 PASSED [ 17%] tests_python/test_debugger.py::test_case_7 PASSED [ 17%] tests_python/test_debugger.py::test_case_8 PASSED [ 17%] tests_python/test_debugger.py::test_case_9 PASSED [ 18%] tests_python/test_debugger.py::test_case_10 PASSED [ 18%] tests_python/test_debugger.py::test_case_11 PASSED [ 18%] tests_python/test_debugger.py::test_case_12 PASSED [ 18%] tests_python/test_debugger.py::test_case_13 PASSED [ 18%] tests_python/test_debugger.py::test_case_14 PASSED [ 18%] tests_python/test_debugger.py::test_case_15 PASSED [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array PASSED [ 18%] tests_python/test_debugger.py::test_case_17 PASSED [ 19%] tests_python/test_debugger.py::test_case_17a PASSED [ 19%] tests_python/test_debugger.py::test_case_18 PASSED [ 19%] tests_python/test_debugger.py::test_case_19 PASSED [ 19%] tests_python/test_debugger.py::test_case_20 PASSED [ 19%] tests_python/test_debugger.py::test_case_flask PASSED [ 19%] tests_python/test_debugger.py::test_case_django_a PASSED [ 19%] tests_python/test_debugger.py::test_case_django_b PASSED [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception PASSED [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error PASSED [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] PASSED [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] PASSED [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions PASSED [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] PASSED [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] PASSED [ 20%] tests_python/test_debugger.py::test_cython PASSED [ 20%] tests_python/test_debugger.py::test_case_qthread1 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread2 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread3 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread4 FAILED [ 21%] tests_python/test_debugger.py::test_m_switch PASSED [ 21%] tests_python/test_debugger.py::test_module_entry_point PASSED [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions PASSED [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] PASSED [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] PASSED [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] PASSED [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 PASSED [ 22%] tests_python/test_debugger.py::test_case_set_next_statement PASSED [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack PASSED [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml PASSED [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets PASSED [ 23%] tests_python/test_debugger.py::test_case_type_ext PASSED [ 23%] tests_python/test_debugger.py::test_case_event_ext PASSED [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock PASSED [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions PASSED [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 PASSED [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 PASSED [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 PASSED [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 PASSED [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 PASSED [ 24%] tests_python/test_debugger.py::test_case_settrace PASSED [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output PASSED [ 25%] tests_python/test_debugger.py::test_path_translation[False] PASSED [ 25%] tests_python/test_debugger.py::test_linecache_xml PASSED [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml PASSED [ 25%] tests_python/test_debugger.py::test_evaluate_errors PASSED [ 25%] tests_python/test_debugger.py::test_list_threads PASSED [ 25%] tests_python/test_debugger.py::test_case_print PASSED [ 25%] tests_python/test_debugger.py::test_case_lamdda PASSED [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline PASSED [ 26%] tests_python/test_debugger.py::test_case_method_single_line PASSED [ 26%] tests_python/test_debugger.py::test_case_suspension_policy PASSED [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack PASSED [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr PASSED [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular PASSED [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] PASSED [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] PASSED [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] PASSED [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch PASSED [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point PASSED [ 27%] tests_python/test_debugger.py::test_debug_zip_files PASSED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] PASSED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] PASSED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] PASSED [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] PASSED [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] PASSED [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] PASSED [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] PASSED [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] PASSED [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic PASSED [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads PASSED [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote PASSED [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] PASSED [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] PASSED [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct PASSED [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step PASSED [ 30%] tests_python/test_debugger.py::test_reload PASSED [ 30%] tests_python/test_debugger.py::test_custom_frames PASSED [ 30%] tests_python/test_debugger.py::test_gevent SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_remote SKIPPED (Gevent not installed.) [ 31%] tests_python/test_debugger.py::test_return_value PASSED [ 31%] tests_python/test_debugger.py::test_gettr_warning PASSED [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] PASSED [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] PASSED [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] PASSED [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] PASSED [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] PASSED [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] PASSED [ 32%] tests_python/test_debugger.py::test_step_return_my_code PASSED [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_step_over_my_code PASSED [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file PASSED [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] PASSED [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] PASSED [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] PASSED [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] PASSED [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] PASSED [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] PASSED [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] PASSED [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include PASSED [ 35%] tests_python/test_debugger.py::test_access_token PASSED [ 35%] tests_python/test_debugger.py::test_namedtuple PASSED [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] PASSED [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] PASSED [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_in PASSED [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] PASSED [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] PASSED [ 37%] tests_python/test_debugger.py::test_notify_stdin PASSED [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] PASSED [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] PASSED [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] PASSED [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error PASSED [ 40%] tests_python/test_debugger_json.py::test_case_process_event PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks PASSED [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator PASSED [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason PASSED [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks PASSED [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] PASSED [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] PASSED [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] PASSED [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop PASSED [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] PASSED [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] PASSED [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] PASSED [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type PASSED [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol PASSED [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol PASSED [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped PASSED [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step PASSED [ 44%] tests_python/test_debugger_json.py::test_case_update_rules PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_completions_json PASSED [ 45%] tests_python/test_debugger_json.py::test_modules PASSED [ 46%] tests_python/test_debugger_json.py::test_dict_ordered PASSED [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict PASSED [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name PASSED [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure PASSED [ 46%] tests_python/test_debugger_json.py::test_getattr_warning PASSED [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl PASSED [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy PASSED [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling PASSED [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling PASSED [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl PASSED [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard PASSED [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir PASSED [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] PASSED [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] PASSED [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] PASSED [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] PASSED [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] PASSED [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] PASSED [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references PASSED [ 49%] tests_python/test_debugger_json.py::test_set_expression PASSED [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures PASSED [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors PASSED [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure PASSED [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] PASSED [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] PASSED [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] PASSED [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] PASSED [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case PASSED [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables PASSED [ 50%] tests_python/test_debugger_json.py::test_hex_variables PASSED [ 50%] tests_python/test_debugger_json.py::test_stopped_event PASSED [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue PASSED [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] PASSED [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] PASSED [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] PASSED [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] PASSED [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] PASSED [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] PASSED [ 51%] tests_python/test_debugger_json.py::test_stepping PASSED [ 51%] tests_python/test_debugger_json.py::test_evaluate PASSED [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures PASSED [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace PASSED [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] PASSED [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] PASSED [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] PASSED [ 52%] tests_python/test_debugger_json.py::test_stack_levels PASSED [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment PASSED [ 52%] tests_python/test_debugger_json.py::test_goto PASSED [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] PASSED [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] PASSED [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] PASSED [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code PASSED [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target PASSED [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy PASSED [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach PASSED [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python SKIPPED (Gevent not installed.) [ 55%] tests_python/test_debugger_json.py::test_notify_gevent SKIPPED (Gevent not installed / Sometimes the debugger crashes on Windows as the compiled extensions conflict with gevent.) [ 55%] tests_python/test_debugger_json.py::test_ppid PASSED [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference PASSED [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file PASSED [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file PASSED [ 55%] tests_python/test_debugger_json.py::test_linecache_json PASSED [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json PASSED [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] PASSED [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] PASSED [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation PASSED [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation PASSED [ 56%] tests_python/test_debugger_json.py::test_redirect_output PASSED [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages PASSED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic PASSED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] PASSED [ 57%] tests_python/test_debugger_json.py::test_module_crash PASSED [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] PASSED [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] PASSED [ 59%] tests_python/test_debugger_json.py::test_access_token PASSED [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry PASSED [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 PASSED [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] PASSED [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] PASSED [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom PASSED [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (PySide2 not available) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] PASSED [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] PASSED [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages PASSED [ 60%] tests_python/test_debugger_json.py::test_send_json_message PASSED [ 60%] tests_python/test_debugger_json.py::test_global_scope PASSED [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] PASSED [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] PASSED [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] PASSED [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] PASSED [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive PASSED [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic PASSED [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async PASSED [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename PASSED [ 63%] tests_python/test_debugger_json.py::test_replace_process PASSED [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] PASSED [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] PASSED [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic PASSED [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in PASSED [ 63%] tests_python/test_debugger_json.py::test_logging_api FAILED [ 63%] tests_python/test_dump_threads.py::test_dump_threads PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval PASSED [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error PASSED [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval PASSED [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error PASSED [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling PASSED [ 65%] tests_python/test_extract_token.py::test_isidentifier PASSED [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier PASSED [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 PASSED [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 PASSED [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 PASSED [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_null.py::test_null PASSED [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine PASSED [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 PASSED [ 68%] tests_python/test_pydev_monkey.py::test_monkey PASSED [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows PASSED [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args PASSED [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc PASSED [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg PASSED [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin PASSED [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_filtering PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter PASSED [ 73%] tests_python/test_pydevd_io.py::test_io_redirector PASSED [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin PASSED [ 73%] tests_python/test_pydevd_io.py::test_debug_console PASSED [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic PASSED [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] PASSED [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] PASSED [ 73%] tests_python/test_resolvers.py::test_dict_resolver PASSED [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex PASSED [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple PASSED [ 74%] tests_python/test_resolvers.py::test_object_resolver_error PASSED [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error PASSED [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings PASSED [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver PASSED [ 74%] tests_python/test_resolvers.py::test_tuple_resolver PASSED [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed PASSED [ 75%] tests_python/test_run.py::test_run PASSED [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath PASSED [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types PASSED [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr PASSED [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small PASSED [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large PASSED [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged PASSED [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed PASSED [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged PASSED [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed PASSED [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small PASSED [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large PASSED [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat PASSED [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested PASSED [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary PASSED [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive PASSED [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (unsupported) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (unsupported) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (unsupported) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested PASSED [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat PASSED [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary PASSED [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (unsupported) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (unsupported) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive PASSED [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive PASSED [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small PASSED [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only PASSED [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start PASSED [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr PASSED [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large PASSED [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr PASSED [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr PASSED [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items PASSED [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item PASSED [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 PASSED [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 PASSED [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros PASSED [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] PASSED [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] PASSED [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] PASSED [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] PASSED [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] PASSED [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] PASSED [ 82%] tests_python/test_safe_repr.py::test_raw_bytes PASSED [ 82%] tests_python/test_safe_repr.py::test_raw_unicode PASSED [ 82%] tests_python/test_safe_repr.py::test_no_repr PASSED [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame PASSED [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars PASSED [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars PASSED [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change PASSED [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals PASSED [ 83%] tests_python/test_schema.py::test_schema PASSED [ 83%] tests_python/test_schema.py::test_schema_translation_frame PASSED [ 83%] tests_python/test_schema.py::test_schema_translation_thread PASSED [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager PASSED [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables PASSED [ 91%] tests_python/test_timeout_tracker.py::test_timeout PASSED [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time PASSED [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback PASSED [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] PASSED [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] PASSED [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate PASSED [ 95%] tests_python/test_utilities.py::test_is_main_thread PASSED [ 95%] tests_python/test_utilities.py::test_find_thread PASSED [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression PASSED [ 95%] tests_python/test_utilities.py::test_pydevd_log PASSED [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files PASSED [ 95%] tests_python/test_utilities.py::test_tracing_other_threads PASSED [ 96%] tests_python/test_utilities.py::test_tracing_basic PASSED [ 96%] tests_python/test_utilities.py::test_find_main_thread_id PASSED [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify SKIPPED (Gevent not installed.) [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset PASSED [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd PASSED [ 96%] tests_python/test_utilities.py::test_import_token_from_module PASSED [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property PASSED [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 PASSED [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 PASSED [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it PASSED [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories PASSED [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str PASSED [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify PASSED [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication PASSED [100%] =================================== FAILURES =================================== ______________________________ test_case_qthread1 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a723bca50> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7a2a723bca50> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): with case_setup.test_file('_debugger_case_qthread1.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x7a2a723016c0> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7a2a723016c0> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7a2a723bca50> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): > with case_setup.test_file('_debugger_case_qthread1.py') as writer: tests_python/test_debugger.py:1169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing 0\...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing 0\n', 'Increasing 1\n', 'Increasing 2\n', 'Increasing 3\n', 'Increasing 4\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing 0 E Increasing 1 E Increasing 2 E Increasing 3 E Increasing 4 E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None E write_add_breakpoint: 1 line: 22 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_case_qthread10/pydevd_debug_file_8864.9478.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '45147', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 9478 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 45147 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py Logging to: /tmp/pytest-of-buildd/pytest-0/test_case_qthread10/pydevd_debug_file_8864.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 37444) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '103\t4\t' stdout: Increasing 0 stdout: Increasing 1 stdout: Increasing 2 stdout: Increasing 3 stdout: Increasing 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_9478_id_131570471522192 Test Reader Thread Received 104 6 pid_9478_id_131570471522192 Message returned in get_next_message(): 104 6 pid_9478_id_131570471522192 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '104\t6\tpid_9478_id_131570471522192' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread2 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a337cd290> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7a2a337cd290> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): with case_setup.test_file('_debugger_case_qthread2.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'long_running') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x7a2a701a3380> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7a2a701a3380> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7a2a337cd290> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): > with case_setup.test_file('_debugger_case_qthread2.py') as writer: tests_python/test_debugger.py:1187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None E write_add_breakpoint: 1 line: 27 func: long_running E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_case_qthread20/pydevd_debug_file_8864.9490.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '39235', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 9490 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 39235 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py Logging to: /tmp/pytest-of-buildd/pytest-0/test_case_qthread20/pydevd_debug_file_8864.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 54824) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_9490_id_133684550356880 Test Reader Thread Received 104 6 pid_9490_id_133684550356880 Message returned in get_next_message(): 104 6 pid_9490_id_133684550356880 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '104\t6\tpid_9490_id_133684550356880' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread3 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a33636010> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7a2a33636010> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): with case_setup.test_file('_debugger_case_qthread3.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1210: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x7a2a72459260> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7a2a72459260> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7a2a33636010> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): > with case_setup.test_file('_debugger_case_qthread3.py') as writer: tests_python/test_debugger.py:1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None E write_add_breakpoint: 1 line: 25 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_case_qthread30/pydevd_debug_file_8864.9502.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '37953', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 9502 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 37953 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py Logging to: /tmp/pytest-of-buildd/pytest-0/test_case_qthread30/pydevd_debug_file_8864.txt Waiting in socket.accept() Both processes started Test Writer Thread Socket: ('127.0.0.1', 43204) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_9502_id_124762989514640 Test Reader Thread Received 104 6 pid_9502_id_124762989514640 Message returned in get_next_message(): 104 6 pid_9502_id_124762989514640 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '104\t6\tpid_9502_id_124762989514640' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread4 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a54491110> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7a2a54491110> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): with case_setup.test_file('_debugger_case_qthread4.py') as writer: original_additional_output_checks = writer.additional_output_checks def additional_output_checks(stdout, stderr): original_additional_output_checks(stdout, stderr) if 'On start called' not in stdout: raise AssertionError('Expected "On start called" to be in stdout:\n%s' % (stdout,)) if 'Done sleeping' not in stdout: raise AssertionError('Expected "Done sleeping" to be in stdout:\n%s' % (stdout,)) if 'native Qt signal is not callable' in stderr: raise AssertionError('Did not expect "native Qt signal is not callable" to be in stderr:\n%s' % (stderr,)) breakpoint_id = writer.write_add_breakpoint(28, 'on_start') # breakpoint on print('On start called2'). writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x7a2a724a4180> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7a2a724a4180> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7a2a54491110> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): > with case_setup.test_file('_debugger_case_qthread4.py') as writer: tests_python/test_debugger.py:1226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nOn start call...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['On start called1\n', 'On start called2\n', 'Done sleeping\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E On start called1 E On start called2 E Done sleeping E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None E write_add_breakpoint: 1 line: 28 func: on_start E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_case_qthread40/pydevd_debug_file_8864.9514.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '36135', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 9514 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 36135 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py Logging to: /tmp/pytest-of-buildd/pytest-0/test_case_qthread40/pydevd_debug_file_8864.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 43032) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '103\t4\t' stdout: On start called1 stdout: On start called2 stdout: Done sleeping stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_9514_id_126809040736144 Test Reader Thread Received 104 6 pid_9514_id_126809040736144 Message returned in get_next_message(): 104 6 pid_9514_id_126809040736144 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '104\t6\tpid_9514_id_126809040736144' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ___________ test_multiprocessing_simple[_debugger_case_python_c.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a5445bb90> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a723cbb00> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7a2a5445bb90> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(file_to_check) as writer: break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') writer.write_add_breakpoint(break1_line) writer.write_add_breakpoint(break2_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break1_line) writer2.write_add_breakpoint(break2_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() hit2 = writer.wait_for_breakpoint_hit() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2583: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7a2a5445bb90> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(file_to_check) as writer: tests_python/test_debugger.py:2535: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None E write_add_breakpoint: 1 line: 10 func: None E write: CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None E write_add_breakpoint: 2 line: 21 func: None E write: CMD_RUN: 101 7 E write_make_initial_run E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_multiprocessing_simple__d2/pydevd_debug_file_8864.10171.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '38817', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 10171 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 38817 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py Logging to: /tmp/pytest-of-buildd/pytest-0/test_multiprocessing_simple__d2/pydevd_debug_file_8864.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 59814) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None Test Writer Thread Written CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None Test Writer Thread Written CMD_RUN: 101 7 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '103\t4\t' Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2583, in test_multiprocessing_simple raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ____________ test_subprocess_quoted_args[_debugger_case_quoting.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a54665810> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a7025a3e0> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7a2a54665810> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7a2a54665810> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nbreak here\nTEST SUC...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['break here\n', 'TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E break here E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None E write_add_breakpoint: 1 line: 23 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_quoted_args__d0/pydevd_debug_file_8864.10372.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '39561', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 10372 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 39561 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py Logging to: /tmp/pytest-of-buildd/pytest-0/test_subprocess_quoted_args__d0/pydevd_debug_file_8864.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 56320) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: break here stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_10372_id_124349994749968 Test Reader Thread Received 104 6 pid_10372_id_124349994749968 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ________ test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] _________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a7012d790> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a723caf20> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7a2a7012d790> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7a2a7012d790> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None E write_add_breakpoint: 1 line: 18 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_quoted_args__d1/pydevd_debug_file_8864.10385.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '37131', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 10385 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 37131 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py Logging to: /tmp/pytest-of-buildd/pytest-0/test_subprocess_quoted_args__d1/pydevd_debug_file_8864.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 52368) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_10385_id_132038218731472 Test Reader Thread Received 104 6 pid_10385_id_132038218731472 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '45919'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a723bef50> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a70258040> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a723bef50> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7a2a70259e40> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a723bef50> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 45919 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_no_threads_0/pydevd_debug_file_8864.txt Both processes started Running: gdb --nw --nh --nx --pid 10399 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=45919, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '41079'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a54487b50> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a70258ae0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a54487b50> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7a2a7025ae80> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a54487b50> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 41079 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_no_threads_1/pydevd_debug_file_8864.txt Both processes started Running: gdb --nw --nh --nx --pid 10413 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=41079, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '39281'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a541a4450> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a723caf20> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a541a4450> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7a2a723c9a80> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a541a4450> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 133300973356320\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 133300973356320\n', 'Secondary thread ident should be: 133300965142816\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 133300973356320 E Secondary thread ident should be: 133300965142816 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 39281 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_halted0/pydevd_debug_file_8864.txt Both processes started stdout: Main thread ident should be: 133300973356320 stdout: Secondary thread ident should be: 133300965142816 Running: gdb --nw --nh --nx --pid 10427 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=39281, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_remote_debugger_multi_proc[True] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '39005', '--access-token', 'tok123', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a73763250> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = 'tok123', client_access_token = 'tok456' append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x7a2a70259a80>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a7025bec0> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a73763250> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a73763250> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E write: CMD_AUTHENTICATE: 205 5 tok123 E write: CMD_RUN: 101 7 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 4 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 9 pid_10497_id_127613943359184 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_remote_debugger_multi_pro0/pydevd_debug_file_8864.10497.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:39005 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.05s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.00s - debugger: received >>205 5 tok123<< E E 0.00s - Received command: CMD_AUTHENTICATE 205 5 tok123 E E 0.00s - sending cmd (quoted-line) --> CMD_AUTHENTICATE tok456 E E 0.00s - debugger: received >>101 7 << E E 0.00s - Received command: CMD_RUN 101 7 E E 0.05s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 127613952476448)>, thread id: pid_10497_id_127613943359184, id(thread): 127613943359184 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 9 pid_10497_id_127613943359184<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_10497_id_127613943359184 E E 0.00s - Resuming threads: pid_10497_id_127613943359184 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_10497_id_127613943359184 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 127613952476448)> (pid_10497_id_127613943359184) 127613943359184 E 0.28s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E E -------------------- /tmp/pytest-of-buildd/pytest-0/test_remote_debugger_multi_pro0/pydevd_debug_file_8864.10513.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 39005 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-0/test_remote_debugger_multi_pro0/pydevd_debug_file_8864.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 45462) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 901 1 Client not authenticated. Test Reader Thread Received 901 1 Client not authenticated. Test Writer Thread Written CMD_RUN: 101 3 Message returned in get_next_message(): 901 1 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2984, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_AUTHENTICATE: 205 5 tok123 Test Reader Thread Received 901 3 Client not authenticated. Test Reader Thread Received 901 3 Client not authenticated. Message returned in get_next_message(): 901 3 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Ignored message: '901\t3\tClient not authenticated.' Test Reader Thread Received 205 5 tok456 Test Reader Thread Received 205 5 tok456 Message returned in get_next_message(): 205 5 tok456 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_RUN: 101 7 Test Reader Thread Received 105 4 Test Reader Thread Received 105 4 Message returned in get_next_message(): 105 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 9 pid_10497_id_127613943359184 Test Reader Thread Received 106 6 pid_10497_id_127613943359184 -1 Test Reader Thread Received 106 6 pid_10497_id_127613943359184 -1 stdout: after pydevd.settrace stdout: before call stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ____________________ test_remote_debugger_multi_proc[False] ____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '38343'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a73761050> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x7a2a70259940>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a7025be20> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a73761050> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a73761050> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 5 pid_10515_id_134598067889488 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_remote_debugger_multi_pro1/pydevd_debug_file_8864.10515.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:38343 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_VERSION @@BUILD_NUMBER@@ E E 0.00s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.10s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_CREATE E E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 134598077007136)>, thread id: pid_10515_id_134598067889488, id(thread): 134598067889488 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 5 pid_10515_id_134598067889488<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_10515_id_134598067889488 E E 0.00s - Resuming threads: pid_10515_id_134598067889488 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_10515_id_134598067889488 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 134598077007136)> (pid_10515_id_134598067889488) 134598067889488 E 0.23s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_10515_id_134598067889488 E E 0.05s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-0/test_remote_debugger_multi_pro1/pydevd_debug_file_8864.10531.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 38343 Logging to: /tmp/pytest-of-buildd/pytest-0/test_remote_debugger_multi_pro1/pydevd_debug_file_8864.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 56642) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_RUN: 101 3 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '103\t4\t' Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 5 pid_10515_id_134598067889488 Test Reader Thread Received 106 8 pid_10515_id_134598067889488 -1 Test Reader Thread Received 106 8 pid_10515_id_134598067889488 -1 stdout: after pydevd.settrace stdout: before call stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py Test Reader Thread Received 104 10 pid_10515_id_134598067889488 Test Reader Thread Received 104 10 pid_10515_id_134598067889488 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '43595'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a545d0fd0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a543e71a0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a545d0fd0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7a2a543e77e0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a545d0fd0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 43595 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_True_0/pydevd_debug_file_8864.txt Both processes started Running: gdb --nw --nh --nx --pid 13606 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=43595, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '44355'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a336aa090> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a54408900> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a336aa090> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7a2a543e6f20> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a336aa090> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 44355 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_False_0/pydevd_debug_file_8864.txt Both processes started Running: gdb --nw --nh --nx --pid 13619 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=44355, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_subprocess_pydevd_customization[] ____________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '39393'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a336ab510> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = [] kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a54394720> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a336ab510> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x7a2aaf580cc0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x7a2a543e5620> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a336ab510> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi0/pydevd_debug_file_8864.13657.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '39393'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:39393 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13657, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 136058933626144)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 136058933626144)>, thread id: pid_13657_id_136058924645904, id(thread): 136058924645904 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 136058933626144)> (pid_13657_id_136058924645904) 136058924645904 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.23s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.05s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi0/pydevd_debug_file_8864.13674.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 39393 Logging to: /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi0/pydevd_debug_file_8864.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 58888) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13657, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13657, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13657, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--use-c-switch] _____________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '38923', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a3031fa10> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--use-c-switch', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a54395bc0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a3031fa10> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x7a2aaf580cc0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x7a2a336089a0> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a3031fa10> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi1/pydevd_debug_file_8864.13676.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '38923', '-', '-', 'u', 's', 'e', '-', 'c', '-', 's', 'w', 'i', 't', 'c', 'h'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:38923 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.04s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13676, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 134958303298848)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 134958303298848)>, thread id: pid_13676_id_134958294318608, id(thread): 134958294318608 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 134958303298848)> (pid_13676_id_134958294318608) 134958294318608 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.24s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.04s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.50s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi1/pydevd_debug_file_8864.13693.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept()executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 38923 - - u s e - c - s w i t c h Logging to: /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi1/pydevd_debug_file_8864.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 55862) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13676, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13676, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13676, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--posix-spawn] ______________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '42777', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a30416d10> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--posix-spawn', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a33608ae0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7a2a30416d10> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x7a2aaf580cc0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x7a2a33609f80> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7a2a30416d10> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi2/pydevd_debug_file_8864.13695.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.12s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '42777', '-', '-', 'p', 'o', 's', 'i', 'x', '-', 's', 'p', 'a', 'w', 'n'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:42777 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.03s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13695, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 139685378737440)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 139685378737440)>, thread id: pid_13695_id_139685369757200, id(thread): 139685369757200 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 139685378737440)> (pid_13695_id_139685369757200) 139685369757200 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.24s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.04s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi2/pydevd_debug_file_8864.13712.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 42777 - - p o s i x - s p a w n Logging to: /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi2/pydevd_debug_file_8864.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 46488) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13695, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13695, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 13695, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502}Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** __________________________ test_subprocess_then_fork ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a300cced0> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a543e7560> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7a2a300cced0> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: json_facade = JsonFacade(writer) json_facade.write_launch(justMyCode=False) break_line = writer.get_line_index_with_content('break here') json_facade.write_set_breakpoints([break_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note that we accept 2 connections and then we proceed to receive the breakpoints. json_facades = [] for i in range(2): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess %s waiting on server_socket.accept()' % (i,)) new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess %s completed server_socket.accept()' % (i,)) reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess %s Reader Thread' % i reader_thread.start() writer.log.append(' *** Multiprocess %s started ReaderThread' % (i,)) writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess %s write: ' % i writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) writer.log.append(' *** Multiprocess %s write attachThread' % (i,)) json_facade2.write_attach(justMyCode=False) writer.log.append(' *** Multiprocess %s write set breakpoints' % (i,)) json_facade2.write_set_breakpoints([break_line]) writer.log.append(' *** Multiprocess %s write make initial run' % (i,)) json_facade2.write_make_initial_run() json_facades.append(json_facade2) for i, json_facade3 in enumerate(json_facades): writer.log.append(' *** Multiprocess %s wait for thread stopped' % (i,)) json_facade3.wait_for_thread_stopped(line=break_line) writer.log.append(' *** Multiprocess %s continue' % (i,)) json_facade3.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(20) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:4925: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7a2a300cced0> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: tests_python/test_debugger_json.py:4864: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} E *** Multiprocess 0 waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_then_fork0/pydevd_debug_file_8864.13714.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '44527', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 13714 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 44527 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py Logging to: /tmp/pytest-of-buildd/pytest-0/test_subprocess_then_fork0/pydevd_debug_file_8864.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 41086) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 319 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 13714, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 13714, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 13714, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} Test Reader Thread Received Content-Length: 360 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4869, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4921, in test_subprocess_then_fork Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4925, in test_subprocess_then_fork raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ______________________ test_no_subprocess_patching[True] _______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2ab354f2d0> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0x7a2a33609d00>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a33608720> key = 'update_command_line_args' value = .update_command_line_args at 0x7a2a33609d00> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7a2ab354f2d0> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:5001: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7a2ab354f2d0> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret > with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: tests_python/test_debugger_json.py:4945: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_no_subprocess_patching_Tr0/pydevd_debug_file_8864.13728.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '38395', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 13728 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 38395 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py apply-multiprocessing-patch Logging to: /tmp/pytest-of-buildd/pytest-0/test_no_subprocess_patching_Tr0/pydevd_debug_file_8864.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 54722) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 13728, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 13728, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 13728, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}'Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} Test Reader Thread Received Content-Length: 585 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4954, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4994, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} Test Reader Thread Received Content-Length: 305 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 417 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502}Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} stdout: TEST SUCEEDED! Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502} Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 24, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 26, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 5001, in test_no_subprocess_patching raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _______________________________ test_logging_api _______________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7a2a544197d0> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0x7a2a336c2520>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7a2a336c3100> key = 'get_environ' value = .get_environ at 0x7a2a336c2520> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7a2a544197d0> tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content("break on 2nd process") json_facade.write_set_breakpoints([break1_line]) server_socket = writer.server_socket secondary_finished_ok = [False] class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, ]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_finished_ok[0] = True secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:6367: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7a2a544197d0> tmpdir = local('/tmp/pytest-of-buildd/pytest-0/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env > with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: tests_python/test_debugger_json.py:6318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...d/pytest-0/test_logging_api0/pydevd_debug_file_8864.14400.txt ------------------\n\n0.00s - Something in print-debug\n' stdout = [] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...un(setup['file'], None, None, is_module)\n", ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main E globals = debugger.run(setup['file'], None, None, is_module) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run E return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec E globals = pydevd_runpy.run_path(file, globals, '__main__') E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path E return _run_module_code(code, init_globals, run_name, E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code E _run_code(code, mod_globals, init_globals, E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code E exec(code, run_globals) E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in E log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-0/test_logging_api0/pydevd_in_test_logging.14400.log' E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-0/test_logging_api0/pydevd_debug_file_8864.14389.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '40885', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 14389 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False E E -------------------- /tmp/pytest-of-buildd/pytest-0/test_logging_api0/pydevd_debug_file_8864.14400.txt ------------------ E E 0.00s - Something in print-debug tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 40885 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py Logging to: /tmp/pytest-of-buildd/pytest-0/test_logging_api0/pydevd_debug_file_8864.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 44232) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 307 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 14389, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 14389, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 14389, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} Test Reader Thread Received Content-Length: 349 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6326, in test_logging_api Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6364, in test_logging_api Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 14, "pydevd_cmd_id": 104} Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 16, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main stderr: globals = debugger.run(setup['file'], None, None, is_module) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run stderr: return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec stderr: globals = pydevd_runpy.run_path(file, globals, '__main__') stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path stderr: return _run_module_code(code, init_globals, run_name, stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code stderr: _run_code(code, mod_globals, init_globals, stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code stderr: exec(code, run_globals) stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in stderr: log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-0/test_logging_api0/pydevd_in_test_logging.14400.log' *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6367, in test_logging_api raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87 /usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87: DeprecationWarning: module 'sre_constants' is deprecated import sre_constants ../../../../../../usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15 /usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 from cgi import parse_header ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:49 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_fixtures.py:49: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_pydevd_io.py:123 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_pydevd_io.py:123: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:121 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_tracing_on_top_level.py:121: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests/test_check_pydevconsole.py::Test::test_server /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_ipython_console_011.py:95: DeprecationWarning: The `use_readline` parameter is deprecated and ignored since IPython 6.0. IPCompleter.__init__(self, *args, **kwargs) tests/test_check_pydevconsole.py::Test::test_server /usr/lib/python3/dist-packages/django/utils/encoding.py:266: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead encoding = locale.getdefaultlocale()[1] or 'ascii' tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches /usr/lib/python3/dist-packages/IPython/core/completer.py:1976: PendingDeprecationWarning: `Completer.complete` is pending deprecation since IPython 6.0 and will be replaced by `Completer.completions`. warnings.warn('`Completer.complete` is pending deprecation since ' tests/test_pydev_ipython_011.py::TestRunningCode::test_edit /usr/lib/python3/dist-packages/IPython/core/interactiveshell.py:2766: UserWarning: Could not open file >/.pybuild/cpython3_3.11_pydevd/build/made_up_file.py> for safe execution. warn('Could not open file <%s> for safe execution.' % fname) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_case_qthread1 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread2 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread3 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread4 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED tests_python/test_debugger_json.py::test_subprocess_then_fork - Assert... FAILED tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED tests_python/test_debugger_json.py::test_logging_api - AssertionError:... = 20 failed, 635 passed, 133 skipped, 8 deselected, 15 warnings in 927.43s (0:15:27) = , 1)> , 1)> , 1)> , 1)> =============================================================================== pydev pyunit runner: Threads still found running after tests finished ================================= Thread Dump ================================= ------------------------------------------------------------------------------- Thread Thread-1535 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/conftest.py", line 118, in run for filename, lineno, name, line in traceback.extract_stack(stack): ------------------------------------------------------------------------------- Thread 134320572068128 File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py", line 49, in run self._on_run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_timeout.py", line 43, in _on_run self._event.wait(wait_time) File "/usr/lib/python3.11/threading.py", line 622, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.11/threading.py", line 320, in wait waiter.acquire() ------------------------------------------------------------------------------- Thread 134320597430560 File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py", line 49, in run self._on_run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_timeout.py", line 43, in _on_run self._event.wait(wait_time) File "/usr/lib/python3.11/threading.py", line 622, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.11/threading.py", line 320, in wait waiter.acquire() ------------------------------------------------------------------------------- Thread Test Reader Thread (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 281, in run line = self._read_line() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 271, in _read_line r = self.sock.recv(1024) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_fixtures.py", line 28, in recv return self._sock_for_reader_thread.recv(*args, **kwargs) ------------------------------------------------------------------------------- Thread Test Reader Thread (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 281, in run line = self._read_line() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 271, in _read_line r = self.sock.recv(1024) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_fixtures.py", line 28, in recv return self._sock_for_reader_thread.recv(*args, **kwargs) ------------------------------------------------------------------------------- Thread Thread-1520 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6342, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-1340 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4972, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-1335 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4889, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-1330 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-1325 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-1320 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-1308 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-1304 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-788 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-785 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-496 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-491 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-471 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-467 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-463 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-462 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-457 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-410 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2558, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-17 (serve_forever) (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread Thread-13 (serve_forever) (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread Thread-11 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests/test_pydevconsole.py", line 184, in run client_server.serve_forever() File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread 134322283606304 File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevconsole.py", line 400, in start_console_server server.serve_forever() File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread Thread-10 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests/test_pydevconsole.py", line 242, in run pydevconsole.start_server(pydev_localhost.get_localhost(), self.server_port, self.client_port) File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevconsole.py", line 432, in start_server process_exec_queue(interpreter) File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevconsole.py", line 283, in process_exec_queue code_fragment = interpreter.exec_queue.get(block=True, timeout=1 / 20.) # 20 calls/second File "/usr/lib/python3.11/queue.py", line 180, in get self.not_empty.wait(remaining) File "/usr/lib/python3.11/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ------------------------------------------------------------------------------- Thread Thread-9 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests/test_pydevconsole.py", line 184, in run client_server.serve_forever() File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread Thread-8 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests/test_pydevconsole.py", line 184, in run client_server.serve_forever() File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread Thread-6 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests/test_pydevconsole.py", line 184, in run client_server.serve_forever() File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread Thread-5 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests/test_pydev_ipython_011.py", line 225, in run client_server.serve_forever() File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread 134322753368352 File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevconsole.py", line 400, in start_console_server server.serve_forever() File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread Thread-3 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests/test_check_pydevconsole.py", line 51, in run client_server.serve_forever() File "/usr/lib/python3.11/socketserver.py", line 233, in serve_forever ready = selector.select(poll_interval) File "/usr/lib/python3.11/selectors.py", line 415, in select fd_event_list = self._selector.poll(timeout) ------------------------------------------------------------------------------- Thread Thread-2 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests/test_check_pydevconsole.py", line 85, in run pydevconsole.start_server(pydev_localhost.get_localhost(), self.server_port, self.client_port) File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevconsole.py", line 432, in start_server process_exec_queue(interpreter) File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevconsole.py", line 283, in process_exec_queue code_fragment = interpreter.exec_queue.get(block=True, timeout=1 / 20.) # 20 calls/second File "/usr/lib/python3.11/queue.py", line 180, in get self.not_empty.wait(remaining) File "/usr/lib/python3.11/threading.py", line 324, in wait gotit = waiter.acquire(True, timeout) ------------------------------------------------------------------------------- Thread MainThread (daemon: False) File "/usr/lib/python3.11/threading.py", line 1583, in _shutdown lock.acquire() =============================== END Thread Dump ===============================*** END OF RUN 1: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** STARTING RUN 2: python3.11 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.11.0rc2+, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.11 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages site.getsitepackages(): ['/usr/local/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.11/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.11_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots SKIPPED (Test passed in previous runs) [ 2%] tests/test_check_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 SKIPPED (Test passed in previous runs) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_async SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_hello SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_console_requests SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_search SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure SKIPPED (Test passed in previous runs) [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_simple SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_debugger_connected SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_source_reference SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_relative_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_zip_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_source_mapping SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_referrers SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_2 SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_3 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_5 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_6 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_7 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_8 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_9 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_10 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_11 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_12 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_13 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_14 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_15 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_17 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_17a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_18 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_19 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_20 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_flask SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_b SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_cython SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_qthread1 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread2 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread3 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread4 FAILED [ 21%] tests_python/test_debugger.py::test_m_switch SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_module_entry_point SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_set_next_statement SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_type_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_event_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_settrace SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_path_translation[False] SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_linecache_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_evaluate_errors SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_list_threads SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_print SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_method_single_line SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_suspension_policy SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_debug_zip_files SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_reload SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_custom_frames SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_remote SKIPPED (Gevent not installed.) [ 31%] tests_python/test_debugger.py::test_return_value SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_gettr_warning SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_step_return_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_step_over_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_access_token SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_namedtuple SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_in SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_notify_stdin SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_process_event SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_update_rules SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_completions_json SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_modules SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_dict_ordered SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_getattr_warning SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_hex_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stopped_event SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_stepping SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_stack_levels SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_goto SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python SKIPPED (Gevent not installed.) [ 55%] tests_python/test_debugger_json.py::test_notify_gevent SKIPPED (Gevent not installed / Sometimes the debugger crashes on Windows as the compiled extensions conflict with gevent.) [ 55%] tests_python/test_debugger_json.py::test_ppid SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_module_crash SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_access_token SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_json_message SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_global_scope SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_replace_process SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_logging_api FAILED [ 63%] tests_python/test_dump_threads.py::test_dump_threads SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_isidentifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_null.py::test_null SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_filtering SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_io_redirector SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_debug_console SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_bytes SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_unicode SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_no_repr SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_frame SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_thread SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_is_main_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_find_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_log SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_tracing_other_threads SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_tracing_basic SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_find_main_thread_id SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify SKIPPED (Gevent not installed.) [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_import_token_from_module SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication SKIPPED (Test passed in previous runs) [100%] =================================== FAILURES =================================== ______________________________ test_case_qthread1 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e3aeed290> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x703e3aeed290> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): with case_setup.test_file('_debugger_case_qthread1.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , reason = (111,) timeout = None, kwargs = {}, line = None, file = None, name = None accept_message = .accept_message at 0x703e03fcc040> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x703e03fcc040> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x703e3aeed290> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): > with case_setup.test_file('_debugger_case_qthread1.py') as writer: tests_python/test_debugger.py:1169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing 0\...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing 0\n', 'Increasing 1\n', 'Increasing 2\n', 'Increasing 3\n', 'Increasing 4\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing 0 E Increasing 1 E Increasing 2 E Increasing 3 E Increasing 4 E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None E write_add_breakpoint: 1 line: 22 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_case_qthread10/pydevd_debug_file_14456.14463.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '42599', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 14463 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 42599 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py Logging to: /tmp/pytest-of-buildd/pytest-1/test_case_qthread10/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 49562) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '103\t4\t' stdout: Increasing 0 stdout: Increasing 1 stdout: Increasing 2 stdout: Increasing 3 stdout: Increasing 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14463_id_127182463684688 Test Reader Thread Received 104 6 pid_14463_id_127182463684688 Message returned in get_next_message(): 104 6 pid_14463_id_127182463684688 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '104\t6\tpid_14463_id_127182463684688' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread2 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e015d4c90> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x703e015d4c90> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): with case_setup.test_file('_debugger_case_qthread2.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'long_running') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , reason = (111,) timeout = None, kwargs = {}, line = None, file = None, name = None accept_message = .accept_message at 0x703e0402b240> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x703e0402b240> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x703e015d4c90> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): > with case_setup.test_file('_debugger_case_qthread2.py') as writer: tests_python/test_debugger.py:1187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None E write_add_breakpoint: 1 line: 27 func: long_running E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_case_qthread20/pydevd_debug_file_14456.14475.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '40321', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 14475 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 40321 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py Logging to: /tmp/pytest-of-buildd/pytest-1/test_case_qthread20/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 52082) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14475_id_133203200168016 Test Reader Thread Received 104 6 pid_14475_id_133203200168016 Message returned in get_next_message(): 104 6 pid_14475_id_133203200168016 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '104\t6\tpid_14475_id_133203200168016' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread3 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01ad0e50> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x703e01ad0e50> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): with case_setup.test_file('_debugger_case_qthread3.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1210: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x703e03fccd60> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x703e03fccd60> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x703e01ad0e50> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): > with case_setup.test_file('_debugger_case_qthread3.py') as writer: tests_python/test_debugger.py:1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None E write_add_breakpoint: 1 line: 25 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_case_qthread30/pydevd_debug_file_14456.14488.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '38433', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 14488 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 38433 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py Logging to: /tmp/pytest-of-buildd/pytest-1/test_case_qthread30/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 50772) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14488_id_135914582495312 Test Reader Thread Received 104 6 pid_14488_id_135914582495312 Message returned in get_next_message(): 104 6 pid_14488_id_135914582495312 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '104\t6\tpid_14488_id_135914582495312' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread4 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01def410> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x703e01def410> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): with case_setup.test_file('_debugger_case_qthread4.py') as writer: original_additional_output_checks = writer.additional_output_checks def additional_output_checks(stdout, stderr): original_additional_output_checks(stdout, stderr) if 'On start called' not in stdout: raise AssertionError('Expected "On start called" to be in stdout:\n%s' % (stdout,)) if 'Done sleeping' not in stdout: raise AssertionError('Expected "Done sleeping" to be in stdout:\n%s' % (stdout,)) if 'native Qt signal is not callable' in stderr: raise AssertionError('Did not expect "native Qt signal is not callable" to be in stderr:\n%s' % (stderr,)) breakpoint_id = writer.write_add_breakpoint(28, 'on_start') # breakpoint on print('On start called2'). writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x703e01f18ae0> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x703e01f18ae0> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x703e01def410> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): > with case_setup.test_file('_debugger_case_qthread4.py') as writer: tests_python/test_debugger.py:1226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nOn start call...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['On start called1\n', 'On start called2\n', 'Done sleeping\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E On start called1 E On start called2 E Done sleeping E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None E write_add_breakpoint: 1 line: 28 func: on_start E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_case_qthread40/pydevd_debug_file_14456.14500.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '38635', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 14500 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 38635 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py Logging to: /tmp/pytest-of-buildd/pytest-1/test_case_qthread40/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 59404) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '103\t4\t' stdout: On start called1 stdout: On start called2 stdout: Done sleeping stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14500_id_124942450217040 Test Reader Thread Received 104 6 pid_14500_id_124942450217040 Message returned in get_next_message(): 104 6 pid_14500_id_124942450217040 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '104\t6\tpid_14500_id_124942450217040' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ___________ test_multiprocessing_simple[_debugger_case_python_c.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01796cd0> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01f1b920> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x703e01796cd0> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(file_to_check) as writer: break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') writer.write_add_breakpoint(break1_line) writer.write_add_breakpoint(break2_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break1_line) writer2.write_add_breakpoint(break2_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() hit2 = writer.wait_for_breakpoint_hit() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2583: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x703e01796cd0> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(file_to_check) as writer: tests_python/test_debugger.py:2535: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None E write_add_breakpoint: 1 line: 10 func: None E write: CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None E write_add_breakpoint: 2 line: 21 func: None E write: CMD_RUN: 101 7 E write_make_initial_run E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_multiprocessing_simple__d0/pydevd_debug_file_14456.14512.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '45971', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 14512 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 45971 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py Logging to: /tmp/pytest-of-buildd/pytest-1/test_multiprocessing_simple__d0/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 44930) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None Test Writer Thread Written CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None Test Writer Thread Written CMD_RUN: 101 7 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '103\t4\t' Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2583, in test_multiprocessing_simple raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ____________ test_subprocess_quoted_args[_debugger_case_quoting.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e017e3b90> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01e80cc0> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x703e017e3b90> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x703e017e3b90> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nbreak here\nTEST SUC...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['break here\n', 'TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E break here E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None E write_add_breakpoint: 1 line: 23 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_subprocess_quoted_args__d0/pydevd_debug_file_14456.14525.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '46301', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 14525 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 46301 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py Logging to: /tmp/pytest-of-buildd/pytest-1/test_subprocess_quoted_args__d0/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 45546) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: break here stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14525_id_128282610946256 Test Reader Thread Received 104 6 pid_14525_id_128282610946256 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ________ test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] _________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01674450> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01f1b600> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x703e01674450> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x703e01674450> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None E write_add_breakpoint: 1 line: 18 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_subprocess_quoted_args__d1/pydevd_debug_file_14456.14539.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '35125', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 14539 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 35125 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py Logging to: /tmp/pytest-of-buildd/pytest-1/test_subprocess_quoted_args__d1/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 33700) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14539_id_127389967962320 Test Reader Thread Received 104 6 pid_14539_id_127389967962320 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '44111'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e017dfd50> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01e82de0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e017dfd50> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x703e01e818a0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e017dfd50> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 44111 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_no_threads_0/pydevd_debug_file_14456.txt Both processes started Running: gdb --nw --nh --nx --pid 14552 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=44111, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '46847'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01efe310> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01f19300> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e01efe310> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x703e01e83060> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e01efe310> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 46847 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_no_threads_1/pydevd_debug_file_14456.txt Both processes started Running: gdb --nw --nh --nx --pid 14565 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=46847, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '43629'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01e93f50> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01e83ec0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e01e93f50> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x703e01e82700> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e01e93f50> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 124408675648800\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 124408675648800\n', 'Secondary thread ident should be: 124408667435296\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 124408675648800 E Secondary thread ident should be: 124408667435296 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 43629 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_halted0/pydevd_debug_file_14456.txtWaiting in socket.accept() Both processes started stdout: Main thread ident should be: 124408675648800 stdout: Secondary thread ident should be: 124408667435296 Running: gdb --nw --nh --nx --pid 14578 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=43629, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_remote_debugger_multi_proc[True] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '33143', '--access-token', 'tok123', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01e53b10> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = 'tok123', client_access_token = 'tok456' append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x703e01e83b00>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01e80540> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e01e53b10> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e01e53b10> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E write: CMD_AUTHENTICATE: 205 5 tok123 E write: CMD_RUN: 101 7 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 4 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 9 pid_14592_id_131368358717072 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_remote_debugger_multi_pro0/pydevd_debug_file_14456.14592.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:33143 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.04s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.00s - debugger: received >>205 5 tok123<< E E 0.00s - Received command: CMD_AUTHENTICATE 205 5 tok123 E E 0.00s - sending cmd (quoted-line) --> CMD_AUTHENTICATE tok456 E E 0.00s - debugger: received >>101 7 << E E 0.00s - Received command: CMD_RUN 101 7 E E 0.07s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.01s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 131368367834400)>, thread id: pid_14592_id_131368358717072, id(thread): 131368358717072 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 9 pid_14592_id_131368358717072<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_14592_id_131368358717072 E E 0.00s - Resuming threads: pid_14592_id_131368358717072 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_14592_id_131368358717072 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 131368367834400)> (pid_14592_id_131368358717072) 131368358717072 E 0.28s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - No threads alive, finishing debug session E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E E -------------------- /tmp/pytest-of-buildd/pytest-1/test_remote_debugger_multi_pro0/pydevd_debug_file_14456.14608.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 33143 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-1/test_remote_debugger_multi_pro0/pydevd_debug_file_14456.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 49492) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 901 1 Client not authenticated. Test Reader Thread Received 901 1 Client not authenticated. Test Writer Thread Written CMD_RUN: 101 3 Message returned in get_next_message(): 901 1 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2984, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_AUTHENTICATE: 205 5 tok123 Test Reader Thread Received 901 3 Client not authenticated. Test Reader Thread Received 901 3 Client not authenticated. Message returned in get_next_message(): 901 3 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Ignored message: '901\t3\tClient not authenticated.' Test Reader Thread Received 205 5 tok456 Test Reader Thread Received 205 5 tok456 Message returned in get_next_message(): 205 5 tok456 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_RUN: 101 7 Test Reader Thread Received 105 4 Test Reader Thread Received 105 4 Message returned in get_next_message(): 105 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 9 pid_14592_id_131368358717072 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 6 pid_14592_id_131368358717072 -1 Test Reader Thread Received 106 6 pid_14592_id_131368358717072 -1 stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ____________________ test_remote_debugger_multi_proc[False] ____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '38053'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01e50cd0> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x703e01efa5c0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01ef8180> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e01e50cd0> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e01e50cd0> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 5 pid_14610_id_135528830477648 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_remote_debugger_multi_pro1/pydevd_debug_file_14456.14610.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:38053 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_VERSION @@BUILD_NUMBER@@ E E 0.04s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.07s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_CREATE E E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 135528839595296)>, thread id: pid_14610_id_135528830477648, id(thread): 135528830477648 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 5 pid_14610_id_135528830477648<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_14610_id_135528830477648 E E 0.00s - Resuming threads: pid_14610_id_135528830477648 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_14610_id_135528830477648 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 135528839595296)> (pid_14610_id_135528830477648) 135528830477648 E 0.27s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_14610_id_135528830477648 E E 0.01s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - No threads alive, finishing debug session E 0.00s - WriterThread: CMD_EXIT received E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - WriterThread: exit E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - pydevd.CommandThread received kill signal E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader, pydevd.CommandThread E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-1/test_remote_debugger_multi_pro1/pydevd_debug_file_14456.14626.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.05s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 38053 Logging to: /tmp/pytest-of-buildd/pytest-1/test_remote_debugger_multi_pro1/pydevd_debug_file_14456.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 37674) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_RUN: 101 3 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '103\t4\t' Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 5 pid_14610_id_135528830477648 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 8 pid_14610_id_135528830477648 -1 Test Reader Thread Received 106 8 pid_14610_id_135528830477648 -1 stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py Test Reader Thread Received 104 10 pid_14610_id_135528830477648 Test Reader Thread Received 104 10 pid_14610_id_135528830477648 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '40365'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01e86010> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e0175dd00> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e01e86010> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x703e0175e160> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e01e86010> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 40365 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_True_0/pydevd_debug_file_14456.txt Both processes started Running: gdb --nw --nh --nx --pid 14628 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=40365, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '33601'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e01c2e950> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e0180d1c0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e01c2e950> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x703e0180d6c0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e01c2e950> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 33601 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_False_0/pydevd_debug_file_14456.txt Both processes started Running: gdb --nw --nh --nx --pid 14641 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=33601, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_subprocess_pydevd_customization[] ____________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '32773'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e015f3050> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = [] kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e0180da80> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e015f3050> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x703e3ad6bec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x703e0180e0c0> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e015f3050> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi0/pydevd_debug_file_14456.14654.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '32773'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:32773 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14654, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 127743457117472)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 127743457117472)>, thread id: pid_14654_id_127743448137232, id(thread): 127743448137232 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 127743457117472)> (pid_14654_id_127743448137232) 127743448137232 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.23s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.06s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi0/pydevd_debug_file_14456.14671.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 32773 Logging to: /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi0/pydevd_debug_file_14456.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 52558) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14654, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14654, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14654, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--use-c-switch] _____________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '35079', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e000f9c50> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--use-c-switch', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01dfc7c0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e000f9c50> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x703e3ad6bec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x703e01dfd300> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e000f9c50> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...hed correctly: pydevd.Reader\n0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished\n0.00s - pydevd.stoptrace()\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi1/pydevd_debug_file_14456.14690.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E E -------------------- /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi1/pydevd_debug_file_14456.14673.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '35079', '-', '-', 'u', 's', 'e', '-', 'c', '-', 's', 'w', 'i', 't', 'c', 'h'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:35079 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.04s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14673, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 136259042559264)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 136259042559264)>, thread id: pid_14673_id_136259033579024, id(thread): 136259033579024 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.04s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 136259042559264)> (pid_14673_id_136259033579024) 136259033579024 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.24s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 35079 - - u s e - c - s w i t c h Logging to: /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi1/pydevd_debug_file_14456.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 46986) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14673, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14673, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14673, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--posix-spawn] ______________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '44389', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e002a6d50> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--posix-spawn', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01dff060> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x703e002a6d50> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x703e3ad6bec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x703e01dfe520> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x703e002a6d50> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi2/pydevd_debug_file_14456.14692.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '44389', '-', '-', 'p', 'o', 's', 'i', 'x', '-', 's', 'p', 'a', 'w', 'n'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:44389 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.01s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14692, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 137588457358624)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 137588457358624)>, thread id: pid_14692_id_137588448378384, id(thread): 137588448378384 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 137588457358624)> (pid_14692_id_137588448378384) 137588448378384 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.22s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.07s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E E -------------------- /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi2/pydevd_debug_file_14456.14709.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 44389 - - p o s i x - s p a w n Logging to: /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi2/pydevd_debug_file_14456.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 49684) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14692, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14692, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14692, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** __________________________ test_subprocess_then_fork ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703de8eb46d0> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01dfe700> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x703de8eb46d0> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: json_facade = JsonFacade(writer) json_facade.write_launch(justMyCode=False) break_line = writer.get_line_index_with_content('break here') json_facade.write_set_breakpoints([break_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note that we accept 2 connections and then we proceed to receive the breakpoints. json_facades = [] for i in range(2): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess %s waiting on server_socket.accept()' % (i,)) new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess %s completed server_socket.accept()' % (i,)) reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess %s Reader Thread' % i reader_thread.start() writer.log.append(' *** Multiprocess %s started ReaderThread' % (i,)) writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess %s write: ' % i writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) writer.log.append(' *** Multiprocess %s write attachThread' % (i,)) json_facade2.write_attach(justMyCode=False) writer.log.append(' *** Multiprocess %s write set breakpoints' % (i,)) json_facade2.write_set_breakpoints([break_line]) writer.log.append(' *** Multiprocess %s write make initial run' % (i,)) json_facade2.write_make_initial_run() json_facades.append(json_facade2) for i, json_facade3 in enumerate(json_facades): writer.log.append(' *** Multiprocess %s wait for thread stopped' % (i,)) json_facade3.wait_for_thread_stopped(line=break_line) writer.log.append(' *** Multiprocess %s continue' % (i,)) json_facade3.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(20) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:4925: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x703de8eb46d0> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: tests_python/test_debugger_json.py:4864: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} E *** Multiprocess 0 waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_subprocess_then_fork0/pydevd_debug_file_14456.14711.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.09s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '41149', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 14711 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 41149 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py Logging to: /tmp/pytest-of-buildd/pytest-1/test_subprocess_then_fork0/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 41928) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 319 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 14711, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 14711, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 14711, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} Test Reader Thread Received Content-Length: 360 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4869, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4921, in test_subprocess_then_fork Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4925, in test_subprocess_then_fork raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ______________________ test_no_subprocess_patching[True] _______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e04497bd0> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0x703e0180e160>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e0180f560> key = 'update_command_line_args' value = .update_command_line_args at 0x703e0180e160> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x703e04497bd0> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:5001: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x703e04497bd0> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret > with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: tests_python/test_debugger_json.py:4945: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_no_subprocess_patching_Tr0/pydevd_debug_file_14456.14726.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '38585', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 14726 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 38585 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py apply-multiprocessing-patch Logging to: /tmp/pytest-of-buildd/pytest-1/test_no_subprocess_patching_Tr0/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 48238) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 14726, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 14726, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 14726, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} Test Reader Thread Received Content-Length: 585 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4954, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4994, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} Test Reader Thread Received Content-Length: 305 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 417 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} stdout: TEST SUCEEDED! Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502} Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 24, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 26, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 5001, in test_no_subprocess_patching raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _______________________________ test_logging_api _______________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x703e000b2190> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0x703e01748c20>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x703e01748cc0> key = 'get_environ' value = .get_environ at 0x703e01748c20> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x703e000b2190> tmpdir = local('/tmp/pytest-of-buildd/pytest-1/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content("break on 2nd process") json_facade.write_set_breakpoints([break1_line]) server_socket = writer.server_socket secondary_finished_ok = [False] class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, ]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_finished_ok[0] = True secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:6367: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x703e000b2190> tmpdir = local('/tmp/pytest-of-buildd/pytest-1/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env > with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: tests_python/test_debugger_json.py:6318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...un(setup['file'], None, None, is_module)\n", ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main E globals = debugger.run(setup['file'], None, None, is_module) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run E return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec E globals = pydevd_runpy.run_path(file, globals, '__main__') E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path E return _run_module_code(code, init_globals, run_name, E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code E _run_code(code, mod_globals, init_globals, E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code E exec(code, run_globals) E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in E log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-1/test_logging_api0/pydevd_in_test_logging.14750.log' E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-1/test_logging_api0/pydevd_debug_file_14456.14750.txt ------------------ E E 0.00s - Something in print-debug E E -------------------- /tmp/pytest-of-buildd/pytest-1/test_logging_api0/pydevd_debug_file_14456.14739.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '39553', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 14739 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 39553 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py Logging to: /tmp/pytest-of-buildd/pytest-1/test_logging_api0/pydevd_debug_file_14456.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 35370) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 307 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 14739, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 14739, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 14739, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} Test Reader Thread Received Content-Length: 349 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6326, in test_logging_api Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6364, in test_logging_api Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 14, "pydevd_cmd_id": 104} Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 16, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main stderr: globals = debugger.run(setup['file'], None, None, is_module) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run stderr: return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec stderr: globals = pydevd_runpy.run_path(file, globals, '__main__') stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path stderr: return _run_module_code(code, init_globals, run_name, stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code stderr: _run_code(code, mod_globals, init_globals, stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code stderr: exec(code, run_globals) stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in stderr: log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-1/test_logging_api0/pydevd_in_test_logging.14750.log' *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6367, in test_logging_api raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87 /usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87: DeprecationWarning: module 'sre_constants' is deprecated import sre_constants ../../../../../../usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15 /usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 from cgi import parse_header ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:49 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_fixtures.py:49: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_pydevd_io.py:123 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_pydevd_io.py:123: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:121 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_tracing_on_top_level.py:121: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_case_qthread1 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread2 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread3 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread4 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED tests_python/test_debugger_json.py::test_subprocess_then_fork - Assert... FAILED tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED tests_python/test_debugger_json.py::test_logging_api - AssertionError:... ==== 20 failed, 768 skipped, 8 deselected, 7 warnings in 381.31s (0:06:21) ===== =============================================================================== pydev pyunit runner: Threads still found running after tests finished ================================= Thread Dump ================================= ------------------------------------------------------------------------------- Thread Thread-93 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/conftest.py", line 118, in run for filename, lineno, name, line in traceback.extract_stack(stack): ------------------------------------------------------------------------------- Thread Thread-92 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6342, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-87 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4972, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-82 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4889, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-77 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-72 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-67 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-59 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-55 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-54 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-49 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-41 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-37 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-33 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-32 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-27 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-22 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2558, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread MainThread (daemon: False) File "/usr/lib/python3.11/threading.py", line 1583, in _shutdown lock.acquire() =============================== END Thread Dump ===============================*** END OF RUN 2: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** STARTING RUN 3: python3.11 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.11.0rc2+, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.11 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages site.getsitepackages(): ['/usr/local/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.11/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.11_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots SKIPPED (Test passed in previous runs) [ 2%] tests/test_check_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 SKIPPED (Test passed in previous runs) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_async SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_hello SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_console_requests SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_search SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure SKIPPED (Test passed in previous runs) [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_simple SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_debugger_connected SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_source_reference SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_relative_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_zip_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_source_mapping SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_referrers SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_2 SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_3 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_5 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_6 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_7 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_8 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_9 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_10 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_11 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_12 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_13 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_14 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_15 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_17 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_17a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_18 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_19 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_20 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_flask SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_b SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_cython SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_qthread1 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread2 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread3 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread4 FAILED [ 21%] tests_python/test_debugger.py::test_m_switch SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_module_entry_point SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_set_next_statement SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_type_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_event_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_settrace SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_path_translation[False] SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_linecache_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_evaluate_errors SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_list_threads SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_print SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_method_single_line SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_suspension_policy SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_debug_zip_files SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_reload SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_custom_frames SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_remote SKIPPED (Gevent not installed.) [ 31%] tests_python/test_debugger.py::test_return_value SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_gettr_warning SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_step_return_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_step_over_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_access_token SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_namedtuple SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_in SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_notify_stdin SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_process_event SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_update_rules SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_completions_json SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_modules SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_dict_ordered SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_getattr_warning SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_hex_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stopped_event SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_stepping SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_stack_levels SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_goto SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python SKIPPED (Gevent not installed.) [ 55%] tests_python/test_debugger_json.py::test_notify_gevent SKIPPED (Gevent not installed / Sometimes the debugger crashes on Windows as the compiled extensions conflict with gevent.) [ 55%] tests_python/test_debugger_json.py::test_ppid SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_module_crash SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_access_token SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_json_message SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_global_scope SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_replace_process SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_logging_api FAILED [ 63%] tests_python/test_dump_threads.py::test_dump_threads SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_isidentifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_null.py::test_null SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_filtering SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_io_redirector SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_debug_console SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_bytes SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_unicode SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_no_repr SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_frame SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_thread SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_is_main_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_find_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_log SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_tracing_other_threads SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_tracing_basic SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_find_main_thread_id SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify SKIPPED (Gevent not installed.) [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_import_token_from_module SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication SKIPPED (Test passed in previous runs) [100%] =================================== FAILURES =================================== ______________________________ test_case_qthread1 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a4ef5ba10> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7b4a4ef5ba10> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): with case_setup.test_file('_debugger_case_qthread1.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , reason = (111,) timeout = None, kwargs = {}, line = None, file = None, name = None accept_message = .accept_message at 0x7b4a14740040> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7b4a14740040> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7b4a4ef5ba10> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): > with case_setup.test_file('_debugger_case_qthread1.py') as writer: tests_python/test_debugger.py:1169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing 0\...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing 0\n', 'Increasing 1\n', 'Increasing 2\n', 'Increasing 3\n', 'Increasing 4\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing 0 E Increasing 1 E Increasing 2 E Increasing 3 E Increasing 4 E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None E write_add_breakpoint: 1 line: 22 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_case_qthread10/pydevd_debug_file_14752.14760.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '40865', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 14760 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 40865 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py Logging to: /tmp/pytest-of-buildd/pytest-2/test_case_qthread10/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 47464) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '103\t4\t' stdout: Increasing 0 stdout: Increasing 1 stdout: Increasing 2 stdout: Increasing 3 stdout: Increasing 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14760_id_135934481846352 Test Reader Thread Received 104 6 pid_14760_id_135934481846352 Message returned in get_next_message(): 104 6 pid_14760_id_135934481846352 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '104\t6\tpid_14760_id_135934481846352' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread2 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a11d48c10> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7b4a11d48c10> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): with case_setup.test_file('_debugger_case_qthread2.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'long_running') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , reason = (111,) timeout = None, kwargs = {}, line = None, file = None, name = None accept_message = .accept_message at 0x7b4a1479f240> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7b4a1479f240> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7b4a11d48c10> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): > with case_setup.test_file('_debugger_case_qthread2.py') as writer: tests_python/test_debugger.py:1187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None E write_add_breakpoint: 1 line: 27 func: long_running E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_case_qthread20/pydevd_debug_file_14752.14772.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '35829', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 14772 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 35829 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py Logging to: /tmp/pytest-of-buildd/pytest-2/test_case_qthread20/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 49056) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14772_id_132736530370640 Test Reader Thread Received 104 6 pid_14772_id_132736530370640 Message returned in get_next_message(): 104 6 pid_14772_id_132736530370640 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '104\t6\tpid_14772_id_132736530370640' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread3 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a1223c810> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7b4a1223c810> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): with case_setup.test_file('_debugger_case_qthread3.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1210: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x7b4a14740d60> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7b4a14740d60> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7b4a1223c810> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): > with case_setup.test_file('_debugger_case_qthread3.py') as writer: tests_python/test_debugger.py:1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None E write_add_breakpoint: 1 line: 25 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_case_qthread30/pydevd_debug_file_14752.14784.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '40479', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 14784 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 40479 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py Logging to: /tmp/pytest-of-buildd/pytest-2/test_case_qthread30/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 60330) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14784_id_131426157776976 Test Reader Thread Received 104 6 pid_14784_id_131426157776976 Message returned in get_next_message(): 104 6 pid_14784_id_131426157776976 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '104\t6\tpid_14784_id_131426157776976' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread4 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a11e49610> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7b4a11e49610> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): with case_setup.test_file('_debugger_case_qthread4.py') as writer: original_additional_output_checks = writer.additional_output_checks def additional_output_checks(stdout, stderr): original_additional_output_checks(stdout, stderr) if 'On start called' not in stdout: raise AssertionError('Expected "On start called" to be in stdout:\n%s' % (stdout,)) if 'Done sleeping' not in stdout: raise AssertionError('Expected "Done sleeping" to be in stdout:\n%s' % (stdout,)) if 'native Qt signal is not callable' in stderr: raise AssertionError('Did not expect "native Qt signal is not callable" to be in stderr:\n%s' % (stderr,)) breakpoint_id = writer.write_add_breakpoint(28, 'on_start') # breakpoint on print('On start called2'). writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x7b4a12604720> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7b4a12604720> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7b4a11e49610> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): > with case_setup.test_file('_debugger_case_qthread4.py') as writer: tests_python/test_debugger.py:1226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nOn start call...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['On start called1\n', 'On start called2\n', 'Done sleeping\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E On start called1 E On start called2 E Done sleeping E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None E write_add_breakpoint: 1 line: 28 func: on_start E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_case_qthread40/pydevd_debug_file_14752.14796.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '43181', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 14796 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 43181 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py Logging to: /tmp/pytest-of-buildd/pytest-2/test_case_qthread40/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 49352) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '103\t4\t' stdout: On start called1 stdout: On start called2 stdout: Done sleeping stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14796_id_132245683294288 Test Reader Thread Received 104 6 pid_14796_id_132245683294288 Message returned in get_next_message(): 104 6 pid_14796_id_132245683294288 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '104\t6\tpid_14796_id_132245683294288' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ___________ test_multiprocessing_simple[_debugger_case_python_c.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a125cb950> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a12607920> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7b4a125cb950> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(file_to_check) as writer: break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') writer.write_add_breakpoint(break1_line) writer.write_add_breakpoint(break2_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break1_line) writer2.write_add_breakpoint(break2_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() hit2 = writer.wait_for_breakpoint_hit() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2583: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7b4a125cb950> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(file_to_check) as writer: tests_python/test_debugger.py:2535: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None E write_add_breakpoint: 1 line: 10 func: None E write: CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None E write_add_breakpoint: 2 line: 21 func: None E write: CMD_RUN: 101 7 E write_make_initial_run E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_multiprocessing_simple__d0/pydevd_debug_file_14752.14808.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '38303', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 14808 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 38303 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py Logging to: /tmp/pytest-of-buildd/pytest-2/test_multiprocessing_simple__d0/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 53734) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None Test Writer Thread Written CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None Test Writer Thread Written CMD_RUN: 101 7 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '103\t4\t' Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2583, in test_multiprocessing_simple raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ____________ test_subprocess_quoted_args[_debugger_case_quoting.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a126184d0> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a1267cae0> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7b4a126184d0> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7b4a126184d0> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nbreak here\nTEST SUC...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['break here\n', 'TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E break here E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None E write_add_breakpoint: 1 line: 23 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_quoted_args__d0/pydevd_debug_file_14752.14821.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '39191', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 14821 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 39191 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py Logging to: /tmp/pytest-of-buildd/pytest-2/test_subprocess_quoted_args__d0/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 52416) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: break here stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14821_id_139385780293840 Test Reader Thread Received 104 6 pid_14821_id_139385780293840 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ________ test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] _________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a12225710> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a12607600> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7b4a12225710> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7b4a12225710> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None E write_add_breakpoint: 1 line: 18 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_quoted_args__d1/pydevd_debug_file_14752.14834.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '45721', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 14834 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 45721 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py Logging to: /tmp/pytest-of-buildd/pytest-2/test_subprocess_quoted_args__d1/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 36832) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_14834_id_138763999236304 Test Reader Thread Received 104 6 pid_14834_id_138763999236304 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '41477'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a1472d750> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a1267ed40> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a1472d750> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b4a1267d800> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a1472d750> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 41477 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_no_threads_0/pydevd_debug_file_14752.txt Both processes started Running: gdb --nw --nh --nx --pid 14847 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=41477, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '43197'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a5029f110> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a12607c40> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a5029f110> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b4a1267efc0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a5029f110> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 43197 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_no_threads_1/pydevd_debug_file_14752.txt Both processes started Running: gdb --nw --nh --nx --pid 14860 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=43197, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '43643'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a14715650> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a1267ff60> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a14715650> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b4a1267e660> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a14715650> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 124478125720864\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 124478125720864\n', 'Secondary thread ident should be: 124478117507360\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 124478125720864 E Secondary thread ident should be: 124478117507360 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 43643 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_halted0/pydevd_debug_file_14752.txt Both processes started stdout: Main thread ident should be: 124478125720864 stdout: Secondary thread ident should be: 124478117507360 Running: gdb --nw --nh --nx --pid 14874 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=43643, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_remote_debugger_multi_proc[True] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '42329', '--access-token', 'tok123', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a1267b710> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = 'tok123', client_access_token = 'tok456' append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x7b4a1267fa60>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a1267c5e0> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a1267b710> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a1267b710> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E write: CMD_AUTHENTICATE: 205 5 tok123 E write: CMD_RUN: 101 7 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 4 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 9 pid_14888_id_132875057178256 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_remote_debugger_multi_pro0/pydevd_debug_file_14752.14888.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:42329 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.03s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.00s - debugger: received >>205 5 tok123<< E E 0.00s - Received command: CMD_AUTHENTICATE 205 5 tok123 E E 0.00s - sending cmd (quoted-line) --> CMD_AUTHENTICATE tok456 E E 0.00s - debugger: received >>101 7 << E E 0.00s - Received command: CMD_RUN 101 7 E E 0.07s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 132875066295584)>, thread id: pid_14888_id_132875057178256, id(thread): 132875057178256 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 9 pid_14888_id_132875057178256<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_14888_id_132875057178256 E E 0.00s - Resuming threads: pid_14888_id_132875057178256 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_14888_id_132875057178256 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 132875066295584)> (pid_14888_id_132875057178256) 132875057178256 E 0.28s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader, pydevd.CommandThread E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-2/test_remote_debugger_multi_pro0/pydevd_debug_file_14752.14904.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 42329 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-2/test_remote_debugger_multi_pro0/pydevd_debug_file_14752.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 47022) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 901 1 Client not authenticated. Test Reader Thread Received 901 1 Client not authenticated. Test Writer Thread Written CMD_RUN: 101 3 Message returned in get_next_message(): 901 1 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2984, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_AUTHENTICATE: 205 5 tok123 Test Reader Thread Received 901 3 Client not authenticated. Test Reader Thread Received 901 3 Client not authenticated. Message returned in get_next_message(): 901 3 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Ignored message: '901\t3\tClient not authenticated.' Test Reader Thread Received 205 5 tok456 Test Reader Thread Received 205 5 tok456 Message returned in get_next_message(): 205 5 tok456 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_RUN: 101 7 Test Reader Thread Received 105 4 Test Reader Thread Received 105 4 Message returned in get_next_message(): 105 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 9 pid_14888_id_132875057178256 Test Reader Thread Received 106 6 pid_14888_id_132875057178256 -1 Test Reader Thread Received 106 6 pid_14888_id_132875057178256 -1 stdout: after pydevd.settrace stdout: before call stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ____________________ test_remote_debugger_multi_proc[False] ____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '35973'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a12679110> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x7b4a12644040>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a12644180> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a12679110> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a12679110> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 5 pid_14906_id_139330813437264 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_remote_debugger_multi_pro1/pydevd_debug_file_14752.14906.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:35973 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_VERSION @@BUILD_NUMBER@@ E E 0.03s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.07s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_CREATE E E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 139330822554912)>, thread id: pid_14906_id_139330813437264, id(thread): 139330813437264 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 5 pid_14906_id_139330813437264<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_14906_id_139330813437264 E E 0.00s - Resuming threads: pid_14906_id_139330813437264 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_14906_id_139330813437264 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 139330822554912)> (pid_14906_id_139330813437264) 139330813437264 E 0.22s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_14906_id_139330813437264 E E 0.06s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - The following pydb threads may not have finished correctly: pydevd.CommandThread, pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-2/test_remote_debugger_multi_pro1/pydevd_debug_file_14752.14922.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 35973 Logging to: /tmp/pytest-of-buildd/pytest-2/test_remote_debugger_multi_pro1/pydevd_debug_file_14752.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 35514) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_RUN: 101 3 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '103\t4\t' Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 5 pid_14906_id_139330813437264 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 8 pid_14906_id_139330813437264 -1 Test Reader Thread Received 106 8 pid_14906_id_139330813437264 -1 stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py Test Reader Thread Received 104 10 pid_14906_id_139330813437264 Test Reader Thread Received 104 10 pid_14906_id_139330813437264 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '40059'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a15420fd0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a11f5dda0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a15420fd0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b4a11f5e200> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a15420fd0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 40059 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_True_0/pydevd_debug_file_14752.txt Both processes started Running: gdb --nw --nh --nx --pid 14924 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=40059, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '46335'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a11f1ef10> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a1267fa60> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a11f1ef10> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b4a11f5e020> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a11f1ef10> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 46335 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_False_0/pydevd_debug_file_14752.txt Both processes started Running: gdb --nw --nh --nx --pid 14937 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=46335, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_subprocess_pydevd_customization[] ____________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '46521'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a11f0ff50> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = [] kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a123579c0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a11f0ff50> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x7b4a4b4dbec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x7b4a123545e0> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a11f0ff50> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...terThread: CMD_EXIT received\n0.00s - WriterThread: exit\n0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi0/pydevd_debug_file_14752.14968.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi0/pydevd_debug_file_14752.14951.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '46521'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:46521 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.04s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14951, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 130552369661216)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 130552369661216)>, thread id: pid_14951_id_130552360680976, id(thread): 130552360680976 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 130552369661216)> (pid_14951_id_130552360680976) 130552360680976 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.23s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.05s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 46521 Logging to: /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi0/pydevd_debug_file_14752.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 44856) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14951, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14951, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14951, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--use-c-switch] _____________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '32773', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a100b9350> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--use-c-switch', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a12356340> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a100b9350> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x7b4a4b4dbec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x7b4a12355940> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a100b9350> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi1/pydevd_debug_file_14752.14970.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '32773', '-', '-', 'u', 's', 'e', '-', 'c', '-', 's', 'w', 'i', 't', 'c', 'h'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:32773 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.03s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14970, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 137423088338208)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 137423088338208)>, thread id: pid_14970_id_137423079357968, id(thread): 137423079357968 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 137423088338208)> (pid_14970_id_137423079357968) 137423079357968 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.26s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.02s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi1/pydevd_debug_file_14752.14987.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 32773 - - u s e - c - s w i t c h Logging to: /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi1/pydevd_debug_file_14752.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 48110) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14970, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14970, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14970, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}'Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--posix-spawn] ______________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '37851', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a1007ded0> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--posix-spawn', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a12355bc0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b4a1007ded0> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x7b4a4b4dbec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x7b4a12356f20> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b4a1007ded0> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi2/pydevd_debug_file_14752.14989.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '37851', '-', '-', 'p', 'o', 's', 'i', 'x', '-', 's', 'p', 'a', 'w', 'n'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:37851 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.05s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14989, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 139880934163744)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 139880934163744)>, thread id: pid_14989_id_139880925183504, id(thread): 139880925183504 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 139880934163744)> (pid_14989_id_139880925183504) 139880925183504 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.23s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.05s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi2/pydevd_debug_file_14752.15006.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 37851 - - p o s i x - s p a w n Logging to: /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi2/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 36778) stdout: before pydevd.settrace Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14989, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14989, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 14989, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** __________________________ test_subprocess_then_fork ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a101d8690> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a12357600> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7b4a101d8690> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: json_facade = JsonFacade(writer) json_facade.write_launch(justMyCode=False) break_line = writer.get_line_index_with_content('break here') json_facade.write_set_breakpoints([break_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note that we accept 2 connections and then we proceed to receive the breakpoints. json_facades = [] for i in range(2): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess %s waiting on server_socket.accept()' % (i,)) new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess %s completed server_socket.accept()' % (i,)) reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess %s Reader Thread' % i reader_thread.start() writer.log.append(' *** Multiprocess %s started ReaderThread' % (i,)) writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess %s write: ' % i writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) writer.log.append(' *** Multiprocess %s write attachThread' % (i,)) json_facade2.write_attach(justMyCode=False) writer.log.append(' *** Multiprocess %s write set breakpoints' % (i,)) json_facade2.write_set_breakpoints([break_line]) writer.log.append(' *** Multiprocess %s write make initial run' % (i,)) json_facade2.write_make_initial_run() json_facades.append(json_facade2) for i, json_facade3 in enumerate(json_facades): writer.log.append(' *** Multiprocess %s wait for thread stopped' % (i,)) json_facade3.wait_for_thread_stopped(line=break_line) writer.log.append(' *** Multiprocess %s continue' % (i,)) json_facade3.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(20) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:4925: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7b4a101d8690> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: tests_python/test_debugger_json.py:4864: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} E *** Multiprocess 0 waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_then_fork0/pydevd_debug_file_14752.15008.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '46597', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 15008 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 46597 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py Logging to: /tmp/pytest-of-buildd/pytest-2/test_subprocess_then_fork0/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 60944) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 319 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 15008, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 15008, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 15008, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} Test Reader Thread Received Content-Length: 360 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4869, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4921, in test_subprocess_then_fork Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4925, in test_subprocess_then_fork raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ______________________ test_no_subprocess_patching[True] _______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a12002210> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0x7b4a122a4360>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a122a4400> key = 'update_command_line_args' value = .update_command_line_args at 0x7b4a122a4360> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7b4a12002210> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:5001: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7b4a12002210> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret > with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: tests_python/test_debugger_json.py:4945: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_no_subprocess_patching_Tr0/pydevd_debug_file_14752.15022.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '36421', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 15022 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 36421 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py apply-multiprocessing-patch Logging to: /tmp/pytest-of-buildd/pytest-2/test_no_subprocess_patching_Tr0/pydevd_debug_file_14752.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 50408) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 15022, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 15022, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 15022, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} Test Reader Thread Received Content-Length: 585 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4954, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4994, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} Test Reader Thread Received Content-Length: 305 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 417 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} stdout: TEST SUCEEDED! Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502} Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 24, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Message returned in get_next_message(): {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 26, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 5001, in test_no_subprocess_patching raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _______________________________ test_logging_api _______________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b4a11cdaa90> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0x7b4a12356f20>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b4a123547c0> key = 'get_environ' value = .get_environ at 0x7b4a12356f20> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7b4a11cdaa90> tmpdir = local('/tmp/pytest-of-buildd/pytest-2/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content("break on 2nd process") json_facade.write_set_breakpoints([break1_line]) server_socket = writer.server_socket secondary_finished_ok = [False] class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, ]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_finished_ok[0] = True secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:6367: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7b4a11cdaa90> tmpdir = local('/tmp/pytest-of-buildd/pytest-2/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env > with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: tests_python/test_debugger_json.py:6318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================.../pytest-2/test_logging_api0/pydevd_debug_file_14752.15046.txt ------------------\n\n0.00s - Something in print-debug\n' stdout = [] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...un(setup['file'], None, None, is_module)\n", ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main E globals = debugger.run(setup['file'], None, None, is_module) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run E return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec E globals = pydevd_runpy.run_path(file, globals, '__main__') E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path E return _run_module_code(code, init_globals, run_name, E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code E _run_code(code, mod_globals, init_globals, E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code E exec(code, run_globals) E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in E log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-2/test_logging_api0/pydevd_in_test_logging.15046.log' E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-2/test_logging_api0/pydevd_debug_file_14752.15035.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '43151', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 15035 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False E E -------------------- /tmp/pytest-of-buildd/pytest-2/test_logging_api0/pydevd_debug_file_14752.15046.txt ------------------ E E 0.00s - Something in print-debug tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 43151 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py Logging to: /tmp/pytest-of-buildd/pytest-2/test_logging_api0/pydevd_debug_file_14752.txt Waiting in socket.accept() Both processes started Test Writer Thread Socket: ('127.0.0.1', 46330) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 307 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 15035, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 15035, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 15035, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} Test Reader Thread Received Content-Length: 349 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6326, in test_logging_api Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6364, in test_logging_api Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 14, "pydevd_cmd_id": 104} Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 16, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main stderr: globals = debugger.run(setup['file'], None, None, is_module) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run stderr: return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec stderr: globals = pydevd_runpy.run_path(file, globals, '__main__') stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path stderr: return _run_module_code(code, init_globals, run_name, stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code stderr: _run_code(code, mod_globals, init_globals, stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code stderr: exec(code, run_globals) stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in stderr: log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-2/test_logging_api0/pydevd_in_test_logging.15046.log' *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6367, in test_logging_api raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87 /usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87: DeprecationWarning: module 'sre_constants' is deprecated import sre_constants ../../../../../../usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15 /usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 from cgi import parse_header ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:49 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_fixtures.py:49: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_pydevd_io.py:123 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_pydevd_io.py:123: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:121 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_tracing_on_top_level.py:121: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_case_qthread1 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread2 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread3 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread4 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED tests_python/test_debugger_json.py::test_subprocess_then_fork - Assert... FAILED tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED tests_python/test_debugger_json.py::test_logging_api - AssertionError:... ==== 20 failed, 768 skipped, 8 deselected, 7 warnings in 381.13s (0:06:21) ===== =============================================================================== pydev pyunit runner: Threads still found running after tests finished ================================= Thread Dump ================================= ------------------------------------------------------------------------------- Thread Thread-93 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/conftest.py", line 118, in run for filename, lineno, name, line in traceback.extract_stack(stack): ------------------------------------------------------------------------------- Thread Thread-92 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6342, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-87 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4972, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-82 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4889, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-77 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-72 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-67 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-59 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-55 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-54 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-49 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-41 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-37 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-33 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-32 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-27 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-22 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2558, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread MainThread (daemon: False) File "/usr/lib/python3.11/threading.py", line 1583, in _shutdown lock.acquire() =============================== END Thread Dump ===============================*** END OF RUN 3: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** STARTING RUN 4: python3.11 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.11.0rc2+, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.11 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages site.getsitepackages(): ['/usr/local/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.11/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.11_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots SKIPPED (Test passed in previous runs) [ 2%] tests/test_check_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 SKIPPED (Test passed in previous runs) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_async SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_hello SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_console_requests SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_search SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure SKIPPED (Test passed in previous runs) [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_simple SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_debugger_connected SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_source_reference SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_relative_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_zip_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_source_mapping SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_referrers SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_2 SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_3 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_5 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_6 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_7 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_8 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_9 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_10 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_11 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_12 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_13 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_14 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_15 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_17 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_17a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_18 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_19 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_20 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_flask SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_b SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_cython SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_qthread1 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread2 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread3 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread4 FAILED [ 21%] tests_python/test_debugger.py::test_m_switch SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_module_entry_point SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_set_next_statement SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_type_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_event_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_settrace SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_path_translation[False] SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_linecache_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_evaluate_errors SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_list_threads SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_print SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_method_single_line SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_suspension_policy SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_debug_zip_files SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_reload SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_custom_frames SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_remote SKIPPED (Gevent not installed.) [ 31%] tests_python/test_debugger.py::test_return_value SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_gettr_warning SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_step_return_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_step_over_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_access_token SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_namedtuple SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_in SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_notify_stdin SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_process_event SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_update_rules SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_completions_json SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_modules SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_dict_ordered SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_getattr_warning SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_hex_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stopped_event SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_stepping SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_stack_levels SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_goto SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python SKIPPED (Gevent not installed.) [ 55%] tests_python/test_debugger_json.py::test_notify_gevent SKIPPED (Gevent not installed / Sometimes the debugger crashes on Windows as the compiled extensions conflict with gevent.) [ 55%] tests_python/test_debugger_json.py::test_ppid SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_module_crash SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_access_token SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_json_message SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_global_scope SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_replace_process SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_logging_api FAILED [ 63%] tests_python/test_dump_threads.py::test_dump_threads SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_isidentifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_null.py::test_null SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_filtering SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_io_redirector SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_debug_console SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_bytes SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_unicode SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_no_repr SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_frame SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_thread SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_is_main_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_find_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_log SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_tracing_other_threads SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_tracing_basic SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_find_main_thread_id SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify SKIPPED (Gevent not installed.) [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_import_token_from_module SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication SKIPPED (Test passed in previous runs) [100%] =================================== FAILURES =================================== ______________________________ test_case_qthread1 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153e51a5d10> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7153e51a5d10> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): with case_setup.test_file('_debugger_case_qthread1.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , reason = (111,) timeout = None, kwargs = {}, line = None, file = None, name = None accept_message = .accept_message at 0x7153e51d0040> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7153e51d0040> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7153e51a5d10> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): > with case_setup.test_file('_debugger_case_qthread1.py') as writer: tests_python/test_debugger.py:1169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing 0\...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing 0\n', 'Increasing 1\n', 'Increasing 2\n', 'Increasing 3\n', 'Increasing 4\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing 0 E Increasing 1 E Increasing 2 E Increasing 3 E Increasing 4 E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None E write_add_breakpoint: 1 line: 22 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_case_qthread10/pydevd_debug_file_15048.15056.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '36461', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 15056 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 36461 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py Logging to: /tmp/pytest-of-buildd/pytest-3/test_case_qthread10/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 42378) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '103\t4\t' stdout: Increasing 0 stdout: Increasing 1 stdout: Increasing 2 stdout: Increasing 3 stdout: Increasing 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15056_id_126516373934160 Test Reader Thread Received 104 6 pid_15056_id_126516373934160 Message returned in get_next_message(): 104 6 pid_15056_id_126516373934160 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '104\t6\tpid_15056_id_126516373934160' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread2 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153de78ced0> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7153de78ced0> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): with case_setup.test_file('_debugger_case_qthread2.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'long_running') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , reason = (111,) timeout = None, kwargs = {}, line = None, file = None, name = None accept_message = .accept_message at 0x7153e522f240> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7153e522f240> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7153de78ced0> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): > with case_setup.test_file('_debugger_case_qthread2.py') as writer: tests_python/test_debugger.py:1187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None E write_add_breakpoint: 1 line: 27 func: long_running E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_case_qthread20/pydevd_debug_file_15048.15068.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '34471', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 15068 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 34471 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py Logging to: /tmp/pytest-of-buildd/pytest-3/test_case_qthread20/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 41744) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15068_id_132554763194448 Test Reader Thread Received 104 6 pid_15068_id_132554763194448 Message returned in get_next_message(): 104 6 pid_15068_id_132554763194448 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '104\t6\tpid_15068_id_132554763194448' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread3 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153dec88f90> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7153dec88f90> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): with case_setup.test_file('_debugger_case_qthread3.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1210: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x7153e51d0d60> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7153e51d0d60> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7153dec88f90> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): > with case_setup.test_file('_debugger_case_qthread3.py') as writer: tests_python/test_debugger.py:1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None E write_add_breakpoint: 1 line: 25 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_case_qthread30/pydevd_debug_file_15048.15080.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '34127', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 15080 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept()executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 34127 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py Logging to: /tmp/pytest-of-buildd/pytest-3/test_case_qthread30/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 53122) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15080_id_126096354562128 Test Reader Thread Received 104 6 pid_15080_id_126096354562128 Message returned in get_next_message(): 104 6 pid_15080_id_126096354562128 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '104\t6\tpid_15080_id_126096354562128' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread4 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153ded8cb90> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x7153ded8cb90> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): with case_setup.test_file('_debugger_case_qthread4.py') as writer: original_additional_output_checks = writer.additional_output_checks def additional_output_checks(stdout, stderr): original_additional_output_checks(stdout, stderr) if 'On start called' not in stdout: raise AssertionError('Expected "On start called" to be in stdout:\n%s' % (stdout,)) if 'Done sleeping' not in stdout: raise AssertionError('Expected "Done sleeping" to be in stdout:\n%s' % (stdout,)) if 'native Qt signal is not callable' in stderr: raise AssertionError('Did not expect "native Qt signal is not callable" to be in stderr:\n%s' % (stderr,)) breakpoint_id = writer.write_add_breakpoint(28, 'on_start') # breakpoint on print('On start called2'). writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x7153e40b0ae0> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x7153e40b0ae0> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x7153ded8cb90> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): > with case_setup.test_file('_debugger_case_qthread4.py') as writer: tests_python/test_debugger.py:1226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nOn start call...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['On start called1\n', 'On start called2\n', 'Done sleeping\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E On start called1 E On start called2 E Done sleeping E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None E write_add_breakpoint: 1 line: 28 func: on_start E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_case_qthread40/pydevd_debug_file_15048.15092.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '36671', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 15092 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 36671 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py Logging to: /tmp/pytest-of-buildd/pytest-3/test_case_qthread40/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 54238) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '103\t4\t' stdout: On start called1 stdout: On start called2 stdout: Done sleeping stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15092_id_124237486608464 Test Reader Thread Received 104 6 pid_15092_id_124237486608464 Message returned in get_next_message(): 104 6 pid_15092_id_124237486608464 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '104\t6\tpid_15092_id_124237486608464' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ___________ test_multiprocessing_simple[_debugger_case_python_c.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153deb99650> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153e40b3920> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7153deb99650> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(file_to_check) as writer: break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') writer.write_add_breakpoint(break1_line) writer.write_add_breakpoint(break2_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break1_line) writer2.write_add_breakpoint(break2_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() hit2 = writer.wait_for_breakpoint_hit() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2583: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7153deb99650> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(file_to_check) as writer: tests_python/test_debugger.py:2535: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None E write_add_breakpoint: 1 line: 10 func: None E write: CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None E write_add_breakpoint: 2 line: 21 func: None E write: CMD_RUN: 101 7 E write_make_initial_run E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_multiprocessing_simple__d0/pydevd_debug_file_15048.15104.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '45941', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 15104 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 45941 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py Logging to: /tmp/pytest-of-buildd/pytest-3/test_multiprocessing_simple__d0/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 48374) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None Test Writer Thread Written CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None Test Writer Thread Written CMD_RUN: 101 7 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '103\t4\t' Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2583, in test_multiprocessing_simple raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ____________ test_subprocess_quoted_args[_debugger_case_quoting.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153e40a0a50> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153e4118c20> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7153e40a0a50> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7153e40a0a50> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nbreak here\nTEST SUC...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['break here\n', 'TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E break here E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None E write_add_breakpoint: 1 line: 23 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_quoted_args__d0/pydevd_debug_file_15048.15117.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '45087', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 15117 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 45087 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py Logging to: /tmp/pytest-of-buildd/pytest-3/test_subprocess_quoted_args__d0/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 57018) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: break here stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15117_id_125697809240272 Test Reader Thread Received 104 6 pid_15117_id_125697809240272 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ________ test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] _________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153de899710> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153e40b3600> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7153de899710> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7153de899710> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None E write_add_breakpoint: 1 line: 18 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_quoted_args__d1/pydevd_debug_file_15048.15130.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '40573', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 15130 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 40573 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py Logging to: /tmp/pytest-of-buildd/pytest-3/test_subprocess_quoted_args__d1/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 45458) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15130_id_123222666105040 Test Reader Thread Received 104 6 pid_15130_id_123222666105040 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '38065'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153e51becd0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153e411ad40> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153e51becd0> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7153e4119800> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153e51becd0> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 38065 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_no_threads_0/pydevd_debug_file_15048.txt Both processes started Running: gdb --nw --nh --nx --pid 15143 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=38065, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '44693'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153dedf2c90> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153e40b3c40> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153dedf2c90> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7153e411b100> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153dedf2c90> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 44693 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_no_threads_1/pydevd_debug_file_15048.txt Both processes started Running: gdb --nw --nh --nx --pid 15156 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=44693, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '38567'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153defd7850> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153e411bd80> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153defd7850> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7153e411a7a0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153defd7850> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 125667098707232\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 125667098707232\n', 'Secondary thread ident should be: 125667090493728\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 125667098707232 E Secondary thread ident should be: 125667090493728 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 38567 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_halted0/pydevd_debug_file_15048.txt Both processes started stdout: Main thread ident should be: 125667098707232 stdout: Secondary thread ident should be: 125667090493728 Running: gdb --nw --nh --nx --pid 15169 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=38567, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_remote_debugger_multi_proc[True] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '37383', '--access-token', 'tok123', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153e40e1250> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = 'tok123', client_access_token = 'tok456' append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x7153e4118220>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153e41185e0> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153e40e1250> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153e40e1250> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E write: CMD_AUTHENTICATE: 205 5 tok123 E write: CMD_RUN: 101 7 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 4 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 9 pid_15183_id_138465572890256 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro0/pydevd_debug_file_15048.15183.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:37383 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.03s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.00s - debugger: received >>205 5 tok123<< E E 0.00s - Received command: CMD_AUTHENTICATE 205 5 tok123 E E 0.00s - sending cmd (quoted-line) --> CMD_AUTHENTICATE tok456 E E 0.00s - debugger: received >>101 7 << E E 0.00s - Received command: CMD_RUN 101 7 E E 0.07s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 138465582007584)>, thread id: pid_15183_id_138465572890256, id(thread): 138465572890256 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 9 pid_15183_id_138465572890256<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_15183_id_138465572890256 E E 0.00s - Resuming threads: pid_15183_id_138465572890256 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_15183_id_138465572890256 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 138465582007584)> (pid_15183_id_138465572890256) 138465572890256 E 0.28s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.50s - The following pydb threads may not have finished correctly: pydevd.Reader, pydevd.CommandThread E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro0/pydevd_debug_file_15048.15199.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 37383 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro0/pydevd_debug_file_15048.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 53130) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 901 1 Client not authenticated. Test Reader Thread Received 901 1 Client not authenticated. Test Writer Thread Written CMD_RUN: 101 3 Message returned in get_next_message(): 901 1 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2984, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_AUTHENTICATE: 205 5 tok123 Test Reader Thread Received 901 3 Client not authenticated. Test Reader Thread Received 901 3 Client not authenticated. Test Reader Thread Received 205 5 tok456 Test Reader Thread Received 205 5 tok456 Message returned in get_next_message(): 901 3 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Ignored message: '901\t3\tClient not authenticated.' Message returned in get_next_message(): 205 5 tok456 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_RUN: 101 7 Test Reader Thread Received 105 4 Test Reader Thread Received 105 4 Message returned in get_next_message(): 105 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 9 pid_15183_id_138465572890256 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 6 pid_15183_id_138465572890256 -1 Test Reader Thread Received 106 6 pid_15183_id_138465572890256 -1 stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ____________________ test_remote_debugger_multi_proc[False] ____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '41401'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153e40902d0> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x7153e4134040>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153e4134180> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153e40902d0> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153e40902d0> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...all_pydevd_threads: finished\n0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished\n0.00s - pydevd.stoptrace()\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 5 pid_15201_id_136080089294160 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro1/pydevd_debug_file_15048.15217.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro1/pydevd_debug_file_15048.15201.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:41401 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.01s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_VERSION @@BUILD_NUMBER@@ E E 0.02s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.08s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_CREATE E E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 136080098411808)>, thread id: pid_15201_id_136080089294160, id(thread): 136080089294160 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 5 pid_15201_id_136080089294160<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_15201_id_136080089294160 E E 0.00s - Resuming threads: pid_15201_id_136080089294160 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_15201_id_136080089294160 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 136080098411808)> (pid_15201_id_136080089294160) 136080089294160 E 0.22s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_15201_id_136080089294160 E E 0.06s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 41401 Logging to: /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro1/pydevd_debug_file_15048.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 37970) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_RUN: 101 3 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '103\t4\t' Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 5 pid_15201_id_136080089294160 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 8 pid_15201_id_136080089294160 -1 Test Reader Thread Received 106 8 pid_15201_id_136080089294160 -1 stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py Test Reader Thread Received 104 10 pid_15201_id_136080089294160 Test Reader Thread Received 104 10 pid_15201_id_136080089294160 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '44257'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153dede8450> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153def95d00> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153dede8450> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7153def96160> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153dede8450> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 44257 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_True_0/pydevd_debug_file_15048.txt Both processes started Running: gdb --nw --nh --nx --pid 15219 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=44257, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '39103'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153de96f0d0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153def2d1c0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153de96f0d0> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7153def2d6c0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153de96f0d0> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 39103 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_False_0/pydevd_debug_file_15048.txt Both processes started Running: gdb --nw --nh --nx --pid 15232 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=39103, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_subprocess_pydevd_customization[] ____________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '39031'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153e411c750> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = [] kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153def2da80> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153e411c750> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x71541bf6bec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x7153def2e0c0> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153e411c750> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...terThread: CMD_EXIT received\n0.00s - WriterThread: exit\n0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi0/pydevd_debug_file_15048.15262.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi0/pydevd_debug_file_15048.15245.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '39031'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:39031 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.04s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15245, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 131628942902560)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 131628942902560)>, thread id: pid_15245_id_131628933922320, id(thread): 131628933922320 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 131628942902560)> (pid_15245_id_131628933922320) 131628933922320 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.25s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.03s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 39031 Logging to: /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi0/pydevd_debug_file_15048.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 43752) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15245, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15245, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15245, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--use-c-switch] _____________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '35617', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153dc1ac7d0> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--use-c-switch', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153debe87c0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153dc1ac7d0> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x71541bf6bec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x7153debe9300> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153dc1ac7d0> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...Reader, pydevd.CommandThread\n0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished\n0.00s - pydevd.stoptrace()\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi1/pydevd_debug_file_15048.15282.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi1/pydevd_debug_file_15048.15265.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '35617', '-', '-', 'u', 's', 'e', '-', 'c', '-', 's', 'w', 'i', 't', 'c', 'h'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:35617 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.04s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15265, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 128162874672416)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 128162874672416)>, thread id: pid_15265_id_128162865692176, id(thread): 128162865692176 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 128162874672416)> (pid_15265_id_128162865692176) 128162865692176 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.25s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.03s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader, pydevd.CommandThread E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 35617 - - u s e - c - s w i t c h Logging to: /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi1/pydevd_debug_file_15048.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 45280) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15265, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15265, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15265, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--posix-spawn] ______________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '42383', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153de640310> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--posix-spawn', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153debeb060> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7153de640310> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x71541bf6bec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x7153debea5c0> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7153de640310> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi2/pydevd_debug_file_15048.15284.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '42383', '-', '-', 'p', 'o', 's', 'i', 'x', '-', 's', 'p', 'a', 'w', 'n'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:42383 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.04s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15284, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 133504183190816)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 133504183190816)>, thread id: pid_15284_id_133504174210576, id(thread): 133504174210576 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 133504183190816)> (pid_15284_id_133504174210576) 133504174210576 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.23s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.05s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi2/pydevd_debug_file_15048.15301.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 42383 - - p o s i x - s p a w n Logging to: /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi2/pydevd_debug_file_15048.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 55486) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15284, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15284, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15284, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** __________________________ test_subprocess_then_fork ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153dedb2010> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153debea7a0> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7153dedb2010> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: json_facade = JsonFacade(writer) json_facade.write_launch(justMyCode=False) break_line = writer.get_line_index_with_content('break here') json_facade.write_set_breakpoints([break_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note that we accept 2 connections and then we proceed to receive the breakpoints. json_facades = [] for i in range(2): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess %s waiting on server_socket.accept()' % (i,)) new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess %s completed server_socket.accept()' % (i,)) reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess %s Reader Thread' % i reader_thread.start() writer.log.append(' *** Multiprocess %s started ReaderThread' % (i,)) writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess %s write: ' % i writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) writer.log.append(' *** Multiprocess %s write attachThread' % (i,)) json_facade2.write_attach(justMyCode=False) writer.log.append(' *** Multiprocess %s write set breakpoints' % (i,)) json_facade2.write_set_breakpoints([break_line]) writer.log.append(' *** Multiprocess %s write make initial run' % (i,)) json_facade2.write_make_initial_run() json_facades.append(json_facade2) for i, json_facade3 in enumerate(json_facades): writer.log.append(' *** Multiprocess %s wait for thread stopped' % (i,)) json_facade3.wait_for_thread_stopped(line=break_line) writer.log.append(' *** Multiprocess %s continue' % (i,)) json_facade3.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(20) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:4925: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7153dedb2010> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: tests_python/test_debugger_json.py:4864: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} E *** Multiprocess 0 waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_then_fork0/pydevd_debug_file_15048.15304.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '41589', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 15304 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 41589 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py Logging to: /tmp/pytest-of-buildd/pytest-3/test_subprocess_then_fork0/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 41224) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 319 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 15304, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 15304, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 15304, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} Test Reader Thread Received Content-Length: 360 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4869, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4921, in test_subprocess_then_fork Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4925, in test_subprocess_then_fork raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ______________________ test_no_subprocess_patching[True] _______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153e534fe90> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0x7153debe9620>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153debe9120> key = 'update_command_line_args' value = .update_command_line_args at 0x7153debe9620> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7153e534fe90> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:5001: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7153e534fe90> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret > with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: tests_python/test_debugger_json.py:4945: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_no_subprocess_patching_Tr0/pydevd_debug_file_15048.15318.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '38831', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 15318 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 38831 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py apply-multiprocessing-patch Logging to: /tmp/pytest-of-buildd/pytest-3/test_no_subprocess_patching_Tr0/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 47762) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 15318, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 15318, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 15318, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} Test Reader Thread Received Content-Length: 585 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4954, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4994, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} Test Reader Thread Received Content-Length: 305 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 417 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502}Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} stdout: TEST SUCEEDED! Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502}Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Message returned in get_next_message(): {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 24, "pydevd_cmd_id": 104} Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 26, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 5001, in test_no_subprocess_patching raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _______________________________ test_logging_api _______________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7153dc4a2250> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0x7153def68cc0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7153def68d60> key = 'get_environ' value = .get_environ at 0x7153def68cc0> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x7153dc4a2250> tmpdir = local('/tmp/pytest-of-buildd/pytest-3/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content("break on 2nd process") json_facade.write_set_breakpoints([break1_line]) server_socket = writer.server_socket secondary_finished_ok = [False] class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, ]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_finished_ok[0] = True secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:6367: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x7153dc4a2250> tmpdir = local('/tmp/pytest-of-buildd/pytest-3/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env > with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: tests_python/test_debugger_json.py:6318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...un(setup['file'], None, None, is_module)\n", ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main E globals = debugger.run(setup['file'], None, None, is_module) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run E return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec E globals = pydevd_runpy.run_path(file, globals, '__main__') E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path E return _run_module_code(code, init_globals, run_name, E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code E _run_code(code, mod_globals, init_globals, E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code E exec(code, run_globals) E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in E log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-3/test_logging_api0/pydevd_in_test_logging.15342.log' E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-3/test_logging_api0/pydevd_debug_file_15048.15342.txt ------------------ E E 0.00s - Something in print-debug E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_logging_api0/pydevd_debug_file_15048.15331.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '39453', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 15331 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 39453 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py Logging to: /tmp/pytest-of-buildd/pytest-3/test_logging_api0/pydevd_debug_file_15048.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 56608) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 307 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 15331, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 15331, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 15331, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} Test Reader Thread Received Content-Length: 349 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6326, in test_logging_api Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6364, in test_logging_api Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 14, "pydevd_cmd_id": 104} Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 16, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main stderr: globals = debugger.run(setup['file'], None, None, is_module) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run stderr: return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec stderr: globals = pydevd_runpy.run_path(file, globals, '__main__') stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path stderr: return _run_module_code(code, init_globals, run_name, stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code stderr: _run_code(code, mod_globals, init_globals, stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code stderr: exec(code, run_globals) stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in stderr: log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-3/test_logging_api0/pydevd_in_test_logging.15342.log' *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6367, in test_logging_api raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87 /usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87: DeprecationWarning: module 'sre_constants' is deprecated import sre_constants ../../../../../../usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15 /usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 from cgi import parse_header ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:49 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_fixtures.py:49: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_pydevd_io.py:123 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_pydevd_io.py:123: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:121 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_tracing_on_top_level.py:121: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_case_qthread1 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread2 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread3 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread4 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED tests_python/test_debugger_json.py::test_subprocess_then_fork - Assert... FAILED tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED tests_python/test_debugger_json.py::test_logging_api - AssertionError:... ==== 20 failed, 768 skipped, 8 deselected, 7 warnings in 381.70s (0:06:21) ===== =============================================================================== pydev pyunit runner: Threads still found running after tests finished ================================= Thread Dump ================================= ------------------------------------------------------------------------------- Thread Thread-93 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/conftest.py", line 118, in run for filename, lineno, name, line in traceback.extract_stack(stack): ------------------------------------------------------------------------------- Thread Thread-92 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6342, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-87 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4972, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-82 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4889, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-77 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-72 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-67 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-59 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-55 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-54 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-49 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-41 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-37 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-33 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-32 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-27 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-22 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2558, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread MainThread (daemon: False) File "/usr/lib/python3.11/threading.py", line 1583, in _shutdown lock.acquire() =============================== END Thread Dump ===============================*** END OF RUN 4: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** STARTING RUN 5: python3.11 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.11.0rc2+, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.11 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.11 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages site.getsitepackages(): ['/usr/local/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.11/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.11_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots SKIPPED (Test passed in previous runs) [ 2%] tests/test_check_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 SKIPPED (Test passed in previous runs) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_async SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_hello SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_console_requests SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_search SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure SKIPPED (Test passed in previous runs) [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list SKIPPED (Requires CPython >= 3.6 < 3.11) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_simple SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_debugger_connected SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_source_reference SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_relative_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_zip_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_source_mapping SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_referrers SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_2 SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_3 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_5 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_6 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_7 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_8 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_9 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_10 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_11 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_12 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_13 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_14 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_15 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_17 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_17a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_18 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_19 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_20 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_flask SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_b SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_cython SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_qthread1 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread2 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread3 FAILED [ 21%] tests_python/test_debugger.py::test_case_qthread4 FAILED [ 21%] tests_python/test_debugger.py::test_m_switch SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_module_entry_point SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_set_next_statement SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_type_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_event_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_settrace SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_path_translation[False] SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_linecache_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_evaluate_errors SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_list_threads SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_print SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_method_single_line SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_suspension_policy SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_debug_zip_files SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_reload SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_custom_frames SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 30%] tests_python/test_debugger.py::test_gevent_remote SKIPPED (Gevent not installed.) [ 31%] tests_python/test_debugger.py::test_return_value SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_gettr_warning SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_step_return_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 SKIPPED (Needs bytecode support in Python 3.11) [ 33%] tests_python/test_debugger.py::test_step_over_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_access_token SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_namedtuple SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_in SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_notify_stdin SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_process_event SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_update_rules SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_completions_json SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_modules SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_dict_ordered SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_getattr_warning SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_hex_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stopped_event SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_stepping SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_stack_levels SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_goto SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python SKIPPED (Gevent not installed.) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python SKIPPED (Gevent not installed.) [ 55%] tests_python/test_debugger_json.py::test_notify_gevent SKIPPED (Gevent not installed / Sometimes the debugger crashes on Windows as the compiled extensions conflict with gevent.) [ 55%] tests_python/test_debugger_json.py::test_ppid SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_module_crash SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_access_token SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_json_message SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_global_scope SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr SKIPPED (Needs bytecode support in Python 3.11) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_replace_process SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_logging_api FAILED [ 63%] tests_python/test_dump_threads.py::test_dump_threads SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_isidentifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running SKIPPED (Requires CPython >= 3.6) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] SKIPPED (Requires CPython >= 3.6) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints SKIPPED (Requires CPython >= 3.6) [ 68%] tests_python/test_null.py::test_null SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_filtering SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_io_redirector SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_debug_console SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_bytes SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_unicode SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_no_repr SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_frame SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_thread SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq SKIPPED (Only available for Python 3. / Requires bytecode support in Python 3.11) [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_is_main_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_find_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_log SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_tracing_other_threads SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_tracing_basic SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_find_main_thread_id SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify SKIPPED (Gevent not installed.) [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_import_token_from_module SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication SKIPPED (Test passed in previous runs) [100%] =================================== FAILURES =================================== ______________________________ test_case_qthread1 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99fe44750> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x78d99fe44750> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): with case_setup.test_file('_debugger_case_qthread1.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , reason = (111,) timeout = None, kwargs = {}, line = None, file = None, name = None accept_message = .accept_message at 0x78d99fe90040> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x78d99fe90040> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x78d99fe44750> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread1(case_setup): > with case_setup.test_file('_debugger_case_qthread1.py') as writer: tests_python/test_debugger.py:1169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing 0\...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing 0\n', 'Increasing 1\n', 'Increasing 2\n', 'Increasing 3\n', 'Increasing 4\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing 0 E Increasing 1 E Increasing 2 E Increasing 3 E Increasing 4 E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None E write_add_breakpoint: 1 line: 22 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_case_qthread10/pydevd_debug_file_15344.15352.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '32949', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 15352 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 32949 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py Logging to: /tmp/pytest-of-buildd/pytest-4/test_case_qthread10/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 37214) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py 22 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '103\t4\t' stdout: Increasing 0 stdout: Increasing 1 stdout: Increasing 2 stdout: Increasing 3 stdout: Increasing 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15352_id_136403491016784 Test Reader Thread Received 104 6 pid_15352_id_136403491016784 Message returned in get_next_message(): 104 6 pid_15352_id_136403491016784 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 Ignored message: '104\t6\tpid_15352_id_136403491016784' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1173, in test_case_qthread1 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread2 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99d48cfd0> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x78d99d48cfd0> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): with case_setup.test_file('_debugger_case_qthread2.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'long_running') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , reason = (111,) timeout = None, kwargs = {}, line = None, file = None, name = None accept_message = .accept_message at 0x78d99feef240> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x78d99feef240> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x78d99d48cfd0> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread2(case_setup): > with case_setup.test_file('_debugger_case_qthread2.py') as writer: tests_python/test_debugger.py:1187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None E write_add_breakpoint: 1 line: 27 func: long_running E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_case_qthread20/pydevd_debug_file_15344.15364.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '33267', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 15364 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 33267 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py Logging to: /tmp/pytest-of-buildd/pytest-4/test_case_qthread20/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 44486) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py 27 long_running None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15364_id_130634295201872 Test Reader Thread Received 104 6 pid_15364_id_130634295201872 Message returned in get_next_message(): 104 6 pid_15364_id_130634295201872 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 Ignored message: '104\t6\tpid_15364_id_130634295201872' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1191, in test_case_qthread2 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread3 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99d990b90> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x78d99d990b90> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): with case_setup.test_file('_debugger_case_qthread3.py') as writer: breakpoint_id = writer.write_add_breakpoint(writer.get_line_index_with_content('break here'), 'run') writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1210: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x78d99fe90d60> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x78d99fe90d60> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x78d99d990b90> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread3(case_setup): > with case_setup.test_file('_debugger_case_qthread3.py') as writer: tests_python/test_debugger.py:1206: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nIncreasing\nI...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'Increasing\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E Increasing E Increasing E Increasing E Increasing E Increasing E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None E write_add_breakpoint: 1 line: 25 func: run E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_case_qthread30/pydevd_debug_file_15344.15376.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '42007', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 15376 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 42007 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py Logging to: /tmp/pytest-of-buildd/pytest-4/test_case_qthread30/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 49712) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py 25 run None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '103\t4\t' stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: Increasing stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15376_id_135596902436944 Test Reader Thread Received 104 6 pid_15376_id_135596902436944 Message returned in get_next_message(): 104 6 pid_15376_id_135596902436944 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 Ignored message: '104\t6\tpid_15376_id_135596902436944' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1210, in test_case_qthread3 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ______________________________ test_case_qthread4 ______________________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99d5911d0> filename = '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py' wait_for_port = True, wait_for_initialization = True, kwargs = {} shutil = writer = @contextmanager def test_file( self, filename, wait_for_port=True, wait_for_initialization=True, **kwargs ): import shutil filename = debugger_unittest._get_debugger_test_file(filename) if self.check_non_ascii: basedir = str(tmpdir) if isinstance(basedir, bytes): basedir = basedir.decode('utf-8') if isinstance(filename, bytes): filename = filename.decode('utf-8') new_dir = os.path.join(basedir, self.NON_ASCII_CHARS) os.makedirs(new_dir) new_filename = os.path.join(new_dir, self.NON_ASCII_CHARS + os.path.basename(filename)) shutil.copyfile(filename, new_filename) filename = new_filename WriterThread.TEST_FILE = filename for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with runner.check_case( WriterThread, wait_for_port=wait_for_port, wait_for_initialization=wait_for_initialization ) as writer: > yield writer tests_python/debugger_fixtures.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup = .CaseSetup object at 0x78d99d5911d0> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): with case_setup.test_file('_debugger_case_qthread4.py') as writer: original_additional_output_checks = writer.additional_output_checks def additional_output_checks(stdout, stderr): original_additional_output_checks(stdout, stderr) if 'On start called' not in stdout: raise AssertionError('Expected "On start called" to be in stdout:\n%s' % (stdout,)) if 'Done sleeping' not in stdout: raise AssertionError('Expected "Done sleeping" to be in stdout:\n%s' % (stdout,)) if 'native Qt signal is not callable' in stderr: raise AssertionError('Did not expect "native Qt signal is not callable" to be in stderr:\n%s' % (stderr,)) breakpoint_id = writer.write_add_breakpoint(28, 'on_start') # breakpoint on print('On start called2'). writer.write_make_initial_run() > hit = writer.wait_for_breakpoint_hit() tests_python/test_debugger.py:1241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = (111,), timeout = None, kwargs = {}, line = None, file = None name = None accept_message = .accept_message at 0x78d99dd50720> def wait_for_breakpoint_hit(self, reason=REASON_STOP_ON_BREAKPOINT, timeout=None, **kwargs): ''' 108 is over 109 is return 111 is breakpoint :param reason: may be the actual reason (int or string) or a list of reasons. ''' # note: those must be passed in kwargs. line = kwargs.get('line') file = kwargs.get('file') name = kwargs.get('name') self.log.append('Start: wait_for_breakpoint_hit') # wait for hit breakpoint if not isinstance(reason, (list, tuple)): reason = (reason,) def accept_message(last): for r in reason: if ('stop_reason="%s"' % (r,)) in last: return True return False > msg = self.wait_for_message(accept_message, timeout=timeout) tests_python/debugger_unittest.py:992: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_message at 0x78d99dd50720> unquote_msg = True, expect_xml = True, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup = .CaseSetup object at 0x78d99d5911d0> @pytest.mark.skipif(not _has_qt(), reason='No qt available') def test_case_qthread4(case_setup): > with case_setup.test_file('_debugger_case_qthread4.py') as writer: tests_python/test_debugger.py:1226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:279: in test_file with runner.check_case( /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nOn start call...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['On start called1\n', 'On start called2\n', 'Done sleeping\n', 'TEST SUCEEDED!\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E On start called1 E On start called2 E Done sleeping E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None E write_add_breakpoint: 1 line: 28 func: on_start E write: CMD_RUN: 101 5 E write_make_initial_run E Start: wait_for_breakpoint_hit E write: CMD_THREAD_DUMP_TO_STDERR: 153 7 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_case_qthread40/pydevd_debug_file_15344.15388.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--client', '127.0.0.1', '--port', '44853', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 15388 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --client 127.0.0.1 --port 44853 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py Logging to: /tmp/pytest-of-buildd/pytest-4/test_case_qthread40/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 37796) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py 28 on_start None None Test Writer Thread Written CMD_RUN: 101 5 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '103\t4\t' stdout: On start called1 stdout: On start called2 stdout: Done sleeping stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15388_id_134891604332624 Test Reader Thread Received 104 6 pid_15388_id_134891604332624 Message returned in get_next_message(): 104 6 pid_15388_id_134891604332624 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 Ignored message: '104\t6\tpid_15388_id_134891604332624' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 7 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 284, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 1241, in test_case_qthread4 hit = writer.wait_for_breakpoint_hit() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 992, in wait_for_breakpoint_hit msg = self.wait_for_message(accept_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** ___________ test_multiprocessing_simple[_debugger_case_python_c.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99dd2dd90> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99dd53920> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x78d99dd2dd90> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(file_to_check) as writer: break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') writer.write_add_breakpoint(break1_line) writer.write_add_breakpoint(break2_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break1_line) writer2.write_add_breakpoint(break2_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() hit2 = writer.wait_for_breakpoint_hit() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2583: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x78d99dd2dd90> file_to_check = '_debugger_case_python_c.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('file_to_check', [ '_debugger_case_multiprocessing_2.py', '_debugger_case_multiprocessing.py', '_debugger_case_python_c.py', '_debugger_case_multiprocessing_pool.py' ]) def test_multiprocessing_simple(case_setup_multiprocessing, file_to_check): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(file_to_check) as writer: tests_python/test_debugger.py:2535: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None E write_add_breakpoint: 1 line: 10 func: None E write: CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None E write_add_breakpoint: 2 line: 21 func: None E write: CMD_RUN: 101 7 E write_make_initial_run E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_multiprocessing_simple__d0/pydevd_debug_file_15344.15400.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '35125', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 15400 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 35125 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py Logging to: /tmp/pytest-of-buildd/pytest-4/test_multiprocessing_simple__d0/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 46384) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 10 None None None Test Writer Thread Written CMD_SET_BREAK: 111 5 2 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py 21 None None None Test Writer Thread Written CMD_RUN: 101 7 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple Ignored message: '103\t4\t' Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2580, in test_multiprocessing_simple ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2583, in test_multiprocessing_simple raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ____________ test_subprocess_quoted_args[_debugger_case_quoting.py] ____________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99dd49f90> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99dd8cae0> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x78d99dd49f90> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x78d99dd49f90> target = '_debugger_case_quoting.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nbreak here\nTEST SUC...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['break here\n', 'TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E break here E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None E write_add_breakpoint: 1 line: 23 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_quoted_args__d0/pydevd_debug_file_15344.15413.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '41283', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 15413 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 41283 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py Logging to: /tmp/pytest-of-buildd/pytest-4/test_subprocess_quoted_args__d0/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 46012) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py 23 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: break here stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15413_id_138546712465616 Test Reader Thread Received 104 6 pid_15413_id_138546712465616 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ________ test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] _________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99dbdc090> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99dd53600> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x78d99dbdc090> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file(target) as writer: break_subprocess_line = writer.get_line_index_with_content('break here') writer.write_add_breakpoint(break_subprocess_line) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note: on linux on Python 2 because on Python 2 CPython subprocess.call will actually # create a fork first (at which point it'll connect) and then, later on it'll # call the main (as if it was a clean process as if PyDB wasn't created # the first time -- the debugger will still work, but it'll do an additional # connection. expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock writer2.write_version() writer2.write_add_breakpoint(break_subprocess_line) writer2.write_make_initial_run() hit = writer2.wait_for_breakpoint_hit() writer2.write_run_thread(hit.thread_id) secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() writer.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger.py:2728: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x78d99dbdc090> target = '_debugger_case_subprocess_zip.py' @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('target', [ '_debugger_case_quoting.py', '_debugger_case_subprocess_zip.py' ]) def test_subprocess_quoted_args(case_setup_multiprocessing, target): from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file(target) as writer: tests_python/test_debugger.py:2678: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None E write_add_breakpoint: 1 line: 18 func: None E write: CMD_RUN: 101 5 E write_make_initial_run E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_quoted_args__d1/pydevd_debug_file_15344.15426.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '33917', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 15426 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 33917 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py Logging to: /tmp/pytest-of-buildd/pytest-4/test_subprocess_quoted_args__d1/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 43752) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_BREAK: 111 3 1 python-line /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py 18 None None None Test Writer Thread Written CMD_RUN: 101 5 Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 stdout: TEST SUCEEDED! Test Reader Thread Received 104 6 pid_15426_id_125587548131536 Test Reader Thread Received 104 6 pid_15426_id_125587548131536 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2728, in test_subprocess_quoted_args raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '43893'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99fe7ddd0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99dd8ed40> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d99fe7ddd0> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x78d99dd8d800> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d99fe7ddd0> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 43893 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_no_threads_0/pydevd_debug_file_15344.txt Both processes started Running: gdb --nw --nh --nx --pid 15439 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=43893, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '37779'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99dafeed0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99dd53c40> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d99dafeed0> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x78d99dd8efc0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d99dafeed0> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 37779 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_no_threads_1/pydevd_debug_file_15344.txt Both processes started Running: gdb --nw --nh --nx --pid 15452 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=37779, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '42801'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99d6a6590> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99dd8fd80> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d99d6a6590> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x78d99dd8c040> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d99d6a6590> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 130960527213856\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 130960527213856\n', 'Secondary thread ident should be: 130960519000352\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 130960527213856 E Secondary thread ident should be: 130960519000352 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 42801 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_halted0/pydevd_debug_file_15344.txt Both processes started stdout: Main thread ident should be: 130960527213856 stdout: Secondary thread ident should be: 130960519000352 Running: gdb --nw --nh --nx --pid 15465 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=42801, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_remote_debugger_multi_proc[True] _____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '45933', '--access-token', 'tok123', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99dab7410> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = 'tok123', client_access_token = 'tok456' append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x78d99dd8fb00>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99dd8d760> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d99dab7410> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d99dab7410> authenticate = True @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...hed correctly: pydevd.Reader\n0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished\n0.00s - pydevd.stoptrace()\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E write: CMD_AUTHENTICATE: 205 5 tok123 E write: CMD_RUN: 101 7 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 4 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 9 pid_15479_id_134939939186320 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_remote_debugger_multi_pro0/pydevd_debug_file_15344.15495.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E E -------------------- /tmp/pytest-of-buildd/pytest-4/test_remote_debugger_multi_pro0/pydevd_debug_file_15344.15479.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:45933 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.04s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.00s - sending cmd (quoted-line) --> CMD_ERROR Client not authenticated. E E 0.00s - Error: Client not authenticated. E NoneType: None E 0.00s - debugger: received >>205 5 tok123<< E E 0.00s - Received command: CMD_AUTHENTICATE 205 5 tok123 E E 0.00s - sending cmd (quoted-line) --> CMD_AUTHENTICATE tok456 E E 0.00s - debugger: received >>101 7 << E E 0.00s - Received command: CMD_RUN 101 7 E E 0.07s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 134939948303648)>, thread id: pid_15479_id_134939939186320, id(thread): 134939939186320 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 9 pid_15479_id_134939939186320<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_15479_id_134939939186320 E E 0.00s - Resuming threads: pid_15479_id_134939939186320 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_15479_id_134939939186320 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 134939948303648)> (pid_15479_id_134939939186320) 134939939186320 E 0.28s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 45933 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-4/test_remote_debugger_multi_pro0/pydevd_debug_file_15344.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 47182) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 901 1 Client not authenticated. Test Reader Thread Received 901 1 Client not authenticated. Test Writer Thread Written CMD_RUN: 101 3 Message returned in get_next_message(): 901 1 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2984, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_AUTHENTICATE: 205 5 tok123 Test Reader Thread Received 901 3 Client not authenticated. Test Reader Thread Received 901 3 Client not authenticated. Test Reader Thread Received 205 5 tok456 Test Reader Thread Received 205 5 tok456 Message returned in get_next_message(): 901 3 Client not authenticated. -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Ignored message: '901\t3\tClient not authenticated.' Message returned in get_next_message(): 205 5 tok456 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2985, in test_remote_debugger_multi_proc Test Writer Thread Written CMD_RUN: 101 7 Test Reader Thread Received 105 4 Test Reader Thread Received 105 4 Message returned in get_next_message(): 105 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 9 pid_15479_id_134939939186320 Test Reader Thread Received 106 6 pid_15479_id_134939939186320 -1 Test Reader Thread Received 106 6 pid_15479_id_134939939186320 -1 stdout: after pydevd.settrace stdout: before call stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ____________________ test_remote_debugger_multi_proc[False] ____________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py', '32929'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d9d6ddbf50> filename = '_debugger_case_remote_1.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = () kwargs = {'EXPECTED_RETURNCODE': 'any', 'do_kill': .do_kill at 0x78d99dd365c0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99dd34180> key = 'EXPECTED_RETURNCODE', value = 'any' writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d9d6ddbf50> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: # It seems sometimes it becomes flaky on the ci because the process outlives the writer thread... # As we're only interested in knowing if a second connection was received, just kill the related # process. assert hasattr(writer, 'FORCE_KILL_PROCESS_WHEN_FINISHED_OK') writer.FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True writer.log.append('making initial run') writer.write_make_initial_run() if authenticate: writer.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) writer.write_authenticate(access_token=access_token, client_access_token=client_access_token) writer.write_make_initial_run() writer.log.append('waiting for breakpoint hit') hit = writer.wait_for_breakpoint_hit() writer.secondary_multi_proc_process_writer = secondary_multi_proc_process_writer = \ _SecondaryMultiProcProcessWriterThread(writer.server_socket) secondary_multi_proc_process_writer.start() writer.log.append('run thread') writer.write_run_thread(hit.thread_id) for _i in range(400): if secondary_multi_proc_process_writer.finished_ok: break time.sleep(.1) else: writer.log.append('Secondary process not finished ok!') > raise AssertionError('Secondary process not finished ok!') E AssertionError: Secondary process not finished ok! tests_python/test_debugger.py:3004: AssertionError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d9d6ddbf50> authenticate = False @pytest.mark.skipif(not IS_CPYTHON, reason='CPython only test.') @pytest.mark.parametrize('authenticate', [True, False]) def test_remote_debugger_multi_proc(case_setup_remote, authenticate): access_token = None client_access_token = None if authenticate: access_token = 'tok123' client_access_token = 'tok456' class _SecondaryMultiProcProcessWriterThread(debugger_unittest.AbstractWriterThread): FORCE_KILL_PROCESS_WHEN_FINISHED_OK = True def __init__(self, server_socket): debugger_unittest.AbstractWriterThread.__init__(self) self.server_socket = server_socket def run(self): print('waiting for second process') self.sock, addr = self.server_socket.accept() print('accepted second process') from tests_python.debugger_unittest import ReaderThread self.reader_thread = ReaderThread(self.sock) self.reader_thread.name = 'Secondary Reader Thread' self.reader_thread.start() self._sequence = -1 # initial command is always the version self.write_version() if authenticate: self.wait_for_message(lambda msg:'Client not authenticated.' in msg, expect_xml=False) self.write_authenticate(access_token=access_token, client_access_token=client_access_token) self.write_version() self.log.append('start_socket') self.write_make_initial_run() time.sleep(.5) self.finished_ok = True def do_kill(writer): debugger_unittest.AbstractWriterThread.do_kill(writer) if hasattr(writer, 'secondary_multi_proc_process_writer'): writer.secondary_multi_proc_process_writer.do_kill() > with case_setup_remote.test_file( '_debugger_case_remote_1.py', do_kill=do_kill, EXPECTED_RETURNCODE='any', access_token=access_token, client_access_token=client_access_token, ) as writer: tests_python/test_debugger.py:2966: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'Secondary process not finished ok!\n\n===========================\nStdout: \nbefore pydevd.settrace\nafter pydevd.set...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n', 'before call\n', 'Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'AssertionError\n', 'Traceback (most recent call last):\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: Secondary process not finished ok! E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E before call E Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in E assert pydevd.GetGlobalDebugger() is not None E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E AssertionError E Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in E subprocess.check_call([sys.executable, '-u', f]) E File "/usr/lib/python3.11/subprocess.py", line 413, in check_call E raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E making initial run E write: CMD_RUN: 101 3 E write_make_initial_run E waiting for breakpoint hit E Start: wait_for_breakpoint_hit E End(1): wait_for_breakpoint_hit: 105 6 E run thread E write_run_thread E write: CMD_THREAD_RUN: 106 5 pid_15497_id_125175972832592 E Secondary process not finished ok! E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_remote_debugger_multi_pro1/pydevd_debug_file_15344.15497.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - sending cmd (quoted-line) --> CMD_SET_PROTOCOL E E 0.00s - Connecting to 127.0.0.1:32929 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - sending cmd (quoted-line) --> CMD_VERSION @@BUILD_NUMBER@@ E E 0.04s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.06s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_CREATE E E 0.00s - PyDB.do_wait_suspend E name: (line: 36) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 125175981950240)>, thread id: pid_15497_id_125175972832592, id(thread): 125175972832592 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py, , 36 E 0.00s - sending cmd (quoted-line) --> CMD_THREAD_SUSPEND E E 0.00s - debugger: received >>106 5 pid_15497_id_125175972832592<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_15497_id_125175972832592 E E 0.00s - Resuming threads: pid_15497_id_125175972832592 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_15497_id_125175972832592 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 125175981950240)> (pid_15497_id_125175972832592) 125175972832592 E 0.23s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_15497_id_125175972832592 E E 0.05s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E E -------------------- /tmp/pytest-of-buildd/pytest-4/test_remote_debugger_multi_pro1/pydevd_debug_file_15344.15513.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py 32929 Logging to: /tmp/pytest-of-buildd/pytest-4/test_remote_debugger_multi_pro1/pydevd_debug_file_15344.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 59484) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_RUN: 101 3 Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '501\t1\t@@BUILD_NUMBER@@' Test Reader Thread Received 103 4 Test Reader Thread Received 103 4 Test Reader Thread Received 105 6 Test Reader Thread Received 105 6 Message returned in get_next_message(): 103 4 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc Ignored message: '103\t4\t' Message returned in get_next_message(): 105 6 -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2989, in test_remote_debugger_multi_proc waiting for second process Test Writer Thread Written CMD_THREAD_RUN: 106 5 pid_15497_id_125175972832592 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 8 pid_15497_id_125175972832592 -1 Test Reader Thread Received 106 8 pid_15497_id_125175972832592 -1 stdout: Run as main: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py Test Reader Thread Received 104 10 pid_15497_id_125175972832592 Test Reader Thread Received 104 10 pid_15497_id_125175972832592 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py", line 7, in stderr: assert pydevd.GetGlobalDebugger() is not None stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: AssertionError stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_1.py", line 45, in stderr: subprocess.check_call([sys.executable, '-u', f]) stderr: File "/usr/lib/python3.11/subprocess.py", line 413, in check_call stderr: raise CalledProcessError(retcode, cmd) stderr: subprocess.CalledProcessError: Command '['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_remote_2.py']' returned non-zero exit status 1. *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 3004, in test_remote_debugger_multi_proc raise AssertionError('Secondary process not finished ok!') AssertionError: Secondary process not finished ok! *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '36123'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99d483e10> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99d64dc60> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d99d483e10> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x78d99d64e0c0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d99d483e10> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 36123 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_True_0/pydevd_debug_file_15344.txt Both processes started Running: gdb --nw --nh --nx --pid 15515 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=36123, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '41143'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99d8d8150> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99dd8fb00> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d99d8d8150> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x78d99d64dee0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d99d8d8150> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 41143 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_False_0/pydevd_debug_file_15344.txt Both processes started Running: gdb --nw --nh --nx --pid 15528 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=41143, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ____________________ test_subprocess_pydevd_customization[] ____________________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '37073'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99dbc0ad0> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None, append_command_line_args = [] kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99d547880> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d99dbc0ad0> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x78d9d6c2bec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x78d99d544720> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d99dbc0ad0> command_line_args = '' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi0/pydevd_debug_file_15344.15541.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '37073'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:37073 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15541, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 138750104913184)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 138750104913184)>, thread id: pid_15541_id_138750095932944, id(thread): 138750095932944 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 138750104913184)> (pid_15541_id_138750095932944) 138750095932944 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.27s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.01s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi0/pydevd_debug_file_15344.15558.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.11s - Using Cython speedups E 0.03s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 37073 Logging to: /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi0/pydevd_debug_file_15344.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 51694) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15541, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15541, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15541, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--use-c-switch] _____________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '33525', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99c1dfe90> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--use-c-switch', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99d5463e0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d99c1dfe90> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x78d9d6c2bec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x78d99d545940> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d99c1dfe90> command_line_args = '--use-c-switch' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...6.8ee4065+ds/.pybuild/cpython3_3.11_pydevd/build/pydevd.py\n0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi1/pydevd_debug_file_15344.15560.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '33525', '-', '-', 'u', 's', 'e', '-', 'c', '-', 's', 'w', 'i', 't', 'c', 'h'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:33525 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.00s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15560, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 135162721223968)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 135162721223968)>, thread id: pid_15560_id_135162712243728, id(thread): 135162712243728 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.00s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.04s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.00s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 135162721223968)> (pid_15560_id_135162712243728) 135162712243728 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.22s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.02s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi1/pydevd_debug_file_15344.15577.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 33525 - - u s e - c - s w i t c h Logging to: /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi1/pydevd_debug_file_15344.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 39098) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15560, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15560, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15560, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502}Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** _____________ test_subprocess_pydevd_customization[--posix-spawn] ______________ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: > msg = self._queue.get(block=True, timeout=timeout) tests_python/debugger_unittest.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = True, timeout = 15 def get(self, block=True, timeout=None): '''Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary until an item is available. If 'timeout' is a non-negative number, it blocks at most 'timeout' seconds and raises the Empty exception if no item was available within that time. Otherwise ('block' is false), return an item if one is immediately available, else raise the Empty exception ('timeout' is ignored in that case). ''' with self.not_empty: if not block: if not self._qsize(): raise Empty elif timeout is None: while not self._qsize(): self.not_empty.wait() elif timeout < 0: raise ValueError("'timeout' must be a non-negative number") else: endtime = time() + timeout while not self._qsize(): remaining = endtime - time() if remaining <= 0.0: > raise Empty E _queue.Empty /usr/lib/python3.11/queue.py:179: Empty During handling of the above exception, another exception occurred: self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '35407', '-', '-', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d984eb9e90> filename = '_debugger_case_pydevd_customization.py', wait_for_port = True access_token = None, client_access_token = None append_command_line_args = '--posix-spawn', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99d5444a0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x78d984eb9e90> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: json_facade = JsonFacade(writer, send_json_startup_messages=False) json_facade.writer.write_multi_threads_single_notification(True) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess waiting on server_socket.accept()') new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess completed server_socket.accept()') reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer.log.append(' *** Multiprocess started ReaderThread') writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess write: ' writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() > json_facade.wait_for_thread_stopped() tests_python/test_debugger_json.py:4851: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = reason = 'breakpoint', line = None, file = None, name = None preserve_focus_hint = None def wait_for_thread_stopped(self, reason='breakpoint', line=None, file=None, name=None, preserve_focus_hint=None): ''' :param file: utf-8 bytes encoded file or unicode ''' > stopped_event = self.wait_for_json_message(StoppedEvent) tests_python/test_debugger_json.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_class = accept_message = at 0x78d9d6c2bec0> def wait_for_json_message(self, expected_class, accept_message=lambda obj:True): def accept_json_message(msg): if msg.startswith('{'): decoded_msg = from_json(msg) self._all_json_messages_found.append(_MessageWithMark(decoded_msg)) if isinstance(decoded_msg, expected_class): if accept_message(decoded_msg): return True return False > msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) tests_python/test_debugger_json.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = accept_message = .accept_json_message at 0x78d99d546f20> unquote_msg = False, expect_xml = False, timeout = None def wait_for_message(self, accept_message, unquote_msg=True, expect_xml=True, timeout=None): if isinstance(accept_message, (str, int)): msg_starts_with = '%s\t' % (accept_message,) def accept_message(msg): return msg.startswith(msg_starts_with) import untangle from io import StringIO prev = None while True: > last = self.get_next_message('wait_for_message', timeout=timeout) tests_python/debugger_unittest.py:1342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = None def get_next_message(self, context_message, timeout=None): > return self.reader_thread.get_next_message(context_message, timeout=timeout) tests_python/debugger_unittest.py:834: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_message = 'wait_for_message', timeout = 15 def get_next_message(self, context_message, timeout=None): if timeout is None: timeout = self.MESSAGES_TIMEOUT try: msg = self._queue.get(block=True, timeout=timeout) self.on_message_found(msg) except: > raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) E TimeoutError: No message was written in 15 seconds. Error message: E wait_for_message tests_python/debugger_unittest.py:214: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x78d984eb9e90> command_line_args = '--posix-spawn' @pytest.mark.parametrize('command_line_args', PYDEVD_CUSTOMIZATION_COMMAND_LINE_ARGS) def test_subprocess_pydevd_customization(case_setup_remote, command_line_args): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_remote.test_file( '_debugger_case_pydevd_customization.py', append_command_line_args=command_line_args if command_line_args else [], ) as writer: tests_python/test_debugger_json.py:4793: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError (note: error trying to dump threads on timeout).\n\n===========================\nStdout: \nbefore pydevd...00s - PyDB.dispose_and_kill_all_pydevd_threads: finished\n0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished\n' stdout = ['before pydevd.settrace\n', 'after pydevd.settrace\n'] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...d b"called" in stdout:\\n>>%s<<\\nstderr:\\n>>%s<<\\n\' % (stdout, stderr)\n', ' ^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError (note: error trying to dump threads on timeout). E E =========================== E Stdout: E before pydevd.settrace E after pydevd.settrace E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main E assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) E ^^^^^^^^^^^^^^^^^^^ E AssertionError: Did not find b"called" in stdout: E >>b''<< E stderr: E >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< E E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} E *** Multiprocess waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} E write: CMD_THREAD_DUMP_TO_STDERR: 153 15 E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi2/pydevd_debug_file_15344.15596.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi2/pydevd_debug_file_15344.15579.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '35407', '-', '-', 'p', 'o', 's', 'i', 'x', '-', 's', 'p', 'a', 'w', 'n'] E 0.00s - pydevd: Use libraries filter: False E E 0.00s - IDE_PROJECT_ROOTS [] E E 0.00s - Collecting default library roots. E 0.00s - LIBRARY_ROOTS ['/<>/debian/.debhelper/generated/_source/home/.local/lib/python3.11/site-packages', '/usr/lib/python3.11', '/usr/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', '/usr/local/lib/python3.11/dist-packages'] E E 0.00s - Connecting to 127.0.0.1:35407 E 0.00s - Connected. E 0.00s - Applying patching to hide pydevd threads (Py3 version). E 0.00s - debugger: received >>501 1 1.0 UNIX ID<< E E 0.00s - Received command: CMD_VERSION 501 1 1.0 UNIX ID E E 0.01s - debugger: received >>156 3 {"multi_threads_single_notification": true}<< E E 0.00s - Received command: CMD_PYDEVD_JSON_CONFIG 156 3 {"multi_threads_single_notification": true} E E 0.00s - Process LaunchRequest: { E "arguments": { E "noDebug": false E }, E "command": "launch", E "seq": 5, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_PROCESS_EVENT {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15579, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} E E 0.00s - pydevd: Use libraries filter: True E E 0.00s - Show return values: False E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} E E 0.00s - Process SetBreakpointsRequest: { E "arguments": { E "breakpoints": [ E { E "line": 56 E }, E { E "line": 49 E } E ], E "source": { E "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py" E } E }, E "command": "setBreakpoints", E "seq": 7, E "type": "request" E } E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 56 E 0.00s - File traced: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:56 - func_name:None E E 0.00s - Request for breakpoint in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Breakpoint (after path translation) in: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py line: 49 E 0.00s - Added breakpoint:/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - line:49 - func_name:None E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} E E 0.10s - Process ConfigurationDoneRequest: { E "arguments": {}, E "command": "configurationDone", E "seq": 9, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} E E 0.00s - sending cmd (http_json) --> CMD_THREAD_CREATE {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} E E 0.00s - Using /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so lib. E 0.00s - Successfully Loaded helper lib to set tracing to all threads. E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _read_line E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - wait E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/queue.py - get E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py - _on_run E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py - run E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap_inner E 0.00s - SKIP set tracing of frame: /usr/lib/python3.11/threading.py - _bootstrap E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - set_tracing_for_untraced_contexts E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - _locked_settrace E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - main E 0.00s - Set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py - E 0.00s - SKIP set tracing of frame: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py - settrace E 0.00s - Suspending all threads except: <_MainThread(MainThread, started 140355790980384)> E 0.00s - PyDB.do_wait_suspend E name: main (line: 21) E file: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py E event: line E arg: None E step: CMD_STEP_INTO (original step: ) E thread: <_MainThread(MainThread, started 140355790980384)>, thread id: pid_15579_id_140355782000144, id(thread): 140355782000144 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, main, 21 E 0.00s - Stack: /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py, , 63 E 0.00s - Sending suspend notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_SUSPEND_SINGLE_NOTIFICATION {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} E E 0.04s - Process StackTraceRequest: { E "arguments": { E "format": {}, E "threadId": 1 E }, E "command": "stackTrace", E "seq": 11, E "type": "request" E } E E 0.00s - sending cmd (http_json) --> CMD_MODULE_EVENT {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} E E 0.00s - Process ContinueRequest: { E "arguments": { E "threadId": "*" E }, E "command": "continue", E "seq": 13, E "type": "request" E } E E 0.00s - Resuming threads: * (except thread: None) E 0.01s - Sending resume notification. E 0.00s - sending cmd (http_json) --> CMD_THREAD_RESUME_SINGLE_NOTIFICATION {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} E E 0.00s - sending cmd (http_json) --> CMD_RETURN {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 140355790980384)> (pid_15579_id_140355782000144) 140355782000144 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/contextlib.py E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/selectors.py E 0.23s - sending cmd (http_json) --> CMD_THREAD_KILL {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} E E 0.01s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 1769, in process_internal_commands) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (first call) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - pydevd.CheckAliveThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.00s - pydevd.CommandThread received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish E 0.00s - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 272, in _on_run) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.50s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - pydevd.stoptrace() E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (called from: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3008, in stoptrace) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - The following pydb threads may not have finished correctly: pydevd.Reader E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads: finished tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py 35407 - - p o s i x - s p a w n Logging to: /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi2/pydevd_debug_file_15344.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 41670) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 3 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 5} Test Reader Thread Received Content-Length: 320 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15579, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15579, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "systemProcessId": 15579, "isLocalProcess": true, "startMethod": "launch"}, "seq": 2, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 5, "success": true, "command": "launch", "seq": 4, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4799, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "breakpoints": [{"line": 56}, {"line": 49}]}, "seq": 7} Test Reader Thread Received Content-Length: 581 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 56}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py"}, "line": 49}]}, "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4803, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 9, "arguments": {}} Test Reader Thread Received Content-Length: 119 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "configurationDone", "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4847, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 10, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 12, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 11} Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 667 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "package": "None"}}, "seq": 14, "pydevd_cmd_id": 203}' Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "main", "line": 21, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}, {"id": 3, "name": "", "line": 63, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", "sourceReference": 0}}], "totalFrames": 2}, "seq": 16, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4848, in test_subprocess_pydevd_customization Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 13} stdout: after pydevd.settrace Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 18, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4850, in test_subprocess_pydevd_customization Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 22, "pydevd_cmd_id": 104}' Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} Message returned in get_next_message(): {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization Ignored message: '{"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129}' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 15 ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 63, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 48, in main stderr: assert b'called' in stdout, 'Did not find b"called" in stdout:\n>>%s<<\nstderr:\n>>%s<<\n' % (stdout, stderr) stderr: ^^^^^^^^^^^^^^^^^^^ stderr: AssertionError: Did not find b"called" in stdout: stderr: >>b''<< stderr: stderr: stderr: >>b'Traceback (most recent call last):\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 61, in \n call()\n File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py", line 55, in call\n assert pydevd.get_global_debugger().get_arg_ppid() == PyDevdAPI().get_ppid()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'NoneType\' object has no attribute \'get_arg_ppid\'\n'<< stderr: *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 211, in get_next_message msg = self._queue.get(block=True, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4851, in test_subprocess_pydevd_customization json_facade.wait_for_thread_stopped() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 132, in wait_for_thread_stopped stopped_event = self.wait_for_json_message(StoppedEvent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 86, in wait_for_json_message msg = self.writer.wait_for_message(accept_json_message, unquote_msg=False, expect_xml=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 1342, in wait_for_message last = self.get_next_message('wait_for_message', timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 834, in get_next_message return self.reader_thread.get_next_message(context_message, timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 214, in get_next_message raise TimeoutError('No message was written in %s seconds. Error message:\n%s' % (timeout, context_message,)) TimeoutError: No message was written in 15 seconds. Error message: wait_for_message *********** *********** *********** __________________________ test_subprocess_then_fork ___________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99d917050> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99d547600> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x78d99d917050> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: json_facade = JsonFacade(writer) json_facade.write_launch(justMyCode=False) break_line = writer.get_line_index_with_content('break here') json_facade.write_set_breakpoints([break_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread # Note that we accept 2 connections and then we proceed to receive the breakpoints. json_facades = [] for i in range(2): server_socket.listen(1) self.server_socket = server_socket writer.log.append(' *** Multiprocess %s waiting on server_socket.accept()' % (i,)) new_sock, addr = server_socket.accept() writer.log.append(' *** Multiprocess %s completed server_socket.accept()' % (i,)) reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess %s Reader Thread' % i reader_thread.start() writer.log.append(' *** Multiprocess %s started ReaderThread' % (i,)) writer2 = SecondaryProcessWriterThread() writer2._WRITE_LOG_PREFIX = ' *** Multiprocess %s write: ' % i writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2, send_json_startup_messages=False) json_facade2.writer.write_multi_threads_single_notification(True) writer.log.append(' *** Multiprocess %s write attachThread' % (i,)) json_facade2.write_attach(justMyCode=False) writer.log.append(' *** Multiprocess %s write set breakpoints' % (i,)) json_facade2.write_set_breakpoints([break_line]) writer.log.append(' *** Multiprocess %s write make initial run' % (i,)) json_facade2.write_make_initial_run() json_facades.append(json_facade2) for i, json_facade3 in enumerate(json_facades): writer.log.append(' *** Multiprocess %s wait for thread stopped' % (i,)) json_facade3.wait_for_thread_stopped(line=break_line) writer.log.append(' *** Multiprocess %s continue' % (i,)) json_facade3.write_continue() secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(20) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:4925: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x78d99d917050> def test_subprocess_then_fork(case_setup_multiprocessing): import threading from tests_python.debugger_unittest import AbstractWriterThread > with case_setup_multiprocessing.test_file('_debugger_case_subprocess_and_fork.py') as writer: tests_python/test_debugger_json.py:4864: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} E *** Multiprocess 0 waiting on server_socket.accept() E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_then_fork0/pydevd_debug_file_15344.15598.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '37063', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 15598 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 37063 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py Logging to: /tmp/pytest-of-buildd/pytest-4/test_subprocess_then_fork0/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 37290) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"justMyCode": false, "noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 319 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 15598, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 15598, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py", "systemProcessId": 15598, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4866, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "breakpoints": [{"line": 7}]}, "seq": 9} Test Reader Thread Received Content-Length: 360 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py"}, "line": 7}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4869, in test_subprocess_then_fork Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4921, in test_subprocess_then_fork Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4925, in test_subprocess_then_fork raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** ______________________ test_no_subprocess_patching[True] _______________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99d9efc50> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0x78d99d51c540>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99d51c5e0> key = 'update_command_line_args' value = .update_command_line_args at 0x78d99d51c540> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x78d99d9efc50> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content('break 1 here') break2_line = writer.get_line_index_with_content('break 2 here') json_facade.write_set_breakpoints([break1_line, break2_line]) server_socket = writer.server_socket class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread expected_connections = 1 for _ in range(expected_connections): server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, break2_line]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() json_facade.wait_for_thread_stopped() json_facade.write_continue() if apply_multiprocessing_patch: secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:5001: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x78d99d9efc50> apply_multiprocessing_patch = True @pytest.mark.parametrize('apply_multiprocessing_patch', [True, False]) def test_no_subprocess_patching(case_setup_multiprocessing, apply_multiprocessing_patch): import threading from tests_python.debugger_unittest import AbstractWriterThread def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') if apply_multiprocessing_patch: ret.append('apply-multiprocessing-patch') return ret > with case_setup_multiprocessing.test_file( '_debugger_case_no_subprocess_patching.py', update_command_line_args=update_command_line_args ) as writer: tests_python/test_debugger_json.py:4945: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \nTEST SUCEEDED!\n\n\n...hon: True\n0.00s - Using frame eval: False\n0.00s - Using gevent mode: False / imported gevent module support: False\n' stdout = ['TEST SUCEEDED!\n'], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E TEST SUCEEDED! E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E write: {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} E write: {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_no_subprocess_patching_Tr0/pydevd_debug_file_15344.15612.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '36837', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 15612 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 36837 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py apply-multiprocessing-patch Logging to: /tmp/pytest-of-buildd/pytest-4/test_no_subprocess_patching_Tr0/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 46366) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 322 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 15612, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 15612, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "systemProcessId": 15612, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4950, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "breakpoints": [{"line": 11}, {"line": 35}]}, "seq": 9} Test Reader Thread Received Content-Length: 585 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 11}, {"verified": true, "id": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}, "line": 35}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4954, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4994, in test_no_subprocess_patching Message returned in get_next_message(): {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103}' Test Reader Thread Received Content-Length: 174 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} Message returned in get_next_message(): {"type": "event", "event": "stopped", "body": {"reason": "breakpoint", "threadId": 1, "preserveFocusHint": false, "allThreadsStopped": true}, "seq": 14, "pydevd_cmd_id": 157} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "stackTrace", "arguments": {"threadId": 1, "format": {}}, "seq": 13} Test Reader Thread Received Content-Length: 305 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} Test Reader Thread Received Content-Length: 417 Test Reader Thread Received Message returned in get_next_message(): {"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Ignored message: '{"type": "event", "event": "module", "body": {"reason": "new", "module": {"id": 0, "name": "__main__", "path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py"}}, "seq": 16, "pydevd_cmd_id": 203}' Test Reader Thread Received {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 13, "success": true, "command": "stackTrace", "body": {"stackFrames": [{"id": 2, "name": "", "line": 35, "column": 1, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py", "sourceReference": 0}}], "totalFrames": 1}, "seq": 18, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4995, in test_no_subprocess_patching Test Writer Thread Written {"type": "request", "command": "continue", "arguments": {"threadId": "*"}, "seq": 15} stdout: TEST SUCEEDED! Test Reader Thread Received Content-Length: 126 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} Test Reader Thread Received Content-Length: 151 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502} Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 24, "pydevd_cmd_id": 104} Message returned in get_next_message(): {"type": "event", "event": "continued", "body": {"threadId": 1, "allThreadsContinued": true}, "seq": 20, "pydevd_cmd_id": 158} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Message returned in get_next_message(): {"type": "response", "request_seq": 15, "success": true, "command": "continue", "body": {"allThreadsContinued": true}, "seq": 22, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4996, in test_no_subprocess_patching Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 26, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 5001, in test_no_subprocess_patching raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** _______________________________ test_logging_api _______________________________ self = args = ['/usr/bin/python3.11', '-u', '/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', ...] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = True, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x78d99d325310> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0x78d99d51e200>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x78d99d51e2a0> key = 'get_environ' value = .get_environ at 0x78d99d51e200> writer = @contextmanager def test_file( self, filename, **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) ret.insert(ret.index('--client'), '--multiprocess') return ret WriterThread.update_command_line_args = update_command_line_args WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_simple.check_case(WriterThread) as writer: > yield writer tests_python/debugger_fixtures.py:431: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_multiprocessing = .CaseSetup object at 0x78d99d325310> tmpdir = local('/tmp/pytest-of-buildd/pytest-4/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: json_facade = JsonFacade(writer) json_facade.write_launch() break1_line = writer.get_line_index_with_content("break on 2nd process") json_facade.write_set_breakpoints([break1_line]) server_socket = writer.server_socket secondary_finished_ok = [False] class SecondaryProcessWriterThread(AbstractWriterThread): TEST_FILE = writer.get_main_filename() _sequence = -1 class SecondaryProcessThreadCommunication(threading.Thread): def run(self): from tests_python.debugger_unittest import ReaderThread server_socket.listen(1) self.server_socket = server_socket new_sock, addr = server_socket.accept() reader_thread = ReaderThread(new_sock) reader_thread.name = ' *** Multiprocess Reader Thread' reader_thread.start() writer2 = SecondaryProcessWriterThread() writer2.reader_thread = reader_thread writer2.sock = new_sock json_facade2 = JsonFacade(writer2) json_facade2.write_set_breakpoints([break1_line, ]) json_facade2.write_make_initial_run() json_facade2.wait_for_thread_stopped() json_facade2.write_continue() secondary_finished_ok[0] = True secondary_process_thread_communication = SecondaryProcessThreadCommunication() secondary_process_thread_communication.start() time.sleep(.1) json_facade.write_make_initial_run() secondary_process_thread_communication.join(10) if secondary_process_thread_communication.is_alive(): > raise AssertionError('The SecondaryProcessThreadCommunication did not finish') E AssertionError: The SecondaryProcessThreadCommunication did not finish tests_python/test_debugger_json.py:6367: AssertionError During handling of the above exception, another exception occurred: case_setup_multiprocessing = .CaseSetup object at 0x78d99d325310> tmpdir = local('/tmp/pytest-of-buildd/pytest-4/test_logging_api0') def test_logging_api(case_setup_multiprocessing, tmpdir): import threading from tests_python.debugger_unittest import AbstractWriterThread log_file = str(tmpdir.join('pydevd_in_test_logging.log')) def get_environ(self): env = os.environ.copy() env["TARGET_LOG_FILE"] = log_file return env > with case_setup_multiprocessing.test_file( '_debugger_case_logging.py', get_environ=get_environ ) as writer: tests_python/test_debugger_json.py:6318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:430: in test_file with debugger_runner_simple.check_case(WriterThread) as writer: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.11/contextlib.py:155: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:602: in run_process self.fail_with_message(str(e), stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'The SecondaryProcessThreadCommunication did not finish\n\n===========================\nStdout: \n\n\n================.../pytest-4/test_logging_api0/pydevd_debug_file_15344.15636.txt ------------------\n\n0.00s - Something in print-debug\n' stdout = [] stderr = ['Traceback (most recent call last):\n', ' File "/<>/.pybuild/cp...un(setup['file'], None, None, is_module)\n", ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ...] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: The SecondaryProcessThreadCommunication did not finish E E =========================== E Stdout: E E E =========================== E Stderr:Traceback (most recent call last): E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in E main() E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main E globals = debugger.run(setup['file'], None, None, is_module) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run E return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec E globals = pydevd_runpy.run_path(file, globals, '__main__') E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path E return _run_module_code(code, init_globals, run_name, E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code E _run_code(code, mod_globals, init_globals, E File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code E exec(code, run_globals) E File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in E log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-4/test_logging_api0/pydevd_in_test_logging.15636.log' E E E =========================== E Writer Log: E write: CMD_VERSION: 501 1 1.0 UNIX ID E start_socket E write: CMD_SET_PROTOCOL: 503 3 http_json E write: CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} E write: {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} E write: {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} E write: {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} E E =========================== E Log: E -------------------- /tmp/pytest-of-buildd/pytest-4/test_logging_api0/pydevd_debug_file_15344.15625.txt ------------------ E E 0.00s - Debugger warning: It seems that frozen modules are being used, which may E 0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off E 0.00s - to python to disable frozen modules. E 0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation. E 0.10s - Using Cython speedups E 0.02s - Using GEVENT_SUPPORT: False E 0.00s - Using GEVENT_SHOW_PAUSED_GREENLETS: False E 0.00s - pydevd __file__: /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py E 0.00s - Using PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING: False E 0.00s - Initial arguments: (['/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py', '--multiprocess', '--client', '127.0.0.1', '--port', '38891', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 15625 E 0.00s - Using cython: True E 0.00s - Using frame eval: False E 0.00s - Using gevent mode: False / imported gevent module support: False E E -------------------- /tmp/pytest-of-buildd/pytest-4/test_logging_api0/pydevd_debug_file_15344.15636.txt ------------------ E E 0.00s - Something in print-debug tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.11 -u /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py --multiprocess --client 127.0.0.1 --port 38891 --file /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py Logging to: /tmp/pytest-of-buildd/pytest-4/test_logging_api0/pydevd_debug_file_15344.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 38574) Test Writer Thread Written CMD_VERSION: 501 1 1.0 UNIX ID Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Reader Thread Received 501 1 %40%40BUILD_NUMBER%40%40 Test Writer Thread Written CMD_SET_PROTOCOL: 503 3 http_json Test Writer Thread Written CMD_PYDEVD_JSON_CONFIG: 156 5 {"multi_threads_single_notification": true} Test Writer Thread Written {"type": "request", "command": "launch", "arguments": {"noDebug": false}, "seq": 7} Message returned in get_next_message(): 501 1 @@BUILD_NUMBER@@ -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '501\t1\t%40%40BUILD_NUMBER%40%40' Test Reader Thread Received Content-Length: 307 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 15625, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} Message returned in get_next_message(): {"type": "event", "event": "process", "body": {"name": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 15625, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Ignored message: '{"type": "event", "event": "process", "body": {"name": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", "systemProcessId": 15625, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' Test Reader Thread Received Content-Length: 108 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 7, "success": true, "command": "launch", "seq": 6, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6323, in test_logging_api Test Writer Thread Written {"type": "request", "command": "setBreakpoints", "arguments": {"source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "breakpoints": [{"line": 23}]}, "seq": 9} Test Reader Thread Received Content-Length: 349 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 9, "success": true, "command": "setBreakpoints", "body": {"breakpoints": [{"verified": true, "id": 0, "source": {"path": "/<>/pydevd-2.8.0 git20220826.8ee4065 ds/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py"}, "line": 23}]}, "seq": 8, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6326, in test_logging_api Test Writer Thread Written {"type": "request", "command": "configurationDone", "seq": 11, "arguments": {}} Test Reader Thread Received Content-Length: 121 Test Reader Thread Received Test Reader Thread Received {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} Message returned in get_next_message(): {"type": "response", "request_seq": 11, "success": true, "command": "configurationDone", "seq": 10, "pydevd_cmd_id": 502} -- ctx: wait_for_message, asked at: -- File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6364, in test_logging_api Test Reader Thread Received Content-Length: 115 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "started", "threadId": 1}, "seq": 12, "pydevd_cmd_id": 103} Test Reader Thread Received Content-Length: 114 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "thread", "body": {"reason": "exited", "threadId": 1}, "seq": 14, "pydevd_cmd_id": 104} Test Reader Thread Received Content-Length: 85 Test Reader Thread Received Test Reader Thread Received {"type": "event", "event": "terminated", "seq": 16, "body": {}, "pydevd_cmd_id": 129} ----------------------------- Captured stderr call ----------------------------- stderr: Traceback (most recent call last): stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3464, in stderr: main() stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 3457, in main stderr: globals = debugger.run(setup['file'], None, None, is_module) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2502, in run stderr: return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py", line 2509, in _exec stderr: globals = pydevd_runpy.run_path(file, globals, '__main__') stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 323, in run_path stderr: return _run_module_code(code, init_globals, run_name, stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 131, in _run_module_code stderr: _run_code(code, mod_globals, init_globals, stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py", line 121, in _run_code stderr: exec(code, run_globals) stderr: File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py", line 55, in stderr: log_contents = open(pydev_log._compute_filename_with_pid(target_log_file, pid=subprocess_pid)).read() stderr: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stderr: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildd/pytest-4/test_logging_api0/pydevd_in_test_logging.15636.log' *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_fixtures.py", line 431, in test_file yield writer File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6367, in test_logging_api raise AssertionError('The SecondaryProcessThreadCommunication did not finish') AssertionError: The SecondaryProcessThreadCommunication did not finish *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87 /usr/lib/python3/dist-packages/pkg_resources/_vendor/pyparsing.py:87: DeprecationWarning: module 'sre_constants' is deprecated import sre_constants ../../../../../../usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15 /usr/lib/python3/dist-packages/cherrypy/lib/httputil.py:15: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 from cgi import parse_header ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:49 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_fixtures.py:49: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_pydevd_io.py:123 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_pydevd_io.py:123: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:121 /<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_tracing_on_top_level.py:121: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_case_qthread1 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread2 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread3 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_case_qthread4 - AssertionError: Ti... FAILED tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] FAILED tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] FAILED tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] FAILED tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] FAILED tests_python/test_debugger_json.py::test_subprocess_then_fork - Assert... FAILED tests_python/test_debugger_json.py::test_no_subprocess_patching[True] FAILED tests_python/test_debugger_json.py::test_logging_api - AssertionError:... ==== 20 failed, 768 skipped, 8 deselected, 7 warnings in 381.60s (0:06:21) ===== =============================================================================== pydev pyunit runner: Threads still found running after tests finished ================================= Thread Dump ================================= ------------------------------------------------------------------------------- Thread Thread-93 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/conftest.py", line 118, in run for filename, lineno, name, line in traceback.extract_stack(stack): ------------------------------------------------------------------------------- Thread Thread-92 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 6342, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-87 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4972, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-82 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4889, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-77 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-72 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-67 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger_json.py", line 4822, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-59 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-55 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-54 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-49 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2939, in run self.sock, addr = self.server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-41 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-37 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-33 (daemon: True) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 670, in run self.start_socket() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/debugger_unittest.py", line 855, in start_socket new_socket, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-32 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-27 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2705, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread Thread-22 (daemon: False) File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap self._bootstrap_inner() File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/test_debugger.py", line 2558, in run new_sock, addr = server_socket.accept() File "/usr/lib/python3.11/socket.py", line 294, in accept fd, addr = self._accept() ------------------------------------------------------------------------------- Thread MainThread (daemon: False) File "/usr/lib/python3.11/threading.py", line 1583, in _shutdown lock.acquire() =============================== END Thread Dump ===============================*** END OF RUN 5: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** SOME TESTS FAILED/ERRORED EVERY RUN, ABORTING *** E: pybuild pybuild:379: test: plugin custom failed with: exit code=1: cd /<>/.pybuild/cpython3_3.11_pydevd/build; /<>/debian/run_tests python3.11 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload I: pybuild base:240: cd /<>/.pybuild/cpython3_3.10_pydevd/build; /<>/debian/run_tests python3.10 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload *** STARTING RUN 1: python3.10 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.10 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.10 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.10/site-packages site.getsitepackages(): ['/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.10/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.10_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function PASSED [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative PASSED [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant PASSED [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code PASSED [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 PASSED [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots PASSED [ 2%] tests/test_check_pydevconsole.py::Test::test_server PASSED [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 PASSED [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 PASSED [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 PASSED [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 PASSED [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 PASSED [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 PASSED [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 PASSED [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches PASSED [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history PASSED [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print PASSED [ 6%] tests/test_pydevconsole.py::Test::test_console_async PASSED [ 6%] tests/test_pydevconsole.py::Test::test_console_hello PASSED [ 7%] tests/test_pydevconsole.py::Test::test_console_requests PASSED [ 7%] tests/test_pydevconsole.py::Test::test_server PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b PASSED [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_search PASSED [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure PASSED [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread PASSED [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 PASSED [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 PASSED [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 PASSED [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 PASSED [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 PASSED [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 PASSED [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 PASSED [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 PASSED [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list PASSED [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (unconditional skip) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (unconditional skip) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 PASSED [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr PASSED [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call PASSED [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr PASSED [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method PASSED [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode PASSED [ 14%] tests_python/test_console.py::test_console_simple PASSED [ 14%] tests_python/test_console.py::test_console_debugger_connected PASSED [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities PASSED [ 14%] tests_python/test_convert_utilities.py::test_source_reference PASSED [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client PASSED [ 15%] tests_python/test_convert_utilities.py::test_relative_paths PASSED [ 15%] tests_python/test_convert_utilities.py::test_zip_paths PASSED [ 15%] tests_python/test_convert_utilities.py::test_source_mapping PASSED [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client PASSED [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server PASSED [ 15%] tests_python/test_debugger.py::test_case_referrers PASSED [ 15%] tests_python/test_debugger.py::test_case_2 PASSED [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] PASSED [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] PASSED [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint PASSED [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint PASSED [ 17%] tests_python/test_debugger.py::test_case_3 PASSED [ 17%] tests_python/test_debugger.py::test_case_suspend_thread PASSED [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread PASSED [ 17%] tests_python/test_debugger.py::test_case_5 PASSED [ 17%] tests_python/test_debugger.py::test_case_6 PASSED [ 17%] tests_python/test_debugger.py::test_case_7 PASSED [ 17%] tests_python/test_debugger.py::test_case_8 PASSED [ 17%] tests_python/test_debugger.py::test_case_9 PASSED [ 18%] tests_python/test_debugger.py::test_case_10 PASSED [ 18%] tests_python/test_debugger.py::test_case_11 PASSED [ 18%] tests_python/test_debugger.py::test_case_12 PASSED [ 18%] tests_python/test_debugger.py::test_case_13 PASSED [ 18%] tests_python/test_debugger.py::test_case_14 PASSED [ 18%] tests_python/test_debugger.py::test_case_15 PASSED [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array PASSED [ 18%] tests_python/test_debugger.py::test_case_17 PASSED [ 19%] tests_python/test_debugger.py::test_case_17a PASSED [ 19%] tests_python/test_debugger.py::test_case_18 PASSED [ 19%] tests_python/test_debugger.py::test_case_19 PASSED [ 19%] tests_python/test_debugger.py::test_case_20 PASSED [ 19%] tests_python/test_debugger.py::test_case_flask PASSED [ 19%] tests_python/test_debugger.py::test_case_django_a PASSED [ 19%] tests_python/test_debugger.py::test_case_django_b PASSED [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception PASSED [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error PASSED [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] PASSED [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] PASSED [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions PASSED [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] PASSED [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] PASSED [ 20%] tests_python/test_debugger.py::test_cython PASSED [ 20%] tests_python/test_debugger.py::test_case_qthread1 PASSED [ 21%] tests_python/test_debugger.py::test_case_qthread2 PASSED [ 21%] tests_python/test_debugger.py::test_case_qthread3 PASSED [ 21%] tests_python/test_debugger.py::test_case_qthread4 PASSED [ 21%] tests_python/test_debugger.py::test_m_switch PASSED [ 21%] tests_python/test_debugger.py::test_module_entry_point PASSED [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions PASSED [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] PASSED [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] PASSED [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] PASSED [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 PASSED [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 PASSED [ 22%] tests_python/test_debugger.py::test_case_set_next_statement PASSED [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack PASSED [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml PASSED [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets PASSED [ 23%] tests_python/test_debugger.py::test_case_type_ext PASSED [ 23%] tests_python/test_debugger.py::test_case_event_ext PASSED [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock PASSED [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions PASSED [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 PASSED [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 PASSED [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 PASSED [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 PASSED [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 PASSED [ 24%] tests_python/test_debugger.py::test_case_settrace PASSED [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output PASSED [ 25%] tests_python/test_debugger.py::test_path_translation[False] PASSED [ 25%] tests_python/test_debugger.py::test_linecache_xml PASSED [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml PASSED [ 25%] tests_python/test_debugger.py::test_evaluate_errors PASSED [ 25%] tests_python/test_debugger.py::test_list_threads PASSED [ 25%] tests_python/test_debugger.py::test_case_print PASSED [ 25%] tests_python/test_debugger.py::test_case_lamdda PASSED [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline PASSED [ 26%] tests_python/test_debugger.py::test_case_method_single_line PASSED [ 26%] tests_python/test_debugger.py::test_case_suspension_policy PASSED [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack PASSED [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr PASSED [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular PASSED [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] PASSED [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] PASSED [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] PASSED [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch PASSED [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point PASSED [ 27%] tests_python/test_debugger.py::test_debug_zip_files PASSED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] PASSED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] PASSED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] PASSED [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] PASSED [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] PASSED [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] PASSED [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] PASSED [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] PASSED [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] PASSED [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] PASSED [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] PASSED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic PASSED [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads PASSED [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote PASSED [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] PASSED [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] PASSED [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] PASSED [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] PASSED [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct PASSED [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step PASSED [ 30%] tests_python/test_debugger.py::test_reload PASSED [ 30%] tests_python/test_debugger.py::test_custom_frames PASSED [ 30%] tests_python/test_debugger.py::test_gevent PASSED [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] PASSED [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] PASSED [ 30%] tests_python/test_debugger.py::test_gevent_remote PASSED [ 31%] tests_python/test_debugger.py::test_return_value PASSED [ 31%] tests_python/test_debugger.py::test_gettr_warning PASSED [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] PASSED [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] PASSED [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] PASSED [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] PASSED [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] PASSED [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] PASSED [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] PASSED [ 32%] tests_python/test_debugger.py::test_step_return_my_code PASSED [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 PASSED [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 PASSED [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 PASSED [ 33%] tests_python/test_debugger.py::test_step_over_my_code PASSED [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file PASSED [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] PASSED [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] PASSED [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] PASSED [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] PASSED [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] PASSED [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] PASSED [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] PASSED [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] PASSED [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include PASSED [ 35%] tests_python/test_debugger.py::test_access_token PASSED [ 35%] tests_python/test_debugger.py::test_namedtuple PASSED [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] PASSED [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] PASSED [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine PASSED [ 36%] tests_python/test_debugger.py::test_generator_step_in PASSED [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] PASSED [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] PASSED [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] PASSED [ 37%] tests_python/test_debugger.py::test_notify_stdin PASSED [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] PASSED [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] PASSED [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] PASSED [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] PASSED [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] PASSED [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error PASSED [ 40%] tests_python/test_debugger_json.py::test_case_process_event PASSED [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks PASSED [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator PASSED [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason PASSED [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks PASSED [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] PASSED [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] PASSED [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] PASSED [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop PASSED [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] PASSED [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception PASSED [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] PASSED [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] PASSED [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] PASSED [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] PASSED [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type PASSED [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol PASSED [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol PASSED [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped PASSED [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step PASSED [ 44%] tests_python/test_debugger_json.py::test_case_update_rules PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] PASSED [ 45%] tests_python/test_debugger_json.py::test_case_completions_json PASSED [ 45%] tests_python/test_debugger_json.py::test_modules PASSED [ 46%] tests_python/test_debugger_json.py::test_dict_ordered PASSED [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict PASSED [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name PASSED [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure PASSED [ 46%] tests_python/test_debugger_json.py::test_getattr_warning PASSED [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl PASSED [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy PASSED [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling PASSED [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling PASSED [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl PASSED [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard PASSED [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir PASSED [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] PASSED [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] PASSED [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] PASSED [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] PASSED [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] PASSED [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] PASSED [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec PASSED [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references PASSED [ 49%] tests_python/test_debugger_json.py::test_set_expression PASSED [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures PASSED [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors PASSED [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure PASSED [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] PASSED [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] PASSED [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] PASSED [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] PASSED [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case PASSED [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables PASSED [ 50%] tests_python/test_debugger_json.py::test_hex_variables PASSED [ 50%] tests_python/test_debugger_json.py::test_stopped_event PASSED [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue PASSED [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] PASSED [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] PASSED [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] PASSED [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] PASSED [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] PASSED [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] PASSED [ 51%] tests_python/test_debugger_json.py::test_stepping PASSED [ 51%] tests_python/test_debugger_json.py::test_evaluate PASSED [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures PASSED [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace PASSED [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] PASSED [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] PASSED [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] PASSED [ 52%] tests_python/test_debugger_json.py::test_stack_levels PASSED [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment PASSED [ 52%] tests_python/test_debugger_json.py::test_goto PASSED [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] PASSED [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] PASSED [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] PASSED [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] PASSED [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code PASSED [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target PASSED [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy PASSED [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach PASSED [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent PASSED [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] PASSED [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] PASSED [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python PASSED [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python PASSED [ 55%] tests_python/test_debugger_json.py::test_notify_gevent PASSED [ 55%] tests_python/test_debugger_json.py::test_ppid PASSED [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference PASSED [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file PASSED [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file PASSED [ 55%] tests_python/test_debugger_json.py::test_linecache_json PASSED [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json PASSED [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] PASSED [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] PASSED [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation PASSED [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation PASSED [ 56%] tests_python/test_debugger_json.py::test_redirect_output PASSED [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages PASSED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic PASSED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] PASSED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] PASSED [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] PASSED [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork PASSED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] PASSED [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] PASSED [ 57%] tests_python/test_debugger_json.py::test_module_crash PASSED [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] PASSED [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] PASSED [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] PASSED [ 59%] tests_python/test_debugger_json.py::test_access_token PASSED [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry PASSED [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 PASSED [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] PASSED [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] PASSED [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom PASSED [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (PySide2 not available) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] PASSED [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] PASSED [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages PASSED [ 60%] tests_python/test_debugger_json.py::test_send_json_message PASSED [ 60%] tests_python/test_debugger_json.py::test_global_scope PASSED [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] PASSED [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] PASSED [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] PASSED [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] PASSED [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] PASSED [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive PASSED [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic PASSED [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple PASSED [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr PASSED [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic PASSED [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async PASSED [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename PASSED [ 63%] tests_python/test_debugger_json.py::test_replace_process PASSED [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] PASSED [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] PASSED [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic PASSED [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in PASSED [ 63%] tests_python/test_debugger_json.py::test_logging_api PASSED [ 63%] tests_python/test_dump_threads.py::test_dump_threads PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec PASSED [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval PASSED [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error PASSED [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval PASSED [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error PASSED [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling PASSED [ 65%] tests_python/test_extract_token.py::test_isidentifier PASSED [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier PASSED [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 PASSED [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 PASSED [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 PASSED [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume PASSED [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return PASSED [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running PASSED [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break PASSED [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running PASSED [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break PASSED [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test PASSED [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints PASSED [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache PASSED [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 PASSED [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] PASSED [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] PASSED [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] PASSED [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] PASSED [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints PASSED [ 68%] tests_python/test_null.py::test_null PASSED [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine PASSED [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 PASSED [ 68%] tests_python/test_pydev_monkey.py::test_monkey PASSED [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows PASSED [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args PASSED [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc PASSED [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 PASSED [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module PASSED [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] PASSED [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg PASSED [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin PASSED [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_filtering PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching PASSED [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter PASSED [ 73%] tests_python/test_pydevd_io.py::test_io_redirector PASSED [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin PASSED [ 73%] tests_python/test_pydevd_io.py::test_debug_console PASSED [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic PASSED [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] PASSED [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] PASSED [ 73%] tests_python/test_resolvers.py::test_dict_resolver PASSED [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex PASSED [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple PASSED [ 74%] tests_python/test_resolvers.py::test_object_resolver_error PASSED [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error PASSED [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings PASSED [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver PASSED [ 74%] tests_python/test_resolvers.py::test_tuple_resolver PASSED [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed PASSED [ 75%] tests_python/test_run.py::test_run PASSED [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath PASSED [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types PASSED [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr PASSED [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small PASSED [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large PASSED [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged PASSED [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed PASSED [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged PASSED [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed PASSED [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small PASSED [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large PASSED [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat PASSED [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested PASSED [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary PASSED [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive PASSED [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive PASSED [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (unsupported) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (unsupported) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (unsupported) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested PASSED [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat PASSED [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary PASSED [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (unsupported) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (unsupported) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys PASSED [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive PASSED [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive PASSED [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small PASSED [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only PASSED [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start PASSED [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr PASSED [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large PASSED [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr PASSED [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr PASSED [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items PASSED [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item PASSED [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 PASSED [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 PASSED [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros PASSED [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] PASSED [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] PASSED [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] PASSED [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] PASSED [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] PASSED [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] PASSED [ 82%] tests_python/test_safe_repr.py::test_raw_bytes PASSED [ 82%] tests_python/test_safe_repr.py::test_raw_unicode PASSED [ 82%] tests_python/test_safe_repr.py::test_no_repr PASSED [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame PASSED [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars PASSED [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars PASSED [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change PASSED [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals PASSED [ 83%] tests_python/test_schema.py::test_schema PASSED [ 83%] tests_python/test_schema.py::test_schema_translation_frame PASSED [ 83%] tests_python/test_schema.py::test_schema_translation_thread PASSED [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info PASSED [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 PASSED [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 PASSED [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 PASSED [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 PASSED [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 PASSED [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 PASSED [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 PASSED [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 PASSED [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 PASSED [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 PASSED [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 PASSED [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 PASSED [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 PASSED [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 PASSED [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 PASSED [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 PASSED [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 PASSED [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 PASSED [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 PASSED [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 PASSED [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 PASSED [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 PASSED [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 PASSED [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 PASSED [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 PASSED [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 PASSED [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 PASSED [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 PASSED [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 PASSED [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 PASSED [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 PASSED [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 PASSED [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 PASSED [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 PASSED [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 PASSED [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 PASSED [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 PASSED [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 PASSED [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 PASSED [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 PASSED [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 PASSED [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 PASSED [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 PASSED [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 PASSED [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 PASSED [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 PASSED [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 PASSED [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 PASSED [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 PASSED [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 PASSED [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 PASSED [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 PASSED [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 PASSED [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 PASSED [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 PASSED [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset PASSED [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq PASSED [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager PASSED [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables PASSED [ 91%] tests_python/test_timeout_tracker.py::test_timeout PASSED [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time PASSED [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback PASSED [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] PASSED [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] PASSED [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] PASSED [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] PASSED [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] PASSED [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate PASSED [ 95%] tests_python/test_utilities.py::test_is_main_thread PASSED [ 95%] tests_python/test_utilities.py::test_find_thread PASSED [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression PASSED [ 95%] tests_python/test_utilities.py::test_pydevd_log PASSED [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files PASSED [ 95%] tests_python/test_utilities.py::test_tracing_other_threads PASSED [ 96%] tests_python/test_utilities.py::test_tracing_basic PASSED [ 96%] tests_python/test_utilities.py::test_find_main_thread_id PASSED [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify PASSED [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset PASSED [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd PASSED [ 96%] tests_python/test_utilities.py::test_import_token_from_module PASSED [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property PASSED [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 PASSED [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 PASSED [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it PASSED [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories PASSED [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str PASSED [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify PASSED [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test PASSED [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used PASSED [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication PASSED [100%] =================================== FAILURES =================================== _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '36071'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x759470359a80> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7594703a8c10> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x759470359a80> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7594701112d0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x759470359a80> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 36071 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_no_threads_0/pydevd_debug_file_15644.txt Both processes started Running: gdb --nw --nh --nx --pid 17051 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=36071, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '35443'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x75947045ed10> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x759470110310> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x75947045ed10> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x759470110b80> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x75947045ed10> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 35443 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_no_threads_1/pydevd_debug_file_15644.txt Both processes started Running: gdb --nw --nh --nx --pid 17064 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=35443, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '41509'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x759470382050> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7594701ebf40> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x759470382050> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7594700c9870> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x759470382050> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 125427442271520\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 125427442271520\n', 'Secondary thread ident should be: 125427432681760\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 125427442271520 E Secondary thread ident should be: 125427432681760 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 41509 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_halted0/pydevd_debug_file_15644.txt Both processes started stdout: Main thread ident should be: 125427442271520 stdout: Secondary thread ident should be: 125427432681760 Running: gdb --nw --nh --nx --pid 17078 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=41509, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '46771'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x759470304af0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x75945571f5b0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x759470304af0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x759455745990> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x759470304af0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 46771 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_True_0/pydevd_debug_file_15644.txt Both processes started Running: gdb --nw --nh --nx --pid 20660 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=46771, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '45027'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7594809a0d00> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x759470110040> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7594809a0d00> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x75947043d5a0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7594809a0d00> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 45027 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_False_0/pydevd_debug_file_15644.txt Both processes started Running: gdb --nw --nh --nx --pid 20673 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=45027, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:50 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_fixtures.py:50: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _dummy_socket(): tests_python/test_pydevd_io.py:124 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_pydevd_io.py:124: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _redirect_context(): tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:122 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_tracing_on_top_level.py:122: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def trace_top_level(): tests/test_check_pydevconsole.py::Test::test_server /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_ipython_console_011.py:95: DeprecationWarning: The `use_readline` parameter is deprecated and ignored since IPython 6.0. IPCompleter.__init__(self, *args, **kwargs) tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches /usr/lib/python3/dist-packages/IPython/core/completer.py:1976: PendingDeprecationWarning: `Completer.complete` is pending deprecation since IPython 6.0 and will be replaced by `Completer.completions`. warnings.warn('`Completer.complete` is pending deprecation since ' -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... = 5 failed, 749 passed, 34 skipped, 8 deselected, 11 warnings in 756.32s (0:12:36) = *** END OF RUN 1: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** STARTING RUN 2: python3.10 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.10 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.10 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.10/site-packages site.getsitepackages(): ['/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.10/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.10_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots SKIPPED (Test passed in previous runs) [ 2%] tests/test_check_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 SKIPPED (Test passed in previous runs) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_async SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_hello SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_console_requests SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_search SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure SKIPPED (Test passed in previous runs) [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_simple SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_debugger_connected SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_source_reference SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_relative_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_zip_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_source_mapping SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_referrers SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_2 SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_3 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_5 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_6 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_7 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_8 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_9 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_10 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_11 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_12 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_13 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_14 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_15 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_17 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_17a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_18 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_19 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_20 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_flask SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_b SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_cython SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_qthread1 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread2 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread3 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread4 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_m_switch SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_module_entry_point SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_set_next_statement SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_type_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_event_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_settrace SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_path_translation[False] SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_linecache_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_evaluate_errors SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_list_threads SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_print SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_method_single_line SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_suspension_policy SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_debug_zip_files SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_reload SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_custom_frames SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_remote SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_return_value SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_gettr_warning SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_step_return_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_step_over_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_access_token SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_namedtuple SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_in SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_notify_stdin SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_process_event SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_update_rules SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_completions_json SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_modules SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_dict_ordered SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_getattr_warning SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_hex_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stopped_event SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_stepping SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_stack_levels SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_goto SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_notify_gevent SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_ppid SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_module_crash SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_access_token SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_json_message SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_global_scope SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_replace_process SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_logging_api SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_dump_threads.py::test_dump_threads SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_isidentifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_null.py::test_null SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_filtering SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_io_redirector SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_debug_console SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_bytes SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_unicode SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_no_repr SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_frame SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_thread SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_is_main_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_find_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_log SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_tracing_other_threads SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_tracing_basic SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_find_main_thread_id SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_import_token_from_module SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication SKIPPED (Test passed in previous runs) [100%] =================================== FAILURES =================================== _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '36955'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7e8ead0450f0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7e8e72a649d0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7e8ead0450f0> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7e8e7296cd30> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7e8ead0450f0> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 36955 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_no_threads_0/pydevd_debug_file_21642.txt Both processes started Running: gdb --nw --nh --nx --pid 21649 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=36955, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '38423'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7e8e70477af0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7e8e7296c4c0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7e8e70477af0> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7e8e70667490> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7e8e70477af0> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 38423 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_no_threads_1/pydevd_debug_file_21642.txt Both processes started Running: gdb --nw --nh --nx --pid 21662 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=38423, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '33311'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7e8e7007b850> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7e8e7296c550> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7e8e7007b850> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7e8e70664280> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7e8e7007b850> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 139539990660384\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 139539990660384\n', 'Secondary thread ident should be: 139539981070624\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 139539990660384 E Secondary thread ident should be: 139539981070624 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 33311 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_halted0/pydevd_debug_file_21642.txt Both processes started stdout: Main thread ident should be: 139539990660384 stdout: Secondary thread ident should be: 139539981070624 Running: gdb --nw --nh --nx --pid 21675 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=33311, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '41641'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7e8e72c61ae0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7e8eae145f30> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7e8e72c61ae0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7e8e70724dc0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7e8e72c61ae0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 41641 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_True_0/pydevd_debug_file_21642.txt Both processes started Running: gdb --nw --nh --nx --pid 21689 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=41641, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '45887'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7e8e706a40a0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7e8e7296c790> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7e8e706a40a0> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7e8e70659990> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7e8e706a40a0> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 45887 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_False_0/pydevd_debug_file_21642.txt Both processes started Running: gdb --nw --nh --nx --pid 21702 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=45887, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:50 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_fixtures.py:50: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _dummy_socket(): tests_python/test_pydevd_io.py:124 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_pydevd_io.py:124: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _redirect_context(): tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:122 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_tracing_on_top_level.py:122: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def trace_top_level(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... ===== 5 failed, 783 skipped, 8 deselected, 5 warnings in 109.78s (0:01:49) ===== *** END OF RUN 2: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** STARTING RUN 3: python3.10 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.10 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.10 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.10/site-packages site.getsitepackages(): ['/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.10/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.10_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots SKIPPED (Test passed in previous runs) [ 2%] tests/test_check_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 SKIPPED (Test passed in previous runs) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_async SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_hello SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_console_requests SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_search SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure SKIPPED (Test passed in previous runs) [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_simple SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_debugger_connected SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_source_reference SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_relative_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_zip_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_source_mapping SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_referrers SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_2 SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_3 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_5 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_6 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_7 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_8 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_9 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_10 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_11 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_12 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_13 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_14 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_15 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_17 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_17a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_18 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_19 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_20 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_flask SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_b SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_cython SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_qthread1 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread2 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread3 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread4 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_m_switch SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_module_entry_point SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_set_next_statement SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_type_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_event_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_settrace SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_path_translation[False] SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_linecache_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_evaluate_errors SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_list_threads SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_print SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_method_single_line SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_suspension_policy SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_debug_zip_files SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_reload SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_custom_frames SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_remote SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_return_value SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_gettr_warning SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_step_return_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_step_over_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_access_token SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_namedtuple SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_in SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_notify_stdin SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_process_event SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_update_rules SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_completions_json SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_modules SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_dict_ordered SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_getattr_warning SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_hex_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stopped_event SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_stepping SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_stack_levels SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_goto SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_notify_gevent SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_ppid SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_module_crash SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_access_token SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_json_message SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_global_scope SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_replace_process SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_logging_api SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_dump_threads.py::test_dump_threads SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_isidentifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_null.py::test_null SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_filtering SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_io_redirector SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_debug_console SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_bytes SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_unicode SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_no_repr SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_frame SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_thread SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_is_main_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_find_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_log SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_tracing_other_threads SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_tracing_basic SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_find_main_thread_id SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_import_token_from_module SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication SKIPPED (Test passed in previous runs) [100%] =================================== FAILURES =================================== _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '44599'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x71a5e325c850> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x71a5ac6349d0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x71a5e325c850> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x71a5ac53cd30> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x71a5e325c850> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 44599 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_no_threads_0/pydevd_debug_file_21716.txt Both processes started Running: gdb --nw --nh --nx --pid 21723 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=44599, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '39041'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x71a5e80d97e0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x71a5ac53c4c0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x71a5e80d97e0> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x71a5aa237490> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x71a5e80d97e0> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 39041 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_no_threads_1/pydevd_debug_file_21716.txt Both processes started Running: gdb --nw --nh --nx --pid 21736 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=39041, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '37261'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x71a5a9c43850> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x71a5ac4fb520> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x71a5a9c43850> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x71a5aa234b80> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x71a5a9c43850> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 130158341604640\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 130158341604640\n', 'Secondary thread ident should be: 130158332014880\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 130158341604640 E Secondary thread ident should be: 130158332014880 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 37261 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_halted0/pydevd_debug_file_21716.txt Both processes started stdout: Main thread ident should be: 130158341604640 stdout: Secondary thread ident should be: 130158332014880 Running: gdb --nw --nh --nx --pid 21749 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=37261, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '41705'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x71a5ac89e380> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x71a5ac4fb2e0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x71a5ac89e380> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x71a5aa237910> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x71a5ac89e380> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 41705 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_True_0/pydevd_debug_file_21716.txt Both processes started Running: gdb --nw --nh --nx --pid 21763 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=41705, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '35207'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x71a5aa263eb0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x71a5ac53c670> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x71a5aa263eb0> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x71a5aa293f40> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x71a5aa263eb0> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 35207 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_False_0/pydevd_debug_file_21716.txt Both processes started Running: gdb --nw --nh --nx --pid 21776 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=35207, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:50 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_fixtures.py:50: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _dummy_socket(): tests_python/test_pydevd_io.py:124 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_pydevd_io.py:124: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _redirect_context(): tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:122 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_tracing_on_top_level.py:122: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def trace_top_level(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... ===== 5 failed, 783 skipped, 8 deselected, 5 warnings in 109.91s (0:01:49) ===== *** END OF RUN 3: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** STARTING RUN 4: python3.10 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.10 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.10 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.10/site-packages site.getsitepackages(): ['/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.10/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.10_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots SKIPPED (Test passed in previous runs) [ 2%] tests/test_check_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 SKIPPED (Test passed in previous runs) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_async SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_hello SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_console_requests SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_search SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure SKIPPED (Test passed in previous runs) [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_simple SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_debugger_connected SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_source_reference SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_relative_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_zip_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_source_mapping SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_referrers SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_2 SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_3 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_5 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_6 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_7 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_8 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_9 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_10 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_11 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_12 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_13 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_14 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_15 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_17 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_17a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_18 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_19 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_20 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_flask SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_b SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_cython SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_qthread1 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread2 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread3 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread4 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_m_switch SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_module_entry_point SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_set_next_statement SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_type_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_event_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_settrace SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_path_translation[False] SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_linecache_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_evaluate_errors SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_list_threads SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_print SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_method_single_line SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_suspension_policy SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_debug_zip_files SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_reload SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_custom_frames SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_remote SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_return_value SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_gettr_warning SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_step_return_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_step_over_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_access_token SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_namedtuple SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_in SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_notify_stdin SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_process_event SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_update_rules SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_completions_json SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_modules SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_dict_ordered SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_getattr_warning SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_hex_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stopped_event SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_stepping SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_stack_levels SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_goto SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_notify_gevent SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_ppid SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_module_crash SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_access_token SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_json_message SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_global_scope SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_replace_process SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_logging_api SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_dump_threads.py::test_dump_threads SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_isidentifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_null.py::test_null SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_filtering SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_io_redirector SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_debug_console SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_bytes SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_unicode SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_no_repr SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_frame SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_thread SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_is_main_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_find_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_log SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_tracing_other_threads SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_tracing_basic SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_find_main_thread_id SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_import_token_from_module SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication SKIPPED (Test passed in previous runs) [100%] =================================== FAILURES =================================== _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '35827'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7657e181cfa0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7657aac249d0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7657e181cfa0> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7657aab2cd30> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7657e181cfa0> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 35827 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_no_threads_0/pydevd_debug_file_21789.txt Both processes started Running: gdb --nw --nh --nx --pid 21796 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=35827, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '34651'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7657a8833d30> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7657aab2c4c0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7657a8833d30> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7657a8827490> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7657a8833d30> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 34651 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_no_threads_1/pydevd_debug_file_21789.txt Both processes started Running: gdb --nw --nh --nx --pid 21809 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=34651, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '41643'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7657a8233940> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7657aab2c550> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7657a8233940> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7657a8824310> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7657a8233940> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 129226146792736\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 129226146792736\n', 'Secondary thread ident should be: 129226137202976\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 129226146792736 E Secondary thread ident should be: 129226137202976 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 41643 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_halted0/pydevd_debug_file_21789.txt Both processes started stdout: Main thread ident should be: 129226146792736 stdout: Secondary thread ident should be: 129226137202976 Running: gdb --nw --nh --nx --pid 21822 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=41643, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '44807'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7657aae224a0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7657aaaebbe0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7657aae224a0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7657a88e4dc0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7657aae224a0> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 44807 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_True_0/pydevd_debug_file_21789.txt Both processes started Running: gdb --nw --nh --nx --pid 21836 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=44807, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '34293'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7657aac09300> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7657aab2c790> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7657aac09300> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7657a887d990> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7657aac09300> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 34293 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_False_0/pydevd_debug_file_21789.txt Both processes started Running: gdb --nw --nh --nx --pid 21849 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=34293, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:50 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_fixtures.py:50: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _dummy_socket(): tests_python/test_pydevd_io.py:124 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_pydevd_io.py:124: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _redirect_context(): tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:122 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_tracing_on_top_level.py:122: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def trace_top_level(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... ===== 5 failed, 783 skipped, 8 deselected, 5 warnings in 109.70s (0:01:49) ===== *** END OF RUN 4: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** STARTING RUN 5: python3.10 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload ============================= test session starts ============================== platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.10 PYDEVD_USE_CYTHON: True PYDEVD_TEST_VM: None Number of processors: 4 Relevant system paths: sys.executable: /usr/bin/python3.10 sys.prefix: /usr sys.base_prefix: /usr site.getusersitepackages(): /<>/debian/.debhelper/generated/_source/home/.local/lib/python3.10/site-packages site.getsitepackages(): ['/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3.10/dist-packages'] cachedir: .pytest_cache rootdir: /<>/.pybuild/cpython3_3.10_pydevd/build, configfile: pytest.ini, testpaths: test_pydevd_reload, tests, tests_mainloop, tests_python, tests_runfiles plugins: xdist-2.5.0, forked-1.4.0 collecting ... collected 796 items / 8 deselected / 788 selected test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_change_hierarchy_old_style SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_create_class2 SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_if_code_obj_equals SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_metaclass SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_parent_function SKIPPED (Test passed in previous runs) [ 0%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload2 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload3 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_pydevd_reload4 SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_custom_code_after_changes_in_class SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_numpy SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_reload_relative SKIPPED (Test passed in previous runs) [ 1%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_constant_with_custom_code2 SKIPPED (Test passed in previous runs) [ 2%] test_pydevd_reload/test_pydevd_reload.py::Test::test_update_with_slots SKIPPED (Test passed in previous runs) [ 2%] tests/test_check_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers1 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers2 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers3 SKIPPED (Test passed in previous runs) [ 2%] tests/test_get_referrers.py::Test::test_get_referrers4 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers5 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers6 SKIPPED (Test passed in previous runs) [ 3%] tests/test_get_referrers.py::Test::test_get_referrers7 SKIPPED (Test passed in previous runs) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1 SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1a SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1b SKIPPED (Jython related test) [ 3%] tests/test_jysimpleTipper.py::TestMod::test_imports1c SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports2a SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports3 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_imports5 SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestMod::test_tip_on_string SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestSearch::test_search_on_jython SKIPPED (Jython related test) [ 4%] tests/test_jysimpleTipper.py::TestCompl::test_getting_info_on_jython SKIPPED (Jython related test) [ 4%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testAddExec_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_1 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_2 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::testGetCompletions_3 SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_complete_does_not_do_python_matches SKIPPED (Test passed in previous runs) [ 5%] tests/test_pydev_ipython_011.py::TestPyDevFrontEnd::test_get_namespace SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_1 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::testQuestionMark_2 SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_edit SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_gui SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_history SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydev_ipython_011.py::TestRunningCode::test_print SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_async SKIPPED (Test passed in previous runs) [ 6%] tests/test_pydevconsole.py::Test::test_console_hello SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_console_requests SKIPPED (Test passed in previous runs) [ 7%] tests/test_pydevconsole.py::Test::test_server SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_dot_net_libraries SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2 SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2a SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2b SKIPPED (Test passed in previous runs) [ 7%] tests/test_simpleTipper.py::TestCPython::test_imports2c SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports3 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports4 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_imports5 SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_inspect SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_search SKIPPED (Test passed in previous runs) [ 8%] tests/test_simpleTipper.py::TestCPython::test_tips_hasattr_failure SKIPPED (Test passed in previous runs) [ 8%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_additional_thread_info.py::TestCase::test_start_new_thread2 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_02 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_03 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_04 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_05 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_06 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_07 SKIPPED (Test passed in previous runs) [ 9%] tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_08 SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_bytecode_manipulation.py::test_internal_double_linked_list SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_class_and_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_lambda SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_make_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_for_list_comp SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_for SKIPPED (Test passed in previous runs) [ 10%] tests_python/test_code_obj_to_source_code.py::test_code_obj_to_source_call_func2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info2 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info3 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info4a SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled7 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_raise_unhandled10 SKIPPED (Test passed in previous runs) [ 11%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_return_on_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_with SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_1 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_in_single_line_2 SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_multiple_except SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_try_except_info_async_for SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_collect_return_info SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr SKIPPED (Test passed in previous runs) [ 12%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_many SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr2 SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_simple_method_calls SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_assign SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_build_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_return_tuple_with_call SKIPPED (Test passed in previous runs) [ 13%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_attr SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_cls_method SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_collect_bytecode_info.py::test_simple_code_to_bytecode_repr_unicode SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_simple SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_console.py::test_console_debugger_connected SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_convert_utilities SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_source_reference SKIPPED (Test passed in previous runs) [ 14%] tests_python/test_convert_utilities.py::test_translate_only_drive SKIPPED (Windows-only test.) [ 14%] tests_python/test_convert_utilities.py::test_to_server_and_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_relative_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_zip_paths SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_source_mapping SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_client SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_convert_utilities.py::test_mapping_conflict_to_server SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_referrers SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_2 SKIPPED (Test passed in previous runs) [ 15%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception0-skip_print_breakpoint_exception0] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception1-skip_print_breakpoint_exception1] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception2-skip_print_breakpoint_exception2] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception3-skip_print_breakpoint_exception3] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception4-skip_print_breakpoint_exception4] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_breakpoint_condition_exc[skip_suspend_on_breakpoint_exception5-skip_print_breakpoint_exception5] SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_remove_breakpoint SKIPPED (Test passed in previous runs) [ 16%] tests_python/test_debugger.py::test_case_double_remove_breakpoint SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_3 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_suspend_all_thread SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_5 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_6 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_7 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_8 SKIPPED (Test passed in previous runs) [ 17%] tests_python/test_debugger.py::test_case_9 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_10 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_11 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_12 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_13 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_14 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_15 SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_16_resolve_numpy_array SKIPPED (Test passed in previous runs) [ 18%] tests_python/test_debugger.py::test_case_17 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_17a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_18 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_19 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_20 SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_flask SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_a SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_b SKIPPED (Test passed in previous runs) [ 19%] tests_python/test_debugger.py::test_case_django_template_inherits_no_exception SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_var_error SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_cython SKIPPED (Test passed in previous runs) [ 20%] tests_python/test_debugger.py::test_case_qthread1 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread2 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread3 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_qthread4 SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_m_switch SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_module_entry_point SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_check_tracer_with_exceptions SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 21%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[True-_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_basic SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level1 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level2 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level3 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_unhandled_exceptions_in_top_level4 SKIPPED (Test passed in previous runs) [ 22%] tests_python/test_debugger.py::test_case_set_next_statement SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_unhandled_exceptions_get_stack SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_throw_exc_reason_xml SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_get_next_statement_targets SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_type_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_event_ext SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_writer_creation_deadlock SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_skip_breakpoints_in_exceptions SKIPPED (Test passed in previous runs) [ 23%] tests_python/test_debugger.py::test_case_handled_exceptions0 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions1 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions2 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions3 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_handled_exceptions4 SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_settrace SKIPPED (Test passed in previous runs) [ 24%] tests_python/test_debugger.py::test_case_scapy SKIPPED (This is *very* flaky.) [ 24%] tests_python/test_debugger.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_path_translation[False] SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_linecache_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_show_bytecode_xml SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_evaluate_errors SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_list_threads SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_print SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda SKIPPED (Test passed in previous runs) [ 25%] tests_python/test_debugger.py::test_case_lamdda_multiline SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_method_single_line SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_suspension_policy SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_get_thread_stack SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_case_dump_threads_to_stderr SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_stop_on_start_regular SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_py_37_breakpoint[_debugger_case_breakpoint.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py2.py] SKIPPED (Test passed in previous runs) [ 26%] tests_python/test_debugger.py::test_generator_cases[_debugger_case_generator_py3.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_m_switch SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_stop_on_start_entry_point SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_debug_zip_files SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_2.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_python_c.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_simple[_debugger_case_multiprocessing_pool.py] SKIPPED (Test passed in previous runs) [ 27%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[0] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[1] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[2] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[3] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_multiprocessing_with_stopped_breakpoints[4] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_quoting.py] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_subprocess_quoted_args[_debugger_case_subprocess_zip.py] SKIPPED (Test passed in previous runs) [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] FAILED [ 28%] tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] FAILED [ 29%] tests_python/test_debugger.py::test_attach_to_pid_halted FAILED [ 29%] tests_python/test_debugger.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_threads SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_py_37_breakpoint_remote SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_debugger_multi_proc[False] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[True] SKIPPED (Test passed in previous runs) [ 29%] tests_python/test_debugger.py::test_remote_unhandled_exceptions[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_trace_dispatch_correct SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_case_single_notification_on_step SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_reload SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_custom_frames SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[True] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] SKIPPED (Test passed in previous runs) [ 30%] tests_python/test_debugger.py::test_gevent_remote SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_return_value SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_gettr_warning SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[True] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_run_pause_all_threads_single_notification[False] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_top_level_exceptions_on_attach[scenario_caught_and_uncaught] SKIPPED (Test passed in previous runs) [ 31%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines0] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines1] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines2] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines3] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines4] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines5] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines6] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_frame_eval_limitations[_debugger_case_tracing.py-break_at_lines7] SKIPPED (Test passed in previous runs) [ 32%] tests_python/test_debugger.py::test_step_return_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case1 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case2 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_smart_step_into_case3 SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_step_over_my_code SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_sysexit_on_filtered_file SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_once] SKIPPED (Test passed in previous runs) [ 33%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[handled_multiple] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_not_on_filtered_file[unhandled] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_exception_on_filtered_file SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_over-environ2] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ0] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ1] SKIPPED (Test passed in previous runs) [ 34%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_return-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ0] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ1] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_settings[step_in-environ2] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_step_over_my_code_global_setting_and_explicit_include SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_access_token SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_namedtuple SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 35%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_over_basic[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator3.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_return[_debugger_case_generator2.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_stepin_not_my_code_coroutine SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_generator_step_in SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 36%] tests_python/test_debugger.py::test_asyncio_step_over_basic[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_over_end_of_function[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_in[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_asyncio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_asyncio_step_return[_debugger_case_trio.py] SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_notify_stdin SKIPPED (Test passed in previous runs) [ 37%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_01 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_02 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_03 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_04 SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break with] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 1] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break try 2] SKIPPED (Test passed in previous runs) [ 38%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 1] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break except 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 2] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 3] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break finally 4] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break in dict] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_frame_eval_mode_corner_case_many[break else] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content0] SKIPPED (Test passed in previous runs) [ 39%] tests_python/test_debugger.py::test_debugger_shadowed_imports[module_name_and_content1] SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger.py::test_debugger_hide_pydevd_threads SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_failure_ok SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_logpoint_and_step_still_prints SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_count_and_step SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_hit_condition_error SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_process_event SKIPPED (Test passed in previous runs) [ 40%] tests_python/test_debugger_json.py::test_case_json_change_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_no_break_on_generator SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_throw_exc_reason SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception[True] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[False] SKIPPED (Test passed in previous runs) [ 41%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_coroutine[True] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_dont_stop SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_user_unhandled_exception_stop_on_yield SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[True-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-absolute] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception_just_my_code[False-relative] SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception SKIPPED (Test passed in previous runs) [ 42%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_generator.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_unhandled_exception SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_0.py-False] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-True] SKIPPED (Test passed in previous runs) [ 43%] tests_python/test_debugger_json.py::test_case_sys_exit_0_unhandled_exception[_debugger_case_sysexit_none.py-False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[True] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_sys_exit_0_handled_exception[False] SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_handled_exception_breaks_by_type SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_json_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_started_exited_threads_protocol SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_path_translation_not_skipped SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_exclude_double_step SKIPPED (Test passed in previous runs) [ 44%] tests_python/test_debugger_json.py::test_case_update_rules SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_full] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_module_prefix] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_filename] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_exclude_launch_path_match_folder] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_skipping_filters[set_just_my_code_and_include] SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_case_completions_json SKIPPED (Test passed in previous runs) [ 45%] tests_python/test_debugger_json.py::test_modules SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_dict_ordered SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_stack_and_variables_dict SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_variables_with_same_name SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_hasattr_failure SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_getattr_warning SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_warning_on_repl SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_numpy SKIPPED (Test passed in previous runs) [ 46%] tests_python/test_debugger_json.py::test_evaluate_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_no_name_mangling SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_repl SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_evaluate_block_clipboard SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_exception_on_dir SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_in] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_next] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[True-step_out] SKIPPED (Test passed in previous runs) [ 47%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_in] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_next] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_return_value_regular[False-step_out] SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_stack_and_variables_set_and_list SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_exec_unicode SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_repl_redirect SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_no_double_exec SKIPPED (Test passed in previous runs) [ 48%] tests_python/test_debugger_json.py::test_evaluate_variable_references SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_expression_failures SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_get_variable_errors SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_failure SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_tuple] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_set] SKIPPED (Test passed in previous runs) [ 49%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_list] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_set_variable_multiple_cases[_check_dict_subclass] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_get_variables_corner_case SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stack_and_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_hex_variables SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_stopped_event SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_pause_and_continue SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[False] SKIPPED (Test passed in previous runs) [ 50%] tests_python/test_debugger_json.py::test_step_out_multi_threads[True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_next-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-True] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads[step_in-False] SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_stepping SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_failures SKIPPED (Test passed in previous runs) [ 51%] tests_python/test_debugger_json.py::test_evaluate_exception_trace SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[default] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[all] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_exception_details[10] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_stack_levels SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_breakpoint_adjustment SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_goto SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace] SKIPPED (Test passed in previous runs) [ 52%] tests_python/test_debugger_json.py::test_set_debugger_property[trace] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[change_pattern] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_set_debugger_property[dont_trace_after_start] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_errors SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[True-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_base[False-_debugger_case_source_mapping_and_reference.py] SKIPPED (Test passed in previous runs) [ 53%] tests_python/test_debugger_json.py::test_source_mapping_just_my_code SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_source_mapping_goto_target SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_process_autoreload_cherrypy SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_wait_for_attach_gevent SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[True] SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets[False] SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_not_python SKIPPED (Test passed in previous runs) [ 54%] tests_python/test_debugger_json.py::test_gevent_subprocess_python SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_notify_gevent SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_ppid SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_path_translation_and_source_reference SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_source_reference_no_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json_existing_file SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_linecache_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_show_bytecode_json SKIPPED (Test passed in previous runs) [ 55%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True] SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_django_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_case_flask_line_validation SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_redirect_output SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_listen_dap_messages SKIPPED (Test passed in previous runs) [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[True] FAILED [ 56%] tests_python/test_debugger_json.py::test_attach_to_pid[False] FAILED [ 56%] tests_python/test_debugger_json.py::test_remote_debugger_basic SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--use-c-switch] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_pydevd_customization[--posix-spawn] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_subprocess_then_fork SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[True] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_no_subprocess_patching[False] SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_module_crash SKIPPED (Test passed in previous runs) [ 57%] tests_python/test_debugger_json.py::test_pydevd_systeminfo SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[no_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_request] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[kill_subprocesses_ignore_pid-terminate_debugee] SKIPPED (Test passed in previous runs) [ 58%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_request] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_terminate[dont_kill_subprocesses-terminate_debugee] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_access_token SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_stop_on_entry2 SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[True] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_debug_options[False] SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_custom SKIPPED (Test passed in previous runs) [ 59%] tests_python/test_debugger_json.py::test_gui_event_loop_qt5 SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[True] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_just_my_code_debug_option_deprecated[False] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_invalid_messages SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_send_json_message SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_global_scope SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation0-_check_inline_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation1-_check_hide_var_presentation] SKIPPED (Test passed in previous runs) [ 60%] tests_python/test_debugger_json.py::test_variable_presentation[var_presentation2-_check_class_group_special_inline_presentation] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_breakpoint_on_unblock_thread_eval SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_unblock_manually SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_notify_evaluate_timeout SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_deadlock_interrupt_thread SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-True] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[True-False] SKIPPED (Test passed in previous runs) [ 61%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-True] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_symlink[False-False] SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_debugger_case_sensitive SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_native_threads SKIPPED (Windows only test and only Python 3.6 onwards.) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_multiple SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_step_into_target_genexpr SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_basic SKIPPED (Test passed in previous runs) [ 62%] tests_python/test_debugger_json.py::test_function_breakpoints_async SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_same_lineno_and_filename SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_replace_process SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[True] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_use_real_path_and_not_links[False] SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_basic SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_ipython_stepping_step_in SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_debugger_json.py::test_logging_api SKIPPED (Test passed in previous runs) [ 63%] tests_python/test_dump_threads.py::test_dump_threads SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_basic SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_1 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_2 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_3 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_4 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_5 SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec SKIPPED (Test passed in previous runs) [ 64%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_as_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_exec_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_async_eval_error SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_evaluate_expression.py::test_evaluate_expression_name_mangling SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_isidentifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_extract_token.py::test_extract_token_and_qualifier SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread1 SKIPPED (Test passed in previous runs) [ 65%] tests_python/test_fixtures.py::test_fixture_reader_thread2 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_fixtures.py::test_fixture_reader_thread3 SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_and_resume SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_step_return SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_break_while_running SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_exc_break SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_exc_break_while_running SKIPPED (Test passed in previous runs) [ 66%] tests_python/test_frame_eval_and_tracing.py::test_add_termination_exc_break SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_whitebox_test SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_frame_eval_change_breakpoints SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_generator_code_cache SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_eval_and_tracing.py::test_break_line_1 SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[0] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_thread_info[1] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[0] SKIPPED (Test passed in previous runs) [ 67%] tests_python/test_frame_evaluator.py::test_func_code_info[1] SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_frame_evaluator.py::test_generate_code_with_breakpoints SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_null.py::test_null SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_process_command_line.py::Test::testProcessCommandLine2 SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_str_to_args_windows SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_return_original_args SKIPPED (Test passed in previous runs) [ 68%] tests_python/test_pydev_monkey.py::test_monkey_patch_pathlib_args SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_wrong_object_type_2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_subprocess_pathlib SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_separate_future_imports SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc_future_import2 SKIPPED (Test passed in previous runs) [ 69%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_indc2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_1 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_2 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_flag_in_single_arg_3 SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_x_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_c_flag_inline SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module SKIPPED (Test passed in previous runs) [ 70%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_unbuffered_module SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_inline2 SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_with_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_no_indc_without_pydevd SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[True] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_c_program_arg[False] SKIPPED (Test passed in previous runs) [ 71%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_module_single_arg SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydev_monkey.py::test_monkey_patch_args_stdin SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_api.py::test_pydevd_api_breakpoints SKIPPED (Windows-only test.) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_01 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots_prefix_02 SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_in_project_roots SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_filtering SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_glob_matching SKIPPED (Test passed in previous runs) [ 72%] tests_python/test_pydevd_filtering.py::test_rules_to_exclude_filter SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_io_redirector SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_patch_stdin SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_debug_console SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_basic SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stderr] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_pydevd_io.py::test_redirect_to_pyd_io_messages_user_change_stdout[stdout] SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver SKIPPED (Test passed in previous runs) [ 73%] tests_python/test_resolvers.py::test_dict_resolver_hex SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_simple SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver_hasattr_error SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_object_resolver__dict__non_strings SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_django_forms_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver SKIPPED (Test passed in previous runs) [ 74%] tests_python/test_resolvers.py::test_tuple_resolver_mixed SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_run.py::test_run_on_local_module_without_adding_to_pythonpath SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_collection_types SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestSafeRepr::test_largest_repr SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_small SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_large SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_largest_unchanged SKIPPED (Test passed in previous runs) [ 75%] tests_python/test_safe_repr.py::TestStrings::test_str_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_largest_unchanged SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_str_list_smallest_changed SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_small SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_unicode_large SKIPPED (Py2 specific test) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_small SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestStrings::test_bytes_large SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_flat SKIPPED (Test passed in previous runs) [ 76%] tests_python/test_safe_repr.py::TestTuples::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestTuples::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_flat SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_large_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_boundary SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_nested SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_directly_recursive SKIPPED (Test passed in previous runs) [ 77%] tests_python/test_safe_repr.py::TestLists::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_large_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestFrozensets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_flat SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_boundary SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_nested SKIPPED (Test passed in previous runs) [ 78%] tests_python/test_safe_repr.py::TestSets::test_large_nested SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_key SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_large_both SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_nested_value SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_empty SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_sorted SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_unsortable_keys SKIPPED (Test passed in previous runs) [ 79%] tests_python/test_safe_repr.py::TestDicts::test_directly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestDicts::test_indirectly_recursive SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_small SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_stop_only SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestOtherPythonTypes::test_range_large_with_start SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_broken_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_large SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_inherit_repr SKIPPED (Test passed in previous runs) [ 80%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_many_items SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestUserDefinedObjects::test_custom_repr_large_item SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_int32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_float32 SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::TestNumpy::test_zeros SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params0] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params1] SKIPPED (Test passed in previous runs) [ 81%] tests_python/test_safe_repr.py::test_py3_str_slicing[True-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params0] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params1] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_py3_str_slicing[False-params2] SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_bytes SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_raw_unicode SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_safe_repr.py::test_no_repr SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_change_in_inner_frame SKIPPED (Test passed in previous runs) [ 82%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_cellvars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_co_freevars SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_frame_simple_change SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_save_locals.py::TestSetLocals::test_set_locals_using_save_locals SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_frame SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_schema.py::test_schema_translation_thread SKIPPED (Test passed in previous runs) [ 83%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_002 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_003 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_004 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_005 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_006 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_007 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_008 SKIPPED (Test passed in previous runs) [ 84%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_009 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_011 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_012 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_013 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_014 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_015 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_016 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_017 SKIPPED (Test passed in previous runs) [ 85%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_018 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_019 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_020 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_021 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_022 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_023 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_024 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_025 SKIPPED (Test passed in previous runs) [ 86%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_026 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_027 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_028 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_029 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_030 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_031 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_032 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_033 SKIPPED (Test passed in previous runs) [ 87%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_034 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_035 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_036 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_037 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_038 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_039 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_040 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_041 SKIPPED (Test passed in previous runs) [ 88%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_042 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_043 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_044 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_045 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_046 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_047 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_048 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_049 SKIPPED (Test passed in previous runs) [ 89%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_050 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_051 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_052 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_053 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_054 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_055 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_056 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_057 SKIPPED (Test passed in previous runs) [ 90%] tests_python/test_smart_step_into_bytecode.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_smart_step_into_bytecode.py::test_smart_step_into_bytecode_info_00eq SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_suspended_frames_manager SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_suspended_frames_manager.py::test_get_child_variables SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_timeout_0_time SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_create_interrupt_this_thread_callback SKIPPED (Test passed in previous runs) [ 91%] tests_python/test_timeout_tracker.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 92%] tests_python/test_tracing_gotchas.py::test_tracing_gotchas SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled10] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled9] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception2] SKIPPED (Test passed in previous runs) [ 92%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception3a] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_handled_exception4] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled10] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled11] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled12] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled2] SKIPPED (Test passed in previous runs) [ 93%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled3] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled4] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled5] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled6] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled7] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled8] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled9] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception] SKIPPED (Test passed in previous runs) [ 94%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[raise_unhandled_exception_not_in_except_clause] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_tracing_on_top_level.py::test_tracing_on_top_level_unhandled[reraise_handled_exception] SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_expression_to_evaluate SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_is_main_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_find_thread SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_convert_dap_log_message_to_expression SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_log SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_pydevd_logging_files SKIPPED (Test passed in previous runs) [ 95%] tests_python/test_utilities.py::test_tracing_other_threads SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_tracing_basic SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_find_main_thread_id SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_get_ppid SKIPPED (Windows-only test.) [ 96%] tests_python/test_utilities.py::test_gevent_notify SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_interrupt_main_thread SKIPPED (Skipping because running this test can interrupt the test suite execution.) [ 96%] tests_python/test_utilities.py::test_get_smart_step_into_variant_from_frame_offset SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_threading_hide_pydevd SKIPPED (Test passed in previous runs) [ 96%] tests_python/test_utilities.py::test_import_token_from_module SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property2 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevd_property.py::Test::test_property3 SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_pydevdio.py::Test::test_it SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___adjust_python_path_works_for_directories SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___get_module_from_str SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___importify SKIPPED (Test passed in previous runs) [ 97%] tests_runfiles/test_runfiles.py::RunfilesTest::test___is_valid_py_file SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___match SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test___unixify SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_a_file_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_files_in_dir_from_file_system SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_modules_from_import_strings SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_non_unique_name SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_test_with_unique_name_returns_1_test SKIPPED (Test passed in previous runs) [ 98%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_from_modules_with_bad_filter_returns_0_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_when_no_filter SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_finding_tests_with_regex_filters SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_matching_tests SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_parse_cmdline SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_runfile_imports SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_suite_used SKIPPED (Test passed in previous runs) [ 99%] tests_runfiles/test_runfiles.py::RunfilesTest::test_xml_rpc_communication SKIPPED (Test passed in previous runs) [100%] =================================== FAILURES =================================== _____________________ test_attach_to_pid_no_threads[True] ______________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '34401'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b8e74f37f40> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b8e3aa649d0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b8e74f37f40> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b8e3a96cd30> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b8e74f37f40> reattach = True @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 34401 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_no_threads_0/pydevd_debug_file_21862.txt Both processes started Running: gdb --nw --nh --nx --pid 21869 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=34401, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** _____________________ test_attach_to_pid_no_threads[False] _____________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '39199'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b8e38673c10> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b8e3a96c4c0> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b8e38673c10> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2751: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b8e38667490> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b8e38673c10> reattach = False @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') @pytest.mark.parametrize('reattach', [True, False]) def test_attach_to_pid_no_threads(case_setup_remote, reattach): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2749: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 39199 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_no_threads_1/pydevd_debug_file_21862.txt Both processes started Running: gdb --nw --nh --nx --pid 21882 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=39199, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2751, in test_attach_to_pid_no_threads _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid_halted ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py', '35059'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b8e3806f850> filename = '_debugger_case_attach_to_pid_multiple_threads.py' wait_for_port = False, access_token = None, client_access_token = None append_command_line_args = (), kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b8e3a92bf40> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b8e3806f850> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition > _attach_to_writer_pid(writer) tests_python/test_debugger.py:2794: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port)]) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger.py:2743: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b8e38664b80> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b8e3806f850> @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='CPython only test (brittle on Mac).') def test_attach_to_pid_halted(case_setup_remote): > with case_setup_remote.test_file('_debugger_case_attach_to_pid_multiple_threads.py', wait_for_port=False) as writer: tests_python/test_debugger.py:2792: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \nMain thread ident should be: 124443995096352\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 124443995096352\n', 'Secondary thread ident should be: 124443985506592\n'] stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E Main thread ident should be: 124443995096352 E Secondary thread ident should be: 124443985506592 E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_multiple_threads.py 35059 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_halted0/pydevd_debug_file_21862.txt Both processes started stdout: Main thread ident should be: 124443995096352 stdout: Secondary thread ident should be: 124443985506592 Running: gdb --nw --nh --nx --pid 21895 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=35059, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2794, in test_attach_to_pid_halted _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger.py", line 2743, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** ___________________________ test_attach_to_pid[True] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '46767'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b8e3ac67b20> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b8e3a92bb50> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b8e3ac67b20> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b8e386677f0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b8e3ac67b20> reattach = True @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 46767 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_True_0/pydevd_debug_file_21862.txt Both processes started Running: gdb --nw --nh --nx --pid 21909 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=46767, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** __________________________ test_attach_to_pid[False] ___________________________ self = args = ['/usr/bin/python3.10', '-u', '/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py', '37683'] writer = @contextmanager def run_process(self, args, writer): process = self.create_process(args, writer) writer.process = process stdout = [] stderr = [] finish = [False] dct_with_stdout_stder = {} fail_with_message = False try: start_in_daemon_thread(read_process, (process.stdout, stdout, sys.stdout, 'stdout', finish)) start_in_daemon_thread(read_process, (process.stderr, stderr, sys.stderr, 'stderr', finish)) if SHOW_OTHER_DEBUG_INFO: print('Both processes started') # polls can fail (because the process may finish and the thread still not -- so, we give it some more chances to # finish successfully). initial_time = time.time() shown_intermediate = False dumped_threads = False dct_with_stdout_stder['stdout'] = stdout dct_with_stdout_stder['stderr'] = stderr try: > yield dct_with_stdout_stder tests_python/debugger_unittest.py:517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = writer_class = .WriterThread'> wait_for_port = False, wait_for_initialization = True @contextmanager def check_case(self, writer_class, wait_for_port=True, wait_for_initialization=True): try: if callable(writer_class): writer = writer_class() else: writer = writer_class try: writer.start() if wait_for_port: wait_for_condition(lambda: hasattr(writer, 'port')) self.writer = writer args = self.get_command_line() args = self.add_command_line_args(args) if SHOW_OTHER_DEBUG_INFO: print('executing: %s' % (' '.join(args),)) with self.run_process(args, writer) as dct_with_stdout_stder: try: if not wait_for_initialization: # The use-case for this is that the debugger can't even start-up in this # scenario, as such, sleep a bit so that the output can be collected. time.sleep(1) elif wait_for_port: wait_for_condition(lambda: writer.finished_initialization) except TimeoutError: sys.stderr.write('Timed out waiting for initialization\n') sys.stderr.write('stdout:\n%s\n\nstderr:\n%s\n' % ( ''.join(dct_with_stdout_stder['stdout']), ''.join(dct_with_stdout_stder['stderr']), )) raise finally: writer.get_stdout = lambda: ''.join(dct_with_stdout_stder['stdout']) writer.get_stderr = lambda: ''.join(dct_with_stdout_stder['stderr']) > yield writer tests_python/debugger_unittest.py:460: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = .CaseSetup object at 0x7b8e3a955ed0> filename = '_debugger_case_attach_to_pid_simple.py', wait_for_port = False access_token = None, client_access_token = None, append_command_line_args = () kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0x7b8e3a96c670> writer = @contextmanager def test_file( self, filename, wait_for_port=True, access_token=None, client_access_token=None, append_command_line_args=(), **kwargs ): def update_command_line_args(writer, args): ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) wait_for_condition(lambda: hasattr(writer, 'port')) ret.append(str(writer.port)) if access_token is not None: ret.append('--access-token') ret.append(access_token) if client_access_token is not None: ret.append('--client-access-token') ret.append(client_access_token) ret.extend(append_command_line_args) return ret WriterThread.TEST_FILE = debugger_unittest._get_debugger_test_file(filename) WriterThread.update_command_line_args = update_command_line_args for key, value in kwargs.items(): assert hasattr(WriterThread, key) setattr(WriterThread, key, value) with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: > yield writer tests_python/debugger_fixtures.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ case_setup_remote = .CaseSetup object at 0x7b8e3a955ed0> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize to get to the while loop. > _attach_to_writer_pid(writer) tests_python/test_debugger_json.py:4732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ writer = def _attach_to_writer_pid(writer): import pydevd import threading import subprocess assert writer.process is not None def attach(): attach_pydevd_file = os.path.join(os.path.dirname(pydevd.__file__), 'pydevd_attach_to_process', 'attach_pydevd.py') subprocess.call([sys.executable, attach_pydevd_file, '--pid', str(writer.process.pid), '--port', str(writer.port), '--protocol', 'http_json']) threading.Thread(target=attach).start() > wait_for_condition(lambda: writer.finished_initialization) tests_python/test_debugger_json.py:4722: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ condition = . at 0x7b8e3816beb0> msg = None, timeout = 20, sleep = 0.05 def wait_for_condition(condition, msg=None, timeout=TIMEOUT, sleep=.05): curtime = time.time() while True: if condition(): break if time.time() - curtime > timeout: error_msg = 'Condition not reached in %s seconds' % (timeout,) if msg is not None: error_msg += '\n' if callable(msg): error_msg += msg() else: error_msg += str(msg) > raise TimeoutError(error_msg) E TimeoutError: Condition not reached in 20 seconds tests_python/debugger_unittest.py:173: TimeoutError During handling of the above exception, another exception occurred: case_setup_remote = .CaseSetup object at 0x7b8e3a955ed0> reattach = False @pytest.mark.parametrize('reattach', [True, False]) @pytest.mark.skipif(not IS_CPYTHON or IS_MAC, reason='Attach to pid only available in CPython (brittle on Mac).') def test_attach_to_pid(case_setup_remote, reattach): import threading > with case_setup_remote.test_file('_debugger_case_attach_to_pid_simple.py', wait_for_port=False) as writer: tests_python/test_debugger_json.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_fixtures.py:353: in test_file with debugger_runner_remote.check_case(WriterThread, wait_for_port=wait_for_port) as writer: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:441: in check_case with self.run_process(args, writer) as dct_with_stdout_stder: /usr/lib/python3.10/contextlib.py:153: in __exit__ self.gen.throw(typ, value, traceback) tests_python/debugger_unittest.py:599: in run_process self.fail_with_message(msg, stdout, stderr, writer) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = msg = 'TimeoutError\n\n===========================\nStdout: \n\n\n===========================\nStderr:\n\n===========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = [], stderr = [] writerThread = def fail_with_message(self, msg, stdout, stderr, writerThread): log_contents = '' for f in pydev_log.list_log_files(self.pydevd_debug_file): if os.path.exists(f): with open(f, 'r') as stream: log_contents += '\n-------------------- %s ------------------\n\n' % (f,) log_contents += stream.read() msg += ("\n\n===========================\nStdout: \n" + ''.join(stdout) + "\n\n===========================\nStderr:" + ''.join(stderr) + "\n\n===========================\nWriter Log:\n" + '\n'.join(getattr(writerThread, 'log', [])) + "\n\n===========================\nLog:" + log_contents) if IS_JYTHON: # It seems we have some spurious errors which make Jython tests flaky (on a test run it's # not unusual for one test among all the tests to fail with this error on Jython). # The usual traceback in this case is: # # Traceback (most recent call last): # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 287, in _on_run # line = self._read_line() # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/build/fabioz/PyDev.Debugger/_pydevd_bundle/pydevd_comm.py", line 270, in _read_line # r = self.sock.recv(1024) # File "/home/travis/jython/Lib/_socket.py", line 1270, in recv # data, _ = self._get_message(bufsize, "recv") # File "/home/travis/jython/Lib/_socket.py", line 384, in handle_exception # raise _map_exception(jlx) # error: [Errno -1] Unmapped exception: java.lang.NullPointerException # # So, ignore errors in this situation. if 'error: [Errno -1] Unmapped exception: java.lang.NullPointerException' in msg: raise IgnoreFailureError() > raise AssertionError(msg) E AssertionError: TimeoutError E E =========================== E Stdout: E E E =========================== E Stderr: E E =========================== E Writer Log: E write: CMD_THREAD_DUMP_TO_STDERR: 153 1 E E =========================== E Log: tests_python/debugger_unittest.py:647: AssertionError ----------------------------- Captured stdout call ----------------------------- start_socket Waiting in socket.accept() executing: /usr/bin/python3.10 -u /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/resources/_debugger_case_attach_to_pid_simple.py 37683 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_False_0/pydevd_debug_file_21862.txt Both processes started Running: gdb --nw --nh --nx --pid 21923 --batch --eval-command='set scheduler-locking off' --eval-command='set architecture auto' --eval-command='call (void*)dlopen("/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so", 2)' --eval-command='sharedlibrary attach' --eval-command='call (int)DoAttach(0, "import sys;sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build\");sys.path.append(\"/<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process\");import attach_script;attach_script.attach(port=37683, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "rs6000:6000").\n' stderr: b'Could not attach to process. If your uid matches the uid of the target\nprocess, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\nagain as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\nptrace: Inappropriate ioctl for device.\nTarget \'None\' cannot support this command.\nNo symbol table is loaded. Use the "file" command.\nNo symbol table is loaded. Use the "file" command.\n' Test Writer Thread Written CMD_THREAD_DUMP_TO_STDERR: 153 1 .sock not available when sending: 153 1 ----------------------------- Captured stderr call ----------------------------- *********** *********** *********** Traceback (most recent call last): File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 517, in run_process yield dct_with_stdout_stder File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 460, in check_case yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_fixtures.py", line 354, in test_file yield writer File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4732, in test_attach_to_pid _attach_to_writer_pid(writer) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_debugger_json.py", line 4722, in _attach_to_writer_pid wait_for_condition(lambda: writer.finished_initialization) File "/<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/debugger_unittest.py", line 173, in wait_for_condition raise TimeoutError(error_msg) TimeoutError: Condition not reached in 20 seconds *********** *********** *********** =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:719 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:719: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests_python.debugger_fixtures self.import_plugin(import_spec) tests_python/test_fixtures.py:50 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_fixtures.py:50: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _dummy_socket(): tests_python/test_pydevd_io.py:124 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_pydevd_io.py:124: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def _redirect_context(): tests_python/test_timeout_tracker.py:10 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_timeout_tracker.py:10: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(autouse=True) tests_python/test_tracing_on_top_level.py:122 /<>/.pybuild/cpython3_3.10_pydevd/build/tests_python/test_tracing_on_top_level.py:122: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def trace_top_level(): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[True] - A... FAILED tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] - ... FAILED tests_python/test_debugger.py::test_attach_to_pid_halted - AssertionEr... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[True] - Asserti... FAILED tests_python/test_debugger_json.py::test_attach_to_pid[False] - Assert... ===== 5 failed, 783 skipped, 8 deselected, 5 warnings in 109.84s (0:01:49) ===== *** END OF RUN 5: NOT ALL TESTS HAVE YET PASSED/XFAILED *** *** SOME TESTS FAILED/ERRORED EVERY RUN, ABORTING *** E: pybuild pybuild:379: test: plugin custom failed with: exit code=1: cd /<>/.pybuild/cpython3_3.10_pydevd/build; /<>/debian/run_tests python3.10 -m pytest --deselect=tests_python/test_debugger.py::test_matplotlib_activation --deselect=tests_python/test_debugger_json.py::test_pandas --ignore=tests/test_jyserver.py --ignore=tests/test_pyserver.py --ignore=tests_python/test_pydevcoverage.py --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01 --deselect=tests_python/test_bytecode_manipulation.py::test_set_pydevd_break_01a --deselect=tests_python/test_debugger_json.py::test_case_flask_exceptions --deselect=tests_python/test_debugger.py::test_py_37_breakpoint_remote_no_import --deselect=tests_python/test_debugger_json.py::test_code_reload dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 3.10" returned exit code 13 make[1]: Leaving directory '/<>' create-stamp debian/debhelper-build-stamp dh_testroot -a -O--buildsystem=pybuild dh_prep -a -O--buildsystem=pybuild dh_auto_install -a -O--buildsystem=pybuild I: pybuild base:240: /usr/bin/python3.11 setup.py install --root /<>/debian/python3-pydevd 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. running install /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py package init file 'pydevd_attach_to_process/__init__.py' not found (or not a regular file) running egg_info writing pydevd.egg-info/PKG-INFO writing dependency_links to pydevd.egg-info/dependency_links.txt writing entry points to pydevd.egg-info/entry_points.txt writing top-level names to pydevd.egg-info/top_level.txt reading manifest file 'pydevd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pydevd.egg-info/SOURCES.txt' running build_ext building '_pydevd_frame_eval.pydevd_frame_evaluator' extension powerpc64le-linux-gnu-gcc -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -fexceptions -g -fwrapv -O2 -g -O3 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE_MODULE=1 -I/usr/include/python3.11 -c _pydevd_frame_eval/pydevd_frame_evaluator.c -o build/temp.linux-ppc64el-3.11/_pydevd_frame_eval/pydevd_frame_evaluator.o -flto _pydevd_frame_eval/pydevd_frame_evaluator.c:721:10: fatal error: code.h: No such file or directory 721 | #include "code.h" | ^~~~~~~~ compilation terminated. running install running build running build_py package init file 'pydevd_attach_to_process/__init__.py' not found (or not a regular file) running egg_info writing pydevd.egg-info/PKG-INFO writing dependency_links to pydevd.egg-info/dependency_links.txt writing entry points to pydevd.egg-info/entry_points.txt writing top-level names to pydevd.egg-info/top_level.txt reading manifest file 'pydevd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pydevd.egg-info/SOURCES.txt' running install_lib creating /<>/debian/python3-pydevd creating /<>/debian/python3-pydevd/usr creating /<>/debian/python3-pydevd/usr/lib creating /<>/debian/python3-pydevd/usr/lib/python3.11 creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/pydev_runfiles_nose.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/pydev_runfiles_xml_rpc.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/pydev_runfiles_pytest2.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/pydev_runfiles_unittest.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/pydev_runfiles.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/pydev_runfiles_coverage.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/pydev_runfiles_parallel_client.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_coverage.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_parallel.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_pytest2.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_parallel_client.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_xml_rpc.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_unittest.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/pydev_runfiles_parallel.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/jinja2_debug.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/pydevd_line_validation.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/__pycache__/django_debug.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/__pycache__/pydevd_line_validation.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/__pycache__/jinja2_debug.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/django_debug.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/pydevd_helpers.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/__pycache__/pydevd_plugin_numpy_types.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/__pycache__/pydevd_plugins_django_form_str.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/__pycache__/pydevd_helpers.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/types/__pycache__/pydevd_plugin_pandas_types.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/extensions/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_app_engine_debug_startup.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval/pydevd_frame_tracing.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval/pydevd_modify_bytecode.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval/pydevd_frame_eval_main.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval/__pycache__/pydevd_frame_eval_cython_wrapper.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval/__pycache__/pydevd_frame_eval_main.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_frame_eval/pydevd_frame_evaluator.c -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/inputhooktk.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/inputhookgtk.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/qt.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/inputhookqt4.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/inputhookgtk3.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/qt_loaders.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/inputhookqt5.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/inputhook.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/inputhookwx.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/inputhookglut.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/__pycache__/inputhook.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/__pycache__/matplotlibtools.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/inputhookpyglet.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/qt_for_kernel.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/version.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython/matplotlibtools.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_tracing.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages copying /<>/.pybuild/cpython3_3.11_pydevd/build/setup_pydevd_cython.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_run_in_console.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_console_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_umd.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_sys_patch.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_override.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_tipper_common.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_monkey_qt.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_jy_imports_tipper.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_ipython_console.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_execfile.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_import_hook.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_completer.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_localhost.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_monkey.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_getopt.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_is_thread_alive.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_imports.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/fsnotify copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/fsnotify/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/fsnotify creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/fsnotify/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/fsnotify/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/fsnotify/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_saved_modules.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_filesystem_encoding.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/_pydev_execfile.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_umd.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/_pydev_completer.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_override.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/_pydev_filesystem_encoding.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/_pydev_getopt.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/_pydev_calltip_util.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_imports.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/_pydev_tipper_common.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_localhost.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_console_utils.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/_pydev_imports_tipper.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_is_thread_alive.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/_pydev_saved_modules.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_import_hook.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_log.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_ipython_console_011.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/__pycache__/pydev_monkey.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_ipython_console_011.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_versioncheck.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_imports_tipper.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/pydev_log.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_log.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_bundle/_pydev_calltip_util.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach_pydevd.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach.so -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/_test_attach_to_process.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/_test_attach_to_process_linux.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/attach_script.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/_always_live_program.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/system.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/search.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/interactive.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/registry.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/module.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/event.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/crash.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/context_i386.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/gdi32.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/dbghelp.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/defines.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/kernel32.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/shlwapi.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/psapi.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/ntdll.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/advapi32.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/shell32.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/peb_teb.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/user32.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/wtsapi32.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/version.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/win32/context_amd64.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/thread.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/window.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/breakpoint.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/debug.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/util.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/disasm.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/textio.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/process.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/sql.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/winappdbg/compat.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/_check.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/__pycache__/attach_script.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/__pycache__/add_code_to_python_process.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/add_code_to_python_process.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/linux_and_mac copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_attach_to_process/linux_and_mac/lldb_prepare.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/linux_and_mac copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/__pycache__/pydevd_file_utils.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/__pycache__/pydevconsole.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/__pycache__/pydevd.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/__pycache__/conftest.cpython-311-pytest-7.1.2.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/__pycache__/pydevd_tracing.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/__pycache__ creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache copying /<>/.pybuild/cpython3_3.11_pydevd/build/.pytest_cache/CACHEDIR.TAG -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache/v creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache/v/cache copying /<>/.pybuild/cpython3_3.11_pydevd/build/.pytest_cache/v/cache/nodeids -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache/v/cache copying /<>/.pybuild/cpython3_3.11_pydevd/build/.pytest_cache/v/cache/lastfailed -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache/v/cache copying /<>/.pybuild/cpython3_3.11_pydevd/build/.pytest_cache/v/cache/stepwise -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache/v/cache copying /<>/.pybuild/cpython3_3.11_pydevd/build/.pytest_cache/.gitignore -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache copying /<>/.pybuild/cpython3_3.11_pydevd/build/.pytest_cache/README.md -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevconsole.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_file_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_bytecode_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_extension_api.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_cython_wrapper.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_traceproperty.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_additional_thread_info_regular.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_dont_trace.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_extension_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_save_locals.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_signature.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_breakpoints.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__/pydevd_thread_wrappers.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__/pydevd_concurrency_logger.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_trace_api.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_code_to_source.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_reload.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_constants.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_process_net_command.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_process_net_command_json.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_api.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_suspended_frames.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_xml.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_frame.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_defaults.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_timeout.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_additional_thread_info.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_vars.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_trace_dispatch.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_source_mapping.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_custom_frames.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_collect_bytecode_info.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_runpy.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_stackless.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_io.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_trace_dispatch_regular.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_cython.c -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_dont_trace_files.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_plugin_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_command_line_handling.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_net_command.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_cython.cpython-311-powerpc64le-linux-gnu.so -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_referrers.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_resolver.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_vars.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_io.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_plugin_utils.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_json_debug_options.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_collect_bytecode_info.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_safe_repr.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_extension_api.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_process_net_command_json.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_constants.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_trace_dispatch.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_comm_constants.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_net_command.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_api.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_frame_utils.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_additional_thread_info.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_extension_utils.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_filtering.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_save_locals.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_code_to_source.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_source_mapping.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_net_command_factory_xml.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_dont_trace.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_stackless.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_console.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevconsole_code.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_import_class.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_referrers.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_runpy.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_defaults.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_thread_lifecycle.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_vm_type.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_traceproperty.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_dont_trace_files.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_timeout.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_daemon_thread.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_suspended_frames.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_cython_wrapper.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_exec2.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_net_command_factory_json.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_reload.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_command_line_handling.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_bytecode_utils.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_frame.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_trace_api.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_additional_thread_info_regular.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_utils.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_trace_dispatch_regular.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_custom_frames.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_breakpoints.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_xml.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_process_net_command.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/__pycache__/pydevd_comm.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__pycache__ creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter/__pycache__/pydevd_schema.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter/__pycache__/pydevd_base_schema.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter/__pycache__/__init__.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter/__pycache__/pydevd_schema_log.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/_debug_adapter/pydevd_schema.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm_constants.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_frame_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_filtering.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_safe_repr.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_net_command_factory_json.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_thread_lifecycle.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_vm_type.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_console.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_resolver.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_net_command_factory_xml.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_json_debug_options.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevconsole_code.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_exec2.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_import_class.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_gevent_integration.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/pydev_runfiles_nose.py to pydev_runfiles_nose.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/pydev_runfiles_xml_rpc.py to pydev_runfiles_xml_rpc.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/pydev_runfiles_pytest2.py to pydev_runfiles_pytest2.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/pydev_runfiles_unittest.py to pydev_runfiles_unittest.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/pydev_runfiles.py to pydev_runfiles.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/pydev_runfiles_coverage.py to pydev_runfiles_coverage.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/pydev_runfiles_parallel_client.py to pydev_runfiles_parallel_client.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_runfiles/pydev_runfiles_parallel.py to pydev_runfiles_parallel.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/jinja2_debug.py to jinja2_debug.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/pydevd_line_validation.py to pydevd_line_validation.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/django_debug.py to django_debug.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py to pydevd_plugins_django_form_str.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/pydevd_helpers.py to pydevd_helpers.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py to pydevd_plugin_pandas_types.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py to pydevd_plugin_numpy_types.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_app_engine_debug_startup.py to pydev_app_engine_debug_startup.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval/pydevd_frame_tracing.py to pydevd_frame_tracing.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval/pydevd_modify_bytecode.py to pydevd_modify_bytecode.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval/pydevd_frame_eval_main.py to pydevd_frame_eval_main.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py to pydevd_frame_eval_cython_wrapper.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/inputhooktk.py to inputhooktk.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/inputhookgtk.py to inputhookgtk.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/qt.py to qt.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/inputhookqt4.py to inputhookqt4.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/inputhookgtk3.py to inputhookgtk3.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/qt_loaders.py to qt_loaders.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/inputhookqt5.py to inputhookqt5.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/inputhook.py to inputhook.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/inputhookwx.py to inputhookwx.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/inputhookglut.py to inputhookglut.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/inputhookpyglet.py to inputhookpyglet.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/qt_for_kernel.py to qt_for_kernel.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/version.py to version.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython/matplotlibtools.py to matplotlibtools.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_tracing.py to pydevd_tracing.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/setup_pydevd_cython.py to setup_pydevd_cython.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_run_in_console.py to pydev_run_in_console.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_console_utils.py to pydev_console_utils.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_umd.py to pydev_umd.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_sys_patch.py to _pydev_sys_patch.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_override.py to pydev_override.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_tipper_common.py to _pydev_tipper_common.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_monkey_qt.py to pydev_monkey_qt.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_jy_imports_tipper.py to _pydev_jy_imports_tipper.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_ipython_console.py to pydev_ipython_console.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_execfile.py to _pydev_execfile.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_import_hook.py to pydev_import_hook.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_completer.py to _pydev_completer.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_localhost.py to pydev_localhost.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_monkey.py to pydev_monkey.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_getopt.py to _pydev_getopt.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_is_thread_alive.py to pydev_is_thread_alive.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_imports.py to pydev_imports.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/fsnotify/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_saved_modules.py to _pydev_saved_modules.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_filesystem_encoding.py to _pydev_filesystem_encoding.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_ipython_console_011.py to pydev_ipython_console_011.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_versioncheck.py to pydev_versioncheck.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_imports_tipper.py to _pydev_imports_tipper.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/pydev_log.py to pydev_log.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_log.py to _pydev_log.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydev_bundle/_pydev_calltip_util.py to _pydev_calltip_util.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/attach_pydevd.py to attach_pydevd.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/_test_attach_to_process.py to _test_attach_to_process.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/_test_attach_to_process_linux.py to _test_attach_to_process_linux.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/attach_script.py to attach_script.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/_always_live_program.py to _always_live_program.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/system.py to system.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/search.py to search.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/interactive.py to interactive.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/registry.py to registry.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/module.py to module.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/event.py to event.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/crash.py to crash.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/context_i386.py to context_i386.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/gdi32.py to gdi32.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/dbghelp.py to dbghelp.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/defines.py to defines.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/kernel32.py to kernel32.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/shlwapi.py to shlwapi.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/psapi.py to psapi.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/ntdll.py to ntdll.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/advapi32.py to advapi32.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/shell32.py to shell32.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/peb_teb.py to peb_teb.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/user32.py to user32.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/wtsapi32.py to wtsapi32.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/version.py to version.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32/context_amd64.py to context_amd64.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/thread.py to thread.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/window.py to window.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/breakpoint.py to breakpoint.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/debug.py to debug.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/util.py to util.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/disasm.py to disasm.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/textio.py to textio.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/process.py to process.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/sql.py to sql.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/compat.py to compat.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/_check.py to _check.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/add_code_to_python_process.py to add_code_to_python_process.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/linux_and_mac/lldb_prepare.py to lldb_prepare.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd.py to pydevd.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevconsole.py to pydevconsole.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_file_utils.py to pydevd_file_utils.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_bytecode_utils.py to pydevd_bytecode_utils.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_extension_api.py to pydevd_extension_api.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_cython_wrapper.py to pydevd_cython_wrapper.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_traceproperty.py to pydevd_traceproperty.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_additional_thread_info_regular.py to pydevd_additional_thread_info_regular.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_dont_trace.py to pydevd_dont_trace.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_extension_utils.py to pydevd_extension_utils.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_save_locals.py to pydevd_save_locals.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_signature.py to pydevd_signature.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_breakpoints.py to pydevd_breakpoints.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py to pydevd_concurrency_logger.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py to pydevd_thread_wrappers.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_trace_api.py to pydevd_trace_api.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_code_to_source.py to pydevd_code_to_source.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_reload.py to pydevd_reload.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_constants.py to pydevd_constants.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_process_net_command.py to pydevd_process_net_command.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_process_net_command_json.py to pydevd_process_net_command_json.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_api.py to pydevd_api.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_suspended_frames.py to pydevd_suspended_frames.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_xml.py to pydevd_xml.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_frame.py to pydevd_frame.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_defaults.py to pydevd_defaults.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_timeout.py to pydevd_timeout.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_additional_thread_info.py to pydevd_additional_thread_info.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_vars.py to pydevd_vars.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_trace_dispatch.py to pydevd_trace_dispatch.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_source_mapping.py to pydevd_source_mapping.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_custom_frames.py to pydevd_custom_frames.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_collect_bytecode_info.py to pydevd_collect_bytecode_info.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_runpy.py to pydevd_runpy.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_stackless.py to pydevd_stackless.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_io.py to pydevd_io.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_trace_dispatch_regular.py to pydevd_trace_dispatch_regular.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_dont_trace_files.py to pydevd_dont_trace_files.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_plugin_utils.py to pydevd_plugin_utils.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_command_line_handling.py to pydevd_command_line_handling.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_daemon_thread.py to pydevd_daemon_thread.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_net_command.py to pydevd_net_command.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_referrers.py to pydevd_referrers.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py to __main__pydevd_gen_debug_adapter_protocol.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py to pydevd_schema_log.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py to pydevd_base_schema.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/__init__.py to __init__.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/_debug_adapter/pydevd_schema.py to pydevd_schema.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_comm_constants.py to pydevd_comm_constants.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_frame_utils.py to pydevd_frame_utils.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_comm.py to pydevd_comm.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_utils.py to pydevd_utils.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_filtering.py to pydevd_filtering.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_safe_repr.py to pydevd_safe_repr.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_net_command_factory_json.py to pydevd_net_command_factory_json.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_thread_lifecycle.py to pydevd_thread_lifecycle.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_vm_type.py to pydevd_vm_type.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_console.py to pydevd_console.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_resolver.py to pydevd_resolver.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_net_command_factory_xml.py to pydevd_net_command_factory_xml.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_json_debug_options.py to pydevd_json_debug_options.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevconsole_code.py to pydevconsole_code.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_exec2.py to pydevd_exec2.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_import_class.py to pydevd_import_class.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle/pydevd_gevent_integration.py to pydevd_gevent_integration.cpython-311.pyc running install_egg_info Copying pydevd.egg-info to /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd-2.8.0+git20220826.8ee4065.egg-info Skipping SOURCES.txt running install_scripts Installing pydevd script to /<>/debian/python3-pydevd/usr/bin Plain-python version of pydevd installed (cython speedups not available). I: pybuild base:240: /usr/bin/python3 setup.py install --root /<>/debian/python3-pydevd running install /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py package init file 'pydevd_attach_to_process/__init__.py' not found (or not a regular file) running egg_info writing pydevd.egg-info/PKG-INFO writing dependency_links to pydevd.egg-info/dependency_links.txt writing entry points to pydevd.egg-info/entry_points.txt writing top-level names to pydevd.egg-info/top_level.txt reading manifest file 'pydevd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pydevd.egg-info/SOURCES.txt' running build_ext running install_lib creating /<>/debian/python3-pydevd/usr/lib/python3.10 creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/pydev_runfiles_nose.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/pydev_runfiles_xml_rpc.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/pydev_runfiles_pytest2.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/pydev_runfiles_unittest.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/pydev_runfiles.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/pydev_runfiles_coverage.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/pydev_runfiles_parallel_client.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_xml_rpc.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_pytest2.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_parallel_client.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_parallel.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_unittest.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__pycache__/pydev_runfiles_coverage.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/pydev_runfiles_parallel.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/jinja2_debug.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/pydevd_line_validation.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/__pycache__/pydevd_line_validation.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/__pycache__/django_debug.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/__pycache__/jinja2_debug.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/django_debug.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/pydevd_helpers.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/__pycache__/pydevd_helpers.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/__pycache__/pydevd_plugin_numpy_types.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/__pycache__/pydevd_plugins_django_form_str.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/types/__pycache__/pydevd_plugin_pandas_types.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/extensions/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_app_engine_debug_startup.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/pydevd_frame_tracing.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/pydevd_modify_bytecode.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/pydevd_frame_eval_main.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/__pycache__/pydevd_frame_tracing.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/__pycache__/pydevd_frame_eval_main.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/__pycache__/pydevd_modify_bytecode.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/__pycache__/pydevd_frame_eval_cython_wrapper.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-powerpc64le-linux-gnu.so -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/pydevd_frame_evaluator.c -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/inputhooktk.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/inputhookgtk.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/qt.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/inputhookqt4.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/inputhookgtk3.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/qt_loaders.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/inputhookqt5.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/inputhook.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/inputhookwx.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/inputhookglut.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/__pycache__/inputhook.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/__pycache__/matplotlibtools.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/inputhookpyglet.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/qt_for_kernel.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/version.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython/matplotlibtools.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_tracing.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages copying /<>/.pybuild/cpython3_3.10_pydevd/build/setup_pydevd_cython.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_run_in_console.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_console_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_umd.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_sys_patch.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_override.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_tipper_common.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_monkey_qt.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_jy_imports_tipper.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_ipython_console.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_execfile.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_import_hook.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_completer.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_localhost.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_monkey.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_getopt.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_is_thread_alive.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_imports.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/fsnotify copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/fsnotify/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/fsnotify creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/fsnotify/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/fsnotify/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/fsnotify/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_saved_modules.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_filesystem_encoding.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_override.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_log.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_imports.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/_pydev_completer.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_is_thread_alive.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_console_utils.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_umd.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/_pydev_imports_tipper.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/_pydev_tipper_common.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_localhost.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_ipython_console_011.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/_pydev_execfile.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/_pydev_filesystem_encoding.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_import_hook.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/_pydev_calltip_util.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/_pydev_getopt.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/pydev_monkey.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/__pycache__/_pydev_saved_modules.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_ipython_console_011.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_versioncheck.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_imports_tipper.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/pydev_log.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_log.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_bundle/_pydev_calltip_util.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach_pydevd.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach.so -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/_test_attach_to_process.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/_test_attach_to_process_linux.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/attach_script.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/_always_live_program.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/system.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/search.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/interactive.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/registry.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/module.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/event.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/crash.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/context_i386.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/gdi32.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/dbghelp.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/defines.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/kernel32.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/shlwapi.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/psapi.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/ntdll.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/advapi32.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/shell32.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/peb_teb.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/user32.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/wtsapi32.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/version.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/win32/context_amd64.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/thread.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/window.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/breakpoint.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/debug.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/util.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/disasm.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/textio.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/process.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/sql.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/winappdbg/compat.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/_check.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/__pycache__/attach_script.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/__pycache__/add_code_to_python_process.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/add_code_to_python_process.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/linux_and_mac copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_attach_to_process/linux_and_mac/lldb_prepare.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/linux_and_mac copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/__pycache__/pydevd_tracing.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/__pycache__/pydevd_file_utils.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/__pycache__/pydevconsole.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/__pycache__/pydevd.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/__pycache__/conftest.cpython-310-pytest-7.1.2.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/__pycache__ creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache copying /<>/.pybuild/cpython3_3.10_pydevd/build/.pytest_cache/CACHEDIR.TAG -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache/v creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache/v/cache copying /<>/.pybuild/cpython3_3.10_pydevd/build/.pytest_cache/v/cache/nodeids -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache/v/cache copying /<>/.pybuild/cpython3_3.10_pydevd/build/.pytest_cache/v/cache/lastfailed -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache/v/cache copying /<>/.pybuild/cpython3_3.10_pydevd/build/.pytest_cache/v/cache/stepwise -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache/v/cache copying /<>/.pybuild/cpython3_3.10_pydevd/build/.pytest_cache/.gitignore -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache copying /<>/.pybuild/cpython3_3.10_pydevd/build/.pytest_cache/README.md -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevconsole.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_file_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_bytecode_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_extension_api.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_cython_wrapper.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_traceproperty.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_additional_thread_info_regular.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_dont_trace.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_extension_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_save_locals.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_signature.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_breakpoints.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__/pydevd_thread_wrappers.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__/pydevd_concurrency_logger.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_trace_api.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_code_to_source.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_reload.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_constants.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_process_net_command.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_process_net_command_json.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_api.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_suspended_frames.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_xml.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_frame.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_defaults.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_timeout.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_additional_thread_info.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_vars.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_trace_dispatch.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_source_mapping.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_custom_frames.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_collect_bytecode_info.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_runpy.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_stackless.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_io.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_trace_dispatch_regular.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_cython.c -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_cython.cpython-310-powerpc64le-linux-gnu.so -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_dont_trace_files.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_plugin_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_command_line_handling.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_daemon_thread.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_net_command.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_referrers.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_comm_constants.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_trace_dispatch.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_utils.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_exec2.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_traceproperty.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_vm_type.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_code_to_source.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_gevent_integration.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_api.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_custom_frames.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_frame_utils.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_daemon_thread.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_trace_dispatch_regular.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_thread_lifecycle.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_comm.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_net_command_factory_xml.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_suspended_frames.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_referrers.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_defaults.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_extension_api.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_timeout.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_process_net_command.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_io.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevconsole_code.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_import_class.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_net_command.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_trace_api.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_collect_bytecode_info.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_resolver.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_dont_trace.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_plugin_utils.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_extension_utils.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_command_line_handling.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_breakpoints.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_net_command_factory_json.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_dont_trace_files.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_reload.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_xml.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_safe_repr.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_additional_thread_info_regular.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_bytecode_utils.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_frame.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_cython_wrapper.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_stackless.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_runpy.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_additional_thread_info.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_save_locals.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_vars.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_filtering.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_source_mapping.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_json_debug_options.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_process_net_command_json.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_console.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/__pycache__/pydevd_constants.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__pycache__ creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter/__init__.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter/__pycache__/pydevd_base_schema.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter/__pycache__/__init__.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter/__pycache__/pydevd_schema.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter/__pycache__/pydevd_schema_log.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/__pycache__ copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/_debug_adapter/pydevd_schema.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_comm_constants.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_frame_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_comm.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_utils.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_filtering.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_safe_repr.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_net_command_factory_json.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_thread_lifecycle.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_vm_type.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_console.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_resolver.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_net_command_factory_xml.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_json_debug_options.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevconsole_code.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_exec2.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_import_class.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_gevent_integration.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/pydev_runfiles_nose.py to pydev_runfiles_nose.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/pydev_runfiles_xml_rpc.py to pydev_runfiles_xml_rpc.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/pydev_runfiles_pytest2.py to pydev_runfiles_pytest2.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/pydev_runfiles_unittest.py to pydev_runfiles_unittest.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/pydev_runfiles.py to pydev_runfiles.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/pydev_runfiles_coverage.py to pydev_runfiles_coverage.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/pydev_runfiles_parallel_client.py to pydev_runfiles_parallel_client.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/pydev_runfiles_parallel.py to pydev_runfiles_parallel.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/jinja2_debug.py to jinja2_debug.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/pydevd_line_validation.py to pydevd_line_validation.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/django_debug.py to django_debug.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py to pydevd_plugins_django_form_str.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/pydevd_helpers.py to pydevd_helpers.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py to pydevd_plugin_pandas_types.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py to pydevd_plugin_numpy_types.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_app_engine_debug_startup.py to pydev_app_engine_debug_startup.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/pydevd_frame_tracing.py to pydevd_frame_tracing.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/pydevd_modify_bytecode.py to pydevd_modify_bytecode.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/pydevd_frame_eval_main.py to pydevd_frame_eval_main.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py to pydevd_frame_eval_cython_wrapper.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/inputhooktk.py to inputhooktk.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/inputhookgtk.py to inputhookgtk.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/qt.py to qt.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/inputhookqt4.py to inputhookqt4.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/inputhookgtk3.py to inputhookgtk3.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/qt_loaders.py to qt_loaders.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/inputhookqt5.py to inputhookqt5.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/inputhook.py to inputhook.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/inputhookwx.py to inputhookwx.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/inputhookglut.py to inputhookglut.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/inputhookpyglet.py to inputhookpyglet.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/qt_for_kernel.py to qt_for_kernel.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/version.py to version.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython/matplotlibtools.py to matplotlibtools.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_tracing.py to pydevd_tracing.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/setup_pydevd_cython.py to setup_pydevd_cython.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_run_in_console.py to pydev_run_in_console.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_console_utils.py to pydev_console_utils.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_umd.py to pydev_umd.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_sys_patch.py to _pydev_sys_patch.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_override.py to pydev_override.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_tipper_common.py to _pydev_tipper_common.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_monkey_qt.py to pydev_monkey_qt.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_jy_imports_tipper.py to _pydev_jy_imports_tipper.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_ipython_console.py to pydev_ipython_console.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_execfile.py to _pydev_execfile.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_import_hook.py to pydev_import_hook.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_completer.py to _pydev_completer.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_localhost.py to pydev_localhost.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_monkey.py to pydev_monkey.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_getopt.py to _pydev_getopt.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_is_thread_alive.py to pydev_is_thread_alive.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_imports.py to pydev_imports.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/fsnotify/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_saved_modules.py to _pydev_saved_modules.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_filesystem_encoding.py to _pydev_filesystem_encoding.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_ipython_console_011.py to pydev_ipython_console_011.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_versioncheck.py to pydev_versioncheck.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_imports_tipper.py to _pydev_imports_tipper.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/pydev_log.py to pydev_log.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_log.py to _pydev_log.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_bundle/_pydev_calltip_util.py to _pydev_calltip_util.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/attach_pydevd.py to attach_pydevd.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/_test_attach_to_process.py to _test_attach_to_process.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/_test_attach_to_process_linux.py to _test_attach_to_process_linux.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/attach_script.py to attach_script.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/_always_live_program.py to _always_live_program.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/system.py to system.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/search.py to search.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/interactive.py to interactive.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/registry.py to registry.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/module.py to module.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/event.py to event.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/crash.py to crash.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/context_i386.py to context_i386.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/gdi32.py to gdi32.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/dbghelp.py to dbghelp.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/defines.py to defines.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/kernel32.py to kernel32.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/shlwapi.py to shlwapi.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/psapi.py to psapi.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/ntdll.py to ntdll.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/advapi32.py to advapi32.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/shell32.py to shell32.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/peb_teb.py to peb_teb.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/user32.py to user32.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/wtsapi32.py to wtsapi32.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/version.py to version.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32/context_amd64.py to context_amd64.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/thread.py to thread.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/window.py to window.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/breakpoint.py to breakpoint.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/debug.py to debug.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/util.py to util.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/disasm.py to disasm.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/textio.py to textio.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/process.py to process.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/sql.py to sql.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/compat.py to compat.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/_check.py to _check.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/add_code_to_python_process.py to add_code_to_python_process.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/linux_and_mac/lldb_prepare.py to lldb_prepare.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd.py to pydevd.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevconsole.py to pydevconsole.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_file_utils.py to pydevd_file_utils.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_bytecode_utils.py to pydevd_bytecode_utils.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_extension_api.py to pydevd_extension_api.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_cython_wrapper.py to pydevd_cython_wrapper.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_traceproperty.py to pydevd_traceproperty.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_additional_thread_info_regular.py to pydevd_additional_thread_info_regular.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_dont_trace.py to pydevd_dont_trace.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_extension_utils.py to pydevd_extension_utils.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_save_locals.py to pydevd_save_locals.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_signature.py to pydevd_signature.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_breakpoints.py to pydevd_breakpoints.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py to pydevd_concurrency_logger.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py to pydevd_thread_wrappers.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_trace_api.py to pydevd_trace_api.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_code_to_source.py to pydevd_code_to_source.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_reload.py to pydevd_reload.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_constants.py to pydevd_constants.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_process_net_command.py to pydevd_process_net_command.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_process_net_command_json.py to pydevd_process_net_command_json.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_api.py to pydevd_api.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_suspended_frames.py to pydevd_suspended_frames.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_xml.py to pydevd_xml.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_frame.py to pydevd_frame.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_defaults.py to pydevd_defaults.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_timeout.py to pydevd_timeout.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_additional_thread_info.py to pydevd_additional_thread_info.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_vars.py to pydevd_vars.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_trace_dispatch.py to pydevd_trace_dispatch.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_source_mapping.py to pydevd_source_mapping.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_custom_frames.py to pydevd_custom_frames.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_collect_bytecode_info.py to pydevd_collect_bytecode_info.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_runpy.py to pydevd_runpy.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_stackless.py to pydevd_stackless.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_io.py to pydevd_io.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_trace_dispatch_regular.py to pydevd_trace_dispatch_regular.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_dont_trace_files.py to pydevd_dont_trace_files.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_plugin_utils.py to pydevd_plugin_utils.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_command_line_handling.py to pydevd_command_line_handling.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_daemon_thread.py to pydevd_daemon_thread.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_net_command.py to pydevd_net_command.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_referrers.py to pydevd_referrers.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py to __main__pydevd_gen_debug_adapter_protocol.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py to pydevd_schema_log.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py to pydevd_base_schema.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/__init__.py to __init__.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/_debug_adapter/pydevd_schema.py to pydevd_schema.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_comm_constants.py to pydevd_comm_constants.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_frame_utils.py to pydevd_frame_utils.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_comm.py to pydevd_comm.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_utils.py to pydevd_utils.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_filtering.py to pydevd_filtering.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_safe_repr.py to pydevd_safe_repr.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_net_command_factory_json.py to pydevd_net_command_factory_json.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_thread_lifecycle.py to pydevd_thread_lifecycle.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_vm_type.py to pydevd_vm_type.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_console.py to pydevd_console.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_resolver.py to pydevd_resolver.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_net_command_factory_xml.py to pydevd_net_command_factory_xml.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_json_debug_options.py to pydevd_json_debug_options.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevconsole_code.py to pydevconsole_code.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_exec2.py to pydevd_exec2.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_import_class.py to pydevd_import_class.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle/pydevd_gevent_integration.py to pydevd_gevent_integration.cpython-310.pyc running install_egg_info Copying pydevd.egg-info to /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd-2.8.0+git20220826.8ee4065.egg-info Skipping SOURCES.txt running install_scripts Installing pydevd script to /<>/debian/python3-pydevd/usr/bin debian/rules execute_after_dh_auto_install make[1]: Entering directory '/<>' # usr/bin needs to be moved from debian/python3-pydevd to debian/pydevd # dh_install will move it from debian/tmp mkdir -p debian/tmp/usr mv debian/python3-pydevd/usr/bin debian/tmp/usr make[1]: Leaving directory '/<>' dh_install -a -O--buildsystem=pybuild dh_installdocs -a -O--buildsystem=pybuild dh_installchangelogs -a -O--buildsystem=pybuild dh_installman -a -O--buildsystem=pybuild debian/rules override_dh_python3 make[1]: Entering directory '/<>' dh_python3 --no-ext-rename W: dh_python3 fs:146: Paths differ: debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache/v/cache/lastfailed and debian/python3-pydevd/usr/lib/python3/dist-packages/.pytest_cache/v/cache/lastfailed make[1]: Leaving directory '/<>' dh_installsystemduser -a -O--buildsystem=pybuild dh_perl -a -O--buildsystem=pybuild dh_link -a -O--buildsystem=pybuild dh_strip_nondeterminism -a -O--buildsystem=pybuild dh_compress -a -O--buildsystem=pybuild dh_fixperms -a -O--buildsystem=pybuild dh_missing -a -O--buildsystem=pybuild dh_dwz -a -O--buildsystem=pybuild dh_strip -a -O--buildsystem=pybuild debugedit: debian/python3-pydevd/usr/lib/python3/dist-packages/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-powerpc64le-linux-gnu.so: Unknown DWARF DW_FORM_0x1f20 95644ec9288a11e0a0a259e868297d9d2a19418c debugedit: debian/python3-pydevd/usr/lib/python3/dist-packages/pydevd_attach_to_process/attach.so: Unknown DWARF DW_FORM_0x1f21 6b298ffc31d35666a86da564d53b39541fbb09dc debugedit: debian/python3-pydevd/usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_cython.cpython-310-powerpc64le-linux-gnu.so: Unknown DWARF DW_FORM_0x1f20 6b46be51aa7f37f71556af7dfd5ce57f349e9eaf debugedit: debian/python3-pydevd/usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_cython.cpython-311-powerpc64le-linux-gnu.so: Unknown DWARF DW_FORM_0x1f21 ab97ca59ccaf16504cc5f33e725f6f5989730ba3 dh_makeshlibs -a -O--buildsystem=pybuild dh_shlibdeps -a -O--buildsystem=pybuild dh_installdeb -a -O--buildsystem=pybuild dh_gencontrol -a -O--buildsystem=pybuild dh_md5sums -a -O--buildsystem=pybuild dh_builddeb -a -O--buildsystem=pybuild INFO: pkgstriptranslations version 149 INFO: Disabling pkgstriptranslations for PPA build INFO: Disabling pkgmaintainermangler for PPA build INFO: Disabling pkgstripfiles for PPA build dpkg-deb: building package 'python3-pydevd' in '../python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.deb'. dpkg-genbuildinfo --build=any -O../pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-source: info: using options from pydevd-2.8.0+git20220826.8ee4065+ds/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/ dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2022-10-20T21:07:08Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.changes: ------------------------------------------------------------- Format: 1.8 Date: Thu, 20 Oct 2022 19:56:16 +0000 Source: pydevd Binary: python3-pydevd Built-For-Profiles: noudeb Architecture: ppc64el Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Distribution: kinetic Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Graham Inggs Description: python3-pydevd - Debugger used by debugpy Changes: pydevd (2.8.0+git20220826.8ee4065+ds-1ubuntu2) kinetic; urgency=medium . * No-change rebuild with Python 3.11 as supported version Checksums-Sha1: 489b8be71f5de18d696bdfa78fe3e119695f8245 16323 pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.buildinfo 7dc39590e2be47d196f6a4f96be706784c4b0392 681026 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.deb Checksums-Sha256: 779805f51e49731b589877025a89c1928ae28b418bff3948e1b11e9057d6ce8a 16323 pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.buildinfo a35e25b154c9eaa47bdd3ff2e86def4d1f3fb15f80d730244a64d74e6260f9d7 681026 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.deb Files: 0d1a973ac76e7c47383b2368a71b01b1 16323 python optional pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.buildinfo 39d2fbe318d74a0fe4f39ea77c482bc7 681026 python optional python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.deb /<>/pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.changes.new could not be renamed to /<>/pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: pydevd Binary: python3-pydevd Architecture: ppc64el Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Checksums-Md5: 39d2fbe318d74a0fe4f39ea77c482bc7 681026 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.deb Checksums-Sha1: 7dc39590e2be47d196f6a4f96be706784c4b0392 681026 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.deb Checksums-Sha256: a35e25b154c9eaa47bdd3ff2e86def4d1f3fb15f80d730244a64d74e6260f9d7 681026 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.deb Build-Origin: Ubuntu Build-Architecture: ppc64el Build-Date: Thu, 20 Oct 2022 21:07:07 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs usr-local-has-programs Installed-Build-Depends: adduser (= 3.121ubuntu1), autoconf (= 2.71-2), automake (= 1:1.16.5-1.3), autopoint (= 0.21-8), autotools-dev (= 20220109.1), base-files (= 12.2ubuntu3), base-passwd (= 3.6.0), bash (= 5.2-1ubuntu2), binutils (= 2.39-3ubuntu1), binutils-common (= 2.39-3ubuntu1), binutils-powerpc64le-linux-gnu (= 2.39-3ubuntu1), blt (= 2.5.3+dfsg-4.1build2), bsdextrautils (= 2.38-4ubuntu1), bsdutils (= 1:2.38-4ubuntu1), build-essential (= 12.9ubuntu3), bzip2 (= 1.0.8-5build1), coreutils (= 8.32-4.1ubuntu1), cpp (= 4:12.2.0-1ubuntu1), cpp-12 (= 12.2.0-3ubuntu1), cython3 (= 0.29.30-1ubuntu2), dash (= 0.5.11+git20210903+057cd650a4ed-8ubuntu1), debconf (= 1.5.79ubuntu1), debhelper (= 13.9.1ubuntu1), debianutils (= 5.7-0.3), debugedit (= 1:5.0-5), dh-autoreconf (= 20), dh-python (= 5.20221001build1), dh-strip-nondeterminism (= 1.13.0-1), diffutils (= 1:3.8-1), dpkg (= 1.21.9ubuntu1), dpkg-dev (= 1.21.9ubuntu1), dwz (= 0.14-1build2), file (= 1:5.41-4), findutils (= 4.9.0-3ubuntu1), fontconfig (= 2.13.1-4.4ubuntu1), fontconfig-config (= 2.13.1-4.4ubuntu1), fonts-dejavu-core (= 2.37-2build1), fonts-lyx (= 2.3.6.1-1), g++ (= 4:12.2.0-1ubuntu1), g++-12 (= 12.2.0-3ubuntu1), gawk (= 1:5.1.0-1build3), gcc (= 4:12.2.0-1ubuntu1), gcc-12 (= 12.2.0-3ubuntu1), gcc-12-base (= 12.2.0-3ubuntu1), gdb (= 12.1-3ubuntu2), gettext (= 0.21-8), gettext-base (= 0.21-8), grep (= 3.7-1build1), groff-base (= 1.22.4-8build1), gzip (= 1.12-1ubuntu1), hostname (= 3.23ubuntu2), init-system-helpers (= 1.64), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.3.1-1), libapparmor1 (= 3.0.7-1ubuntu3), libarchive-zip-perl (= 1.68-1), libargon2-1 (= 0~20171227-0.3), libasan8 (= 12.2.0-3ubuntu1), libatomic1 (= 12.2.0-3ubuntu1), libattr1 (= 1:2.5.1-1build1), libaudit-common (= 1:3.0.7-1ubuntu2), libaudit1 (= 1:3.0.7-1ubuntu2), libavahi-client3 (= 0.8-6ubuntu1), libavahi-common-data (= 0.8-6ubuntu1), libavahi-common3 (= 0.8-6ubuntu1), libbabeltrace1 (= 1.5.8-2build2), libbinutils (= 2.39-3ubuntu1), libblas3 (= 3.10.1-2), libblkid1 (= 2.38-4ubuntu1), libboost-dev (= 1.74.0.3ubuntu7), libboost-regex1.74.0 (= 1.74.0-17ubuntu2~ppa2), libboost1.74-dev (= 1.74.0-17ubuntu2~ppa2), libbrotli1 (= 1.0.9-2build7), libbsd0 (= 0.11.6-1), libbz2-1.0 (= 1.0.8-5build1), libc-ares2 (= 1.18.1-1build1), libc-bin (= 2.36-0ubuntu4), libc-dev-bin (= 2.36-0ubuntu4), libc6 (= 2.36-0ubuntu4), libc6-dev (= 2.36-0ubuntu4), libcap-ng0 (= 0.8.3-1build1), libcap2 (= 1:2.44-1build3), libcc1-0 (= 12.2.0-3ubuntu1), libcom-err2 (= 1.46.5-2ubuntu2), libcrypt-dev (= 1:4.4.28-2), libcrypt1 (= 1:4.4.28-2), libcryptsetup12 (= 2:2.5.0-2ubuntu1), libctf-nobfd0 (= 2.39-3ubuntu1), libctf0 (= 2.39-3ubuntu1), libcups2 (= 2.4.2-1ubuntu2), libcurl3-gnutls (= 7.85.0-1), libdb5.3 (= 5.3.28+dfsg1-0.10), libdbus-1-3 (= 1.14.0-2ubuntu2), libdebconfclient0 (= 0.264ubuntu1), libdebhelper-perl (= 13.9.1ubuntu1), libdebuginfod-common (= 0.187-4), libdebuginfod1 (= 0.187-4), libdeflate0 (= 1.12-1), libdevmapper1.02.1 (= 2:1.02.185-1ubuntu1), libdouble-conversion3 (= 3.2.1-1), libdpkg-perl (= 1.21.9ubuntu1), libdrm-amdgpu1 (= 2.4.113-2), libdrm-common (= 2.4.113-2), libdrm-nouveau2 (= 2.4.113-2), libdrm-radeon1 (= 2.4.113-2), libdrm2 (= 2.4.113-2), libdw1 (= 0.187-4), libedit2 (= 3.1-20210910-1build1), libegl-mesa0 (= 22.2.1-1ubuntu1), libegl1 (= 1.5.0-1), libelf1 (= 0.187-4), libev4 (= 1:4.33-1), libevdev2 (= 1.13.0+dfsg-1), libexpat1 (= 2.4.8-2), libexpat1-dev (= 2.4.8-2), libfdisk1 (= 2.38-4ubuntu1), libffi8 (= 3.4.2-4), libfile-stripnondeterminism-perl (= 1.13.0-1), libfontconfig1 (= 2.13.1-4.4ubuntu1), libfontenc1 (= 1:1.1.4-1build3), libfreetype6 (= 2.12.1+dfsg-3), libfribidi0 (= 1.0.8-2.1ubuntu1), libgbm1 (= 22.2.1-1ubuntu1), libgcc-12-dev (= 12.2.0-3ubuntu1), libgcc-s1 (= 12.2.0-3ubuntu1), libgcrypt20 (= 1.10.1-2ubuntu1), libgdbm-compat4 (= 1.23-1), libgdbm6 (= 1.23-1), libgfortran5 (= 12.2.0-3ubuntu1), libgl1 (= 1.5.0-1), libgl1-mesa-dri (= 22.2.1-1ubuntu1), libglapi-mesa (= 22.2.1-1ubuntu1), libglib2.0-0 (= 2.74.0-3), libglvnd0 (= 1.5.0-1), libglx-mesa0 (= 22.2.1-1ubuntu1), libglx0 (= 1.5.0-1), libgmp10 (= 2:6.2.1+dfsg1-1ubuntu2), libgnutls30 (= 3.7.7-2ubuntu2), libgomp1 (= 12.2.0-3ubuntu1), libgpg-error0 (= 1.45-2), libgraphite2-3 (= 1.3.14-1build2), libgssapi-krb5-2 (= 1.20-1), libgudev-1.0-0 (= 1:237-2build1), libharfbuzz0b (= 2.7.4-1ubuntu5), libhogweed6 (= 3.8.1-2), libice6 (= 2:1.0.10-1build2), libicu71 (= 71.1-3ubuntu1), libidn2-0 (= 2.3.3-1build1), libimagequant0 (= 2.17.0-1), libinput-bin (= 1.21.0-1), libinput10 (= 1.21.0-1), libip4tc2 (= 1.8.7-1ubuntu6), libisl23 (= 0.25-1), libitm1 (= 12.2.0-3ubuntu1), libjbig0 (= 2.1-3.1build3), libjpeg-turbo8 (= 2.1.2-0ubuntu1), libjpeg8 (= 8c-2ubuntu10), libjs-jquery (= 3.6.0+dfsg+~3.5.13-1), libjs-jquery-ui (= 1.13.2+dfsg-1), libjs-sphinxdoc (= 4.5.0-4), libjs-underscore (= 1.13.3~dfsg+~1.11.4-1), libjson-c5 (= 0.16-1), libk5crypto3 (= 1.20-1), libkeyutils1 (= 1.6.3-1), libkmod2 (= 30+20220630-3ubuntu1), libkrb5-3 (= 1.20-1), libkrb5support0 (= 1.20-1), liblapack3 (= 3.10.1-2), liblbfgsb0 (= 3.0+dfsg.3-11), liblcms2-2 (= 2.13.1-1), libldap-2.5-0 (= 2.5.13+dfsg-1ubuntu1), liblerc3 (= 3.0+ds-1ubuntu1), libllvm15 (= 1:15.0.2-1), liblsan0 (= 12.2.0-3ubuntu1), liblz4-1 (= 1.9.3-2build2), liblzma5 (= 5.2.5-2.1), libmagic-mgc (= 1:5.41-4), libmagic1 (= 1:5.41-4), libmd0 (= 1.0.4-2), libmd4c0 (= 0.4.8-1), libmount1 (= 2.38-4ubuntu1), libmpc3 (= 1.2.1-2build1), libmpdec3 (= 2.5.1-2build2), libmpfr6 (= 4.1.0-3build3), libmtdev1 (= 1.1.6-1build4), libncurses6 (= 6.3+20220423-2), libncursesw6 (= 6.3+20220423-2), libnettle8 (= 3.8.1-2), libnghttp2-14 (= 1.49.0-1), libnsl-dev (= 1.3.0-2build2), libnsl2 (= 1.3.0-2build2), libopenblas-dev (= 0.3.20+ds-2), libopenblas-pthread-dev (= 0.3.20+ds-2), libopenblas0 (= 0.3.20+ds-2), libopenblas0-pthread (= 0.3.20+ds-2), libopenjp2-7 (= 2.5.0-1), libp11-kit0 (= 0.24.1-1ubuntu2), libpam-modules (= 1.5.2-2ubuntu1), libpam-modules-bin (= 1.5.2-2ubuntu1), libpam-runtime (= 1.5.2-2ubuntu1), libpam0g (= 1.5.2-2ubuntu1), libpcre2-16-0 (= 10.40-1ubuntu1), libpcre2-8-0 (= 10.40-1ubuntu1), libpcre3 (= 2:8.39-14), libperl5.34 (= 5.34.0-5ubuntu1), libpipeline1 (= 1.5.6-2), libpixman-1-0 (= 0.40.0-1build4), libpng16-16 (= 1.6.38-2), libprocps8 (= 2:3.3.17-7ubuntu1), libpsl5 (= 0.21.0-1.2build2), libpython3-all-dev (= 3.10.6-1ubuntu1~ppa1), libpython3-dev (= 3.10.6-1ubuntu1~ppa1), libpython3-stdlib (= 3.10.6-1ubuntu1~ppa1), libpython3.10 (= 3.10.7-1), libpython3.10-dev (= 3.10.7-1), libpython3.10-minimal (= 3.10.7-1), libpython3.10-stdlib (= 3.10.7-1), libpython3.11 (= 3.11.0~rc2-1ubuntu1~ppa1), libpython3.11-dev (= 3.11.0~rc2-1ubuntu1~ppa1), libpython3.11-minimal (= 3.11.0~rc2-1ubuntu1~ppa1), libpython3.11-stdlib (= 3.11.0~rc2-1ubuntu1~ppa1), libqhull-r8.0 (= 2020.2-5), libqt5core5a (= 5.15.6+dfsg-1), libqt5dbus5 (= 5.15.6+dfsg-1), libqt5designer5 (= 5.15.6-1build1), libqt5gui5 (= 5.15.6+dfsg-1), libqt5help5 (= 5.15.6-1build1), libqt5network5 (= 5.15.6+dfsg-1), libqt5printsupport5 (= 5.15.6+dfsg-1), libqt5sql5 (= 5.15.6+dfsg-1), libqt5svg5 (= 5.15.6-1), libqt5test5 (= 5.15.6+dfsg-1), libqt5widgets5 (= 5.15.6+dfsg-1), libqt5x11extras5 (= 5.15.6-1), libqt5xml5 (= 5.15.6+dfsg-1), libquadmath0 (= 12.2.0-3ubuntu1), libraqm0 (= 0.7.0-4ubuntu1), libreadline8 (= 8.2-1), librtmp1 (= 2.4+20151223.gitfa8646d.1-2build4), libsasl2-2 (= 2.1.28+dfsg-6ubuntu2), libsasl2-modules-db (= 2.1.28+dfsg-6ubuntu2), libseccomp2 (= 2.5.4-1ubuntu2), libselinux1 (= 3.4-1build1), libsemanage-common (= 3.4-1build1), libsemanage2 (= 3.4-1build1), libsensors-config (= 1:3.6.0-7ubuntu1), libsensors5 (= 1:3.6.0-7ubuntu1), libsepol2 (= 3.4-2), libsigsegv2 (= 2.14-1ubuntu1), libsm6 (= 2:1.2.3-1build2), libsmartcols1 (= 2.38-4ubuntu1), libsource-highlight-common (= 3.1.9-4.1ubuntu1), libsource-highlight4v5 (= 3.1.9-4.1ubuntu1), libsqlite3-0 (= 3.39.3-1), libssh-4 (= 0.9.6-2build1), libssl3 (= 3.0.5-2ubuntu1), libstdc++-12-dev (= 12.2.0-3ubuntu1), libstdc++6 (= 12.2.0-3ubuntu1), libsub-override-perl (= 0.09-3), libsystemd-shared (= 251.4-1ubuntu7), libsystemd0 (= 251.4-1ubuntu7), libtasn1-6 (= 4.18.0-4build1), libtcl8.6 (= 8.6.12+dfsg-1build1), libtiff5 (= 4.4.0-4ubuntu3), libtinfo6 (= 6.3+20220423-2), libtirpc-common (= 1.3.3+ds-1), libtirpc-dev (= 1.3.3+ds-1), libtirpc3 (= 1.3.3+ds-1), libtk8.6 (= 8.6.12-1build1), libtool (= 2.4.7-4), libtsan2 (= 12.2.0-3ubuntu1), libubsan1 (= 12.2.0-3ubuntu1), libuchardet0 (= 0.0.7-1build2), libudev1 (= 251.4-1ubuntu7), libunistring2 (= 1.0-1), libunwind8 (= 1.6.2-0ubuntu1), libuuid1 (= 2.38-4ubuntu1), libwacom-common (= 2.4.0-3), libwacom9 (= 2.4.0-3), libwayland-client0 (= 1.21.0-1), libwayland-server0 (= 1.21.0-1), libwebp7 (= 1.2.2-2), libwebpdemux2 (= 1.2.2-2), libwebpmux3 (= 1.2.2-2), libx11-6 (= 2:1.8.1-2), libx11-data (= 2:1.8.1-2), libx11-xcb1 (= 2:1.8.1-2), libxau6 (= 1:1.0.9-1build5), libxaw7 (= 2:1.0.14-1), libxcb-dri2-0 (= 1.15-1), libxcb-dri3-0 (= 1.15-1), libxcb-glx0 (= 1.15-1), libxcb-icccm4 (= 0.4.1-1.1build2), libxcb-image0 (= 0.4.0-2), libxcb-keysyms1 (= 0.4.0-1build3), libxcb-present0 (= 1.15-1), libxcb-randr0 (= 1.15-1), libxcb-render-util0 (= 0.3.9-1build3), libxcb-render0 (= 1.15-1), libxcb-shape0 (= 1.15-1), libxcb-shm0 (= 1.15-1), libxcb-sync1 (= 1.15-1), libxcb-util1 (= 0.4.0-1build2), libxcb-xfixes0 (= 1.15-1), libxcb-xinerama0 (= 1.15-1), libxcb-xinput0 (= 1.15-1), libxcb-xkb1 (= 1.15-1), libxcb1 (= 1.15-1), libxdmcp6 (= 1:1.1.3-0ubuntu5), libxext6 (= 2:1.3.4-1build1), libxfixes3 (= 1:6.0.0-1), libxfont2 (= 1:2.0.5-1build1), libxft2 (= 2.3.4-1), libxkbcommon-x11-0 (= 1.4.1-1), libxkbcommon0 (= 1.4.1-1), libxkbfile1 (= 1:1.1.0-1build3), libxml2 (= 2.9.14+dfsg-1build1), libxmu6 (= 2:1.1.3-3), libxmuu1 (= 2:1.1.3-3), libxpm4 (= 1:3.5.12-1build2), libxrandr2 (= 2:1.5.2-2), libxrender1 (= 1:0.9.10-1.1), libxshmfence1 (= 1.3-1build4), libxsimd-dev (= 8.1.0-7), libxslt1.1 (= 1.1.35-1), libxss1 (= 1:1.2.3-1build2), libxt6 (= 1:1.2.1-1), libxxf86vm1 (= 1:1.1.4-1build3), libxxhash0 (= 0.8.1-1), libzstd1 (= 1.5.2+dfsg-1), linux-libc-dev (= 5.19.0-21.21), login (= 1:4.11.1+dfsg1-2ubuntu1), lsb-base (= 11.2ubuntu1), lto-disabled-list (= 35), m4 (= 1.4.19-1), make (= 4.3-4.1build1), man-db (= 2.10.2-2), mawk (= 1.3.4.20200120-3.1), media-types (= 8.0.0), mount (= 2.38-4ubuntu1), ncurses-base (= 6.3+20220423-2), ncurses-bin (= 6.3+20220423-2), passwd (= 1:4.11.1+dfsg1-2ubuntu1), patch (= 2.7.6-7build2), perl (= 5.34.0-5ubuntu1), perl-base (= 5.34.0-5ubuntu1), perl-modules-5.34 (= 5.34.0-5ubuntu1), po-debconf (= 1.0.21+nmu1), procps (= 2:3.3.17-7ubuntu1), python-babel-localedata (= 2.8.0+dfsg.1-7), python-matplotlib-data (= 3.5.2-2build2~ppa1), python3 (= 3.10.6-1ubuntu1~ppa1), python3-all (= 3.10.6-1ubuntu1~ppa1), python3-all-dev (= 3.10.6-1ubuntu1~ppa1), python3-appdirs (= 1.4.4-2), python3-asgiref (= 3.5.0-1), python3-async-generator (= 1.10-3), python3-attr (= 22.1.0-1), python3-babel (= 2.8.0+dfsg.1-7), python3-backcall (= 0.2.0-3), python3-beniget (= 0.4.1-2), python3-brotli (= 1.0.9-2build7), python3-bytecode (= 0.13.0-2), python3-cheroot (= 8.6.0+ds1-3ubuntu1), python3-cherrypy3 (= 18.8.0-1), python3-click (= 8.0.3-1), python3-colorama (= 0.4.5-2), python3-coverage (= 6.2+dfsg1-2build2), python3-cycler (= 0.11.0-1), python3-dateutil (= 2.8.1-6), python3-decorator (= 4.4.2-0ubuntu1), python3-defusedxml (= 0.7.1-1), python3-dev (= 3.10.6-1ubuntu1~ppa1), python3-distutils (= 3.10.7-1), python3-django (= 3:3.2.15-1ubuntu1), python3-execnet (= 1.9.0-1), python3-flask (= 2.0.3-1ubuntu1), python3-fonttools (= 4.34.4-1build1), python3-fs (= 2.4.16-1), python3-gast (= 0.5.2-2), python3-gevent (= 21.8.0-1build1), python3-greenlet (= 1.1.3-0ubuntu1~ppa1), python3-idna (= 3.3-1), python3-iniconfig (= 1.1.1-2), python3-ipython (= 7.31.1-1), python3-itsdangerous (= 2.1.2-2), python3-jaraco.classes (= 3.2.1-3), python3-jaraco.collections (= 3.5.1-1), python3-jaraco.context (= 4.1.1-2), python3-jaraco.functools (= 3.5.0-1), python3-jaraco.text (= 3.7.0-1), python3-jedi (= 0.18.0-1), python3-jinja2 (= 3.0.3-1), python3-kiwisolver (= 1.3.2-1build2), python3-lib2to3 (= 3.10.7-1), python3-lxml (= 4.9.1-1build1), python3-lz4 (= 4.0.0+dfsg-1build1), python3-markupsafe (= 2.0.1-2build2), python3-matplotlib (= 3.5.2-2build2~ppa1), python3-matplotlib-inline (= 0.1.3-1), python3-minimal (= 3.10.6-1ubuntu1~ppa1), python3-more-itertools (= 8.10.0-2), python3-mpmath (= 1.2.1-2), python3-numpy (= 1:1.21.5-1ubuntu1~ppa1), python3-outcome (= 1.2.0-1), python3-packaging (= 21.3-1.1), python3-pandas (= 1.3.5+dfsg-5ubuntu1~ppa1), python3-pandas-lib (= 1.3.5+dfsg-5ubuntu1~ppa1), python3-parso (= 0.8.1-1), python3-pexpect (= 4.8.0-3ubuntu1), python3-pickleshare (= 0.7.5-5), python3-pil (= 9.2.0-1build1), python3-pil.imagetk (= 9.2.0-1build1), python3-pkg-resources (= 59.6.0-1.2), python3-pluggy (= 1.0.0+repack-1), python3-ply (= 3.11-5), python3-portend (= 3.1.0-1), python3-prompt-toolkit (= 3.0.30-1), python3-psutil (= 5.9.0-1build2), python3-ptyprocess (= 0.7.0-3), python3-py (= 1.11.0-0ubuntu1~ppa1), python3-pygments (= 2.12.0+dfsg-2), python3-pyparsing (= 3.0.7-2), python3-pyqt5 (= 5.15.7+dfsg-1build2), python3-pyqt5.qtsvg (= 5.15.7+dfsg-1build2), python3-pyqt5.sip (= 12.11.0-1build1), python3-pytest (= 7.1.2-2ubuntu1), python3-pytest-forked (= 1.4.0-1), python3-pytest-xdist (= 2.5.0-5), python3-pythran (= 0.11.0+ds-7build1), python3-scipy (= 1.8.1-10build1), python3-setuptools (= 59.6.0-1.2), python3-six (= 1.16.0-4), python3-sniffio (= 1.2.0-1), python3-sortedcontainers (= 2.4.0-2), python3-sqlparse (= 0.4.2-1), python3-sympy (= 1.10.1-3), python3-tempora (= 5.0.1-1), python3-tk (= 3.10.7-1), python3-tomli (= 2.0.1-1), python3-traitlets (= 5.3.0-1), python3-trio (= 0.21.0-1), python3-tz (= 2022.2.1-1), python3-ufolib2 (= 0.13.1+dfsg1-1), python3-unicodedata2 (= 14.0.0+ds2-1ubuntu1), python3-untangle (= 1.2.1-1), python3-wcwidth (= 0.2.5+dfsg1-1), python3-werkzeug (= 2.0.2+dfsg1-3), python3-zc.lockfile (= 2.0-2), python3-zope.event (= 4.4-3), python3-zope.interface (= 5.4.0-3build1), python3.10 (= 3.10.7-1), python3.10-dev (= 3.10.7-1), python3.10-minimal (= 3.10.7-1), python3.11 (= 3.11.0~rc2-1ubuntu1~ppa1), python3.11-dev (= 3.11.0~rc2-1ubuntu1~ppa1), python3.11-minimal (= 3.11.0~rc2-1ubuntu1~ppa1), readline-common (= 8.2-1), rpcsvc-proto (= 1.4.2-0ubuntu6), sed (= 4.8-1ubuntu2), sensible-utils (= 0.0.17), shared-mime-info (= 2.2-1), systemd (= 251.4-1ubuntu7), sysvinit-utils (= 3.04-1ubuntu1), tar (= 1.34+dfsg-1build3), tk8.6-blt2.5 (= 2.5.3+dfsg-4.1build2), txt2man (= 1.7.1-2), tzdata (= 2022e-0ubuntu2), ucf (= 3.0043), unicode-data (= 15.0.0-1), util-linux (= 2.38-4ubuntu1), util-linux-extra (= 2.38-4ubuntu1), x11-common (= 1:7.7+23ubuntu2), x11-xkb-utils (= 7.7+7), xauth (= 1:1.1.1-1), xkb-data (= 2.35.1-1), xserver-common (= 2:21.1.4-2ubuntu1), xvfb (= 2:21.1.4-2ubuntu1), xz-utils (= 5.2.5-2.1), zlib1g (= 1:1.2.11.dfsg-4.1ubuntu1), zlib1g-dev (= 1:1.2.11.dfsg-4.1ubuntu1) Environment: DEB_BUILD_OPTIONS="noautodbgsym parallel=4" DEB_BUILD_PROFILES="noudeb" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1666295776" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_ppc64el.deb ---------------------------------------------------------------- new Debian package, version 2.0. size 681026 bytes: control archive=5178 bytes. 974 bytes, 24 lines control 15466 bytes, 151 lines md5sums 279 bytes, 12 lines * postinst #!/bin/sh 392 bytes, 12 lines * prerm #!/bin/sh Package: python3-pydevd Source: pydevd Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Architecture: ppc64el Maintainer: Debian Python Team Installed-Size: 3886 Depends: gdb, python3-bytecode, python3-coverage, python3 (<< 3.12), python3 (>= 3~), python3:any, libc6 (>= 2.34), libgcc-s1 (>= 3.0), libstdc++6 (>= 4.1.1) Suggests: pydevd Breaks: python3-omegaconf (<< 2.2.2-1) Replaces: python3-omegaconf (<< 2.2.2-1) Section: python Priority: optional Homepage: https://github.com/fabioz/PyDev.Debugger/ Description: Debugger used by debugpy This is the debugger underlying debugpy, which is used by IPython and Spyder, among others. . Some IDEs already have pydevd bundled with them (such as PyDev or PyCharm); you do not need this package if you are using one of them. . This package can also be used for doing remote debugging, connecting from an IDE. . The command-line "pydevd" tool is available in the separate pydevd package. drwxr-xr-x root/root 0 2022-10-20 19:56 ./ drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/ drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/ drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/ drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/ drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydev_bundle/ -rw-r--r-- root/root 0 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/__init__.py -rw-r--r-- root/root 4687 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_calltip_util.py -rw-r--r-- root/root 8544 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_completer.py -rw-r--r-- root/root 483 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_execfile.py -rw-r--r-- root/root 1095 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_filesystem_encoding.py -rw-r--r-- root/root 4458 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_getopt.py -rw-r--r-- root/root 12350 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_imports_tipper.py -rw-r--r-- root/root 17063 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_jy_imports_tipper.py -rw-r--r-- root/root 555 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_log.py -rw-r--r-- root/root 4573 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_saved_modules.py -rw-r--r-- root/root 2076 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_sys_patch.py -rw-r--r-- root/root 1227 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/_pydev_tipper_common.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydev_bundle/fsnotify/ -rw-r--r-- root/root 12704 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/fsnotify/__init__.py -rw-r--r-- root/root 23769 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_console_utils.py -rw-r--r-- root/root 1322 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_import_hook.py -rw-r--r-- root/root 404 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_imports.py -rw-r--r-- root/root 3821 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_ipython_console.py -rw-r--r-- root/root 21354 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_ipython_console_011.py -rw-r--r-- root/root 696 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_is_thread_alive.py -rw-r--r-- root/root 2070 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_localhost.py -rw-r--r-- root/root 9174 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_log.py -rw-r--r-- root/root 40668 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_monkey.py -rw-r--r-- root/root 7306 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_monkey_qt.py -rw-r--r-- root/root 872 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_override.py -rw-r--r-- root/root 6279 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_umd.py -rw-r--r-- root/root 510 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_bundle/pydev_versioncheck.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydev_runfiles/ -rw-r--r-- root/root 0 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_runfiles/__init__.py -rw-r--r-- root/root 31550 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_runfiles/pydev_runfiles.py -rw-r--r-- root/root 3499 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_runfiles/pydev_runfiles_coverage.py -rw-r--r-- root/root 7549 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_runfiles/pydev_runfiles_nose.py -rw-r--r-- root/root 9472 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_runfiles/pydev_runfiles_parallel.py -rw-r--r-- root/root 7722 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_runfiles/pydev_runfiles_parallel_client.py -rw-r--r-- root/root 9845 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_runfiles/pydev_runfiles_pytest2.py -rw-r--r-- root/root 6685 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_runfiles/pydev_runfiles_unittest.py -rw-r--r-- root/root 10594 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydev_runfiles/pydev_runfiles_xml_rpc.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_bundle/ -rw-r--r-- root/root 0 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/__init__.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_bundle/_debug_adapter/ -rw-r--r-- root/root 0 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/_debug_adapter/__init__.py -rw-r--r-- root/root 23085 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/_debug_adapter/__main__pydevd_gen_debug_adapter_protocol.py -rw-r--r-- root/root 3998 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/_debug_adapter/pydevd_base_schema.py -rw-r--r-- root/root 763496 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/_debug_adapter/pydevd_schema.py -rw-r--r-- root/root 1255 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/_debug_adapter/pydevd_schema_log.py -rw-r--r-- root/root 19014 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevconsole_code.py -rw-r--r-- root/root 1185 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_additional_thread_info.py -rw-r--r-- root/root 6239 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_additional_thread_info_regular.py -rw-r--r-- root/root 50304 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_api.py -rw-r--r-- root/root 6010 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_breakpoints.py -rw-r--r-- root/root 26188 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_bytecode_utils.py -rw-r--r-- root/root 17622 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_code_to_source.py -rw-r--r-- root/root 37141 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_collect_bytecode_info.py -rw-r--r-- root/root 74705 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_comm.py -rw-r--r-- root/root 6084 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_comm_constants.py -rw-r--r-- root/root 6046 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_command_line_handling.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/ -rw-r--r-- root/root 0 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/__init__.py -rw-r--r-- root/root 16764 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.py -rw-r--r-- root/root 2039 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_concurrency_analyser/pydevd_thread_wrappers.py -rw-r--r-- root/root 10179 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_console.py -rw-r--r-- root/root 26228 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_constants.py -rw-r--r-- root/root 4399 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_custom_frames.py -rw-r--r-- root/root 611448 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_cython.cpython-310-powerpc64le-linux-gnu.so -rw-r--r-- root/root 611448 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_cython.cpython-311-powerpc64le-linux-gnu.so -rw-r--r-- root/root 1600 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_cython_wrapper.py -rw-r--r-- root/root 7964 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_daemon_thread.py -rw-r--r-- root/root 217 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_defaults.py -rw-r--r-- root/root 3567 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_dont_trace.py -rw-r--r-- root/root 5814 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_dont_trace_files.py -rw-r--r-- root/root 159 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_exec2.py -rw-r--r-- root/root 3288 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_extension_api.py -rw-r--r-- root/root 2369 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_extension_utils.py -rw-r--r-- root/root 12701 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_filtering.py -rw-r--r-- root/root 63187 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_frame.py -rw-r--r-- root/root 8923 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_frame_utils.py -rw-r--r-- root/root 3896 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_gevent_integration.py -rw-r--r-- root/root 1838 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_import_class.py -rw-r--r-- root/root 8117 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_io.py -rw-r--r-- root/root 5945 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_json_debug_options.py -rw-r--r-- root/root 4588 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_net_command.py -rw-r--r-- root/root 21328 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_net_command_factory_json.py -rw-r--r-- root/root 22531 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_net_command_factory_xml.py -rw-r--r-- root/root 2484 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_plugin_utils.py -rw-r--r-- root/root 35106 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_process_net_command.py -rw-r--r-- root/root 55774 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_process_net_command_json.py -rw-r--r-- root/root 9756 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_referrers.py -rw-r--r-- root/root 15773 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_reload.py -rw-r--r-- root/root 25500 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_resolver.py -rw-r--r-- root/root 14247 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_runpy.py -rw-r--r-- root/root 14554 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_safe_repr.py -rw-r--r-- root/root 3020 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_save_locals.py -rw-r--r-- root/root 6883 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_signature.py -rw-r--r-- root/root 6428 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_source_mapping.py -rw-r--r-- root/root 16909 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_stackless.py -rw-r--r-- root/root 20559 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_suspended_frames.py -rw-r--r-- root/root 3408 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_thread_lifecycle.py -rw-r--r-- root/root 8366 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_timeout.py -rw-r--r-- root/root 1397 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_trace_api.py -rw-r--r-- root/root 3265 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_trace_dispatch.py -rw-r--r-- root/root 22202 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_trace_dispatch_regular.py -rw-r--r-- root/root 3279 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_traceproperty.py -rw-r--r-- root/root 17289 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_utils.py -rw-r--r-- root/root 30786 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_vars.py -rw-r--r-- root/root 1578 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_vm_type.py -rw-r--r-- root/root 14443 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_xml.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_frame_eval/ -rw-r--r-- root/root 0 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_frame_eval/__init__.py -rw-r--r-- root/root 1343 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py -rw-r--r-- root/root 2105 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_frame_eval/pydevd_frame_eval_main.py -rw-r--r-- root/root 274376 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-powerpc64le-linux-gnu.so -rw-r--r-- root/root 4219 2022-08-26 19:26 ./usr/lib/python3/dist-packages/_pydevd_frame_eval/pydevd_frame_tracing.py -rw-r--r-- root/root 13484 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_frame_eval/pydevd_modify_bytecode.py -rw-r--r-- root/root 691 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_app_engine_debug_startup.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydev_ipython/ -rw-r--r-- root/root 0 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/__init__.py -rw-r--r-- root/root 19554 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/inputhook.py -rw-r--r-- root/root 5675 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/inputhookglut.py -rw-r--r-- root/root 1107 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/inputhookgtk.py -rw-r--r-- root/root 1104 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/inputhookgtk3.py -rw-r--r-- root/root 3255 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/inputhookpyglet.py -rw-r--r-- root/root 7242 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/inputhookqt4.py -rw-r--r-- root/root 7289 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/inputhookqt5.py -rw-r--r-- root/root 748 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/inputhooktk.py -rw-r--r-- root/root 6517 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/inputhookwx.py -rw-r--r-- root/root 5378 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/matplotlibtools.py -rw-r--r-- root/root 785 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/qt.py -rw-r--r-- root/root 3619 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/qt_for_kernel.py -rw-r--r-- root/root 8413 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/qt_loaders.py -rw-r--r-- root/root 1227 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_ipython/version.py -rw-r--r-- root/root 4709 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydev_run_in_console.py -rw-r--r-- root/root 21094 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevconsole.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd-2.8.0+git20220826.8ee4065.egg-info/ -rw-r--r-- root/root 1184 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd-2.8.0+git20220826.8ee4065.egg-info/PKG-INFO -rw-r--r-- root/root 1 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd-2.8.0+git20220826.8ee4065.egg-info/dependency_links.txt -rw-r--r-- root/root 40 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd-2.8.0+git20220826.8ee4065.egg-info/entry_points.txt -rw-r--r-- root/root 1 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd-2.8.0+git20220826.8ee4065.egg-info/not-zip-safe -rw-r--r-- root/root 243 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd-2.8.0+git20220826.8ee4065.egg-info/top_level.txt -rw-r--r-- root/root 146398 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd_attach_to_process/ -rw-r--r-- root/root 18205 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd_attach_to_process/add_code_to_python_process.py -rw-r--r-- root/root 67312 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd_attach_to_process/attach.so -rw-r--r-- root/root 2255 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_attach_to_process/attach_pydevd.py -rw-r--r-- root/root 7707 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_attach_to_process/attach_script.py -rw-r--r-- root/root 35201 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_file_utils.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd_plugins/ -rw-r--r-- root/root 294 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/__init__.py -rw-r--r-- root/root 22430 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/django_debug.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd_plugins/extensions/ -rw-r--r-- root/root 227 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/extensions/__init__.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd_plugins/extensions/types/ -rw-r--r-- root/root 227 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/extensions/types/__init__.py -rw-r--r-- root/root 639 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/extensions/types/pydevd_helpers.py -rw-r--r-- root/root 2945 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/extensions/types/pydevd_plugin_numpy_types.py -rw-r--r-- root/root 5791 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/extensions/types/pydevd_plugin_pandas_types.py -rw-r--r-- root/root 538 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py -rw-r--r-- root/root 19141 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/jinja2_debug.py -rw-r--r-- root/root 6286 2022-08-26 19:26 ./usr/lib/python3/dist-packages/pydevd_plugins/pydevd_line_validation.py -rw-r--r-- root/root 11388 2022-10-20 19:56 ./usr/lib/python3/dist-packages/pydevd_tracing.py drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/share/ drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/share/doc/ drwxr-xr-x root/root 0 2022-10-20 19:56 ./usr/share/doc/python3-pydevd/ -rw-r--r-- root/root 1177 2022-09-17 11:07 ./usr/share/doc/python3-pydevd/README.Debian -rw-r--r-- root/root 2013 2022-08-26 19:26 ./usr/share/doc/python3-pydevd/README.rst -rw-r--r-- root/root 995 2022-10-20 19:56 ./usr/share/doc/python3-pydevd/changelog.Debian.gz -rw-r--r-- root/root 17132 2022-09-17 11:07 ./usr/share/doc/python3-pydevd/copyright +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: ppc64el Build Type: any Build-Space: 83972 Build-Time: 3891 Distribution: kinetic Host Architecture: ppc64el Install-Time: 128 Job: pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.dsc Machine Architecture: ppc64el Package: pydevd Package-Time: 4020 Source-Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Space: 83972 Status: successful Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 -------------------------------------------------------------------------------- Finished at 2022-10-20T21:07:08Z Build needed 01:07:00, 83972k disk space Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=kinetic --arch=ppc64el PACKAGEBUILD-24561511 Scanning for processes to kill in build PACKAGEBUILD-24561511