https://launchpad.net/~pythoneers/+archive/ubuntu/python3.11/+build/24561509 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-arm64-030 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:09:03 UTC 2022 aarch64 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 20:08:58 ntpdate[1788]: adjust time server 10.211.37.1 offset -0.000368 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=kinetic --arch=arm64 PACKAGEBUILD-24561509 --image-type chroot /home/buildd/filecache-default/2cc3432c5dbb6c77bd354aeee826c054f6445c78 Creating target for build PACKAGEBUILD-24561509 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=kinetic --arch=arm64 PACKAGEBUILD-24561509 Starting target for build PACKAGEBUILD-24561509 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=kinetic --arch=arm64 PACKAGEBUILD-24561509 '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-24561509 RUN: /usr/share/launchpad-buildd/bin/in-target add-trusted-keys --backend=chroot --series=kinetic --arch=arm64 PACKAGEBUILD-24561509 Adding trusted keys to build-PACKAGEBUILD-24561509 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=arm64 PACKAGEBUILD-24561509 Updating target for build PACKAGEBUILD-24561509 Get:1 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic InRelease [17.6 kB] Get:2 http://ftpmaster.internal/ubuntu kinetic InRelease [267 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 arm64 Packages [1363 kB] Get:9 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 Packages [228 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main Translation-en [509 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic/restricted arm64 Packages [48.6 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/restricted Translation-en [18.0 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/universe arm64 Packages [14.2 MB] Get:14 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main Translation-en [143 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/universe Translation-en [5791 kB] Get:16 http://ftpmaster.internal/ubuntu kinetic/multiverse arm64 Packages [194 kB] Get:17 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 Packages [20.9 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/multiverse Translation-en [112 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic-proposed/main arm64 Packages [3408 B] Get:20 http://ftpmaster.internal/ubuntu kinetic-proposed/main Translation-en [1996 B] Get:21 http://ftpmaster.internal/ubuntu kinetic-proposed/restricted arm64 Packages [756 B] Get:22 http://ftpmaster.internal/ubuntu kinetic-proposed/restricted Translation-en [3560 B] Get:23 http://ftpmaster.internal/ubuntu kinetic-proposed/universe arm64 Packages [64.4 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic-proposed/universe Translation-en [27.3 kB] Get:25 http://ftpmaster.internal/ubuntu kinetic-proposed/multiverse arm64 Packages [924 B] Get:26 http://ftpmaster.internal/ubuntu kinetic-proposed/multiverse Translation-en [1184 B] Get:27 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main Translation-en [13.3 kB] Get:28 http://ppa.launchpadcontent.net/pythoneers/python3.11-numpy/ubuntu kinetic/main arm64 Packages [880 B] Get:29 http://ppa.launchpadcontent.net/pythoneers/python3.11-numpy/ubuntu kinetic/main Translation-en [524 B] Fetched 23.6 MB in 3s (6886 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-aarch64-linux-gnu binutils-common 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 libgprofng0 libhwasan0 libidn2-0 libitm1 liblsan0 libp11-kit0 libpng16-16 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 56 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 74.0 MB of archives. After this operation, 581 kB of additional disk space will be used. Get:1 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libapparmor1 arm64 3.0.7-1ubuntu3 [107 kB] Get:2 http://ftpmaster.internal/ubuntu kinetic/main arm64 libc6-dev arm64 2.36-0ubuntu4 [1547 kB] Get:3 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libaudit-common all 1:3.0.7-1ubuntu2 [11.7 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic/main arm64 libc-dev-bin arm64 2.36-0ubuntu4 [19.5 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main arm64 linux-libc-dev arm64 5.19.0-21.21 [1320 kB] Get:6 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libcap-ng0 arm64 0.8.3-1build1 [16.7 kB] Get:7 http://ftpmaster.internal/ubuntu kinetic/main arm64 libcc1-0 arm64 12.2.0-3ubuntu1 [44.1 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic/main arm64 gcc-12-base arm64 12.2.0-3ubuntu1 [19.0 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgcc-s1 arm64 12.2.0-3ubuntu1 [39.6 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgomp1 arm64 12.2.0-3ubuntu1 [122 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic/main arm64 libitm1 arm64 12.2.0-3ubuntu1 [27.9 kB] Get:12 http://ftpmaster.internal/ubuntu kinetic/main arm64 libatomic1 arm64 12.2.0-3ubuntu1 [10.7 kB] Get:13 http://ftpmaster.internal/ubuntu kinetic/main arm64 libasan8 arm64 12.2.0-3ubuntu1 [2375 kB] Get:14 http://ftpmaster.internal/ubuntu kinetic/main arm64 liblsan0 arm64 12.2.0-3ubuntu1 [1027 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/main arm64 libtsan2 arm64 12.2.0-3ubuntu1 [2514 kB] Get:16 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libaudit1 arm64 1:3.0.7-1ubuntu2 [52.0 kB] Get:17 http://ftpmaster.internal/ubuntu kinetic/main arm64 libubsan1 arm64 12.2.0-3ubuntu1 [957 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/main arm64 libhwasan0 arm64 12.2.0-3ubuntu1 [1109 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/main arm64 g++-12 arm64 12.2.0-3ubuntu1 [10.9 MB] Get:20 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libseccomp2 arm64 2.5.4-1ubuntu2 [52.6 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic/main arm64 libstdc++-12-dev arm64 12.2.0-3ubuntu1 [2154 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgcc-12-dev arm64 12.2.0-3ubuntu1 [1157 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main arm64 gcc-12 arm64 12.2.0-3ubuntu1 [19.1 MB] Get:24 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libselinux1 arm64 3.4-1build1 [96.1 kB] Get:25 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libsemanage-common all 3.4-1build1 [21.4 kB] Get:26 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libsemanage2 arm64 3.4-1build1 [101 kB] Get:27 http://ftpmaster.internal/ubuntu kinetic/main arm64 cpp-12 arm64 12.2.0-3ubuntu1 [9579 kB] Get:28 http://ftpmaster.internal/ubuntu kinetic/main arm64 libstdc++6 arm64 12.2.0-3ubuntu1 [647 kB] Get:29 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgprofng0 arm64 2.39-3ubuntu1 [791 kB] Get:30 http://ftpmaster.internal/ubuntu kinetic/main arm64 libctf0 arm64 2.39-3ubuntu1 [92.9 kB] Get:31 http://ftpmaster.internal/ubuntu kinetic/main arm64 libctf-nobfd0 arm64 2.39-3ubuntu1 [96.5 kB] Get:32 http://ftpmaster.internal/ubuntu kinetic/main arm64 libbinutils arm64 2.39-3ubuntu1 [710 kB] Get:33 http://ftpmaster.internal/ubuntu kinetic/main arm64 binutils-common arm64 2.39-3ubuntu1 [224 kB] Get:34 http://ftpmaster.internal/ubuntu kinetic/main arm64 binutils arm64 2.39-3ubuntu1 [3268 B] Get:35 http://ftpmaster.internal/ubuntu kinetic/main arm64 binutils-aarch64-linux-gnu arm64 2.39-3ubuntu1 [3134 kB] Get:36 http://ftpmaster.internal/ubuntu kinetic/main arm64 libc6 arm64 2.36-0ubuntu4 [2708 kB] Get:37 http://ftpmaster.internal/ubuntu kinetic/main arm64 base-files arm64 12.2ubuntu3 [73.3 kB] Get:38 http://ftpmaster.internal/ubuntu kinetic/main arm64 bash arm64 5.2-1ubuntu2 [771 kB] Get:39 http://ftpmaster.internal/ubuntu kinetic/main arm64 libc-bin arm64 2.36-0ubuntu4 [592 kB] Get:40 http://ftpmaster.internal/ubuntu kinetic/main arm64 systemd-sysv arm64 251.4-1ubuntu7 [11.2 kB] Get:41 http://ftpmaster.internal/ubuntu kinetic/main arm64 systemd arm64 251.4-1ubuntu7 [2712 kB] Get:42 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsystemd-shared arm64 251.4-1ubuntu7 [1617 kB] Get:43 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsystemd0 arm64 251.4-1ubuntu7 [318 kB] Get:44 http://ftpmaster.internal/ubuntu kinetic/main arm64 libudev1 arm64 251.4-1ubuntu7 [78.4 kB] Get:45 http://ftpmaster.internal/ubuntu kinetic/main arm64 libapt-pkg6.0 arm64 2.5.3 [859 kB] Get:46 http://ftpmaster.internal/ubuntu kinetic-proposed/main arm64 libidn2-0 arm64 2.3.3-1build1 [63.2 kB] Get:47 http://ftpmaster.internal/ubuntu kinetic/main arm64 libp11-kit0 arm64 0.24.1-1ubuntu2 [225 kB] Get:48 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgnutls30 arm64 3.7.7-2ubuntu2 [931 kB] Get:49 http://ftpmaster.internal/ubuntu kinetic/main arm64 apt arm64 2.5.3 [1343 kB] Get:50 http://ftpmaster.internal/ubuntu kinetic/main arm64 usrmerge all 29ubuntu2 [55.8 kB] Get:51 http://ftpmaster.internal/ubuntu kinetic/main arm64 readline-common all 8.2-1 [55.1 kB] Get:52 http://ftpmaster.internal/ubuntu kinetic/main arm64 libreadline8 arm64 8.2-1 [149 kB] Get:53 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsqlite3-0 arm64 3.39.3-1 [644 kB] Get:54 http://ftpmaster.internal/ubuntu kinetic/main arm64 tzdata all 2022e-0ubuntu2 [400 kB] Get:55 http://ftpmaster.internal/ubuntu kinetic/main arm64 libpng16-16 arm64 1.6.38-2 [182 kB] Get:56 http://ftpmaster.internal/ubuntu kinetic/main arm64 lto-disabled-list all 35 [12.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 74.0 MB in 4s (18.2 MB/s) (Reading database ... 13593 files and directories currently installed.) Preparing to unpack .../libc6-dev_2.36-0ubuntu4_arm64.deb ... Unpacking libc6-dev:arm64 (2.36-0ubuntu4) over (2.36-0ubuntu2) ... Preparing to unpack .../libc-dev-bin_2.36-0ubuntu4_arm64.deb ... Unpacking libc-dev-bin (2.36-0ubuntu4) over (2.36-0ubuntu2) ... Preparing to unpack .../linux-libc-dev_5.19.0-21.21_arm64.deb ... Unpacking linux-libc-dev:arm64 (5.19.0-21.21) over (5.15.0-27.28) ... Preparing to unpack .../libcc1-0_12.2.0-3ubuntu1_arm64.deb ... Unpacking libcc1-0:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../gcc-12-base_12.2.0-3ubuntu1_arm64.deb ... Unpacking gcc-12-base:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Setting up gcc-12-base:arm64 (12.2.0-3ubuntu1) ... (Reading database ... 13605 files and directories currently installed.) Preparing to unpack .../libgcc-s1_12.2.0-3ubuntu1_arm64.deb ... Unpacking libgcc-s1:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libgcc-s1:arm64 (12.2.0-3ubuntu1) ... (Reading database ... 13605 files and directories currently installed.) Preparing to unpack .../00-libgomp1_12.2.0-3ubuntu1_arm64.deb ... Unpacking libgomp1:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../01-libitm1_12.2.0-3ubuntu1_arm64.deb ... Unpacking libitm1:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../02-libatomic1_12.2.0-3ubuntu1_arm64.deb ... Unpacking libatomic1:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../03-libasan8_12.2.0-3ubuntu1_arm64.deb ... Unpacking libasan8:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../04-liblsan0_12.2.0-3ubuntu1_arm64.deb ... Unpacking liblsan0:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../05-libtsan2_12.2.0-3ubuntu1_arm64.deb ... Unpacking libtsan2:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../06-libubsan1_12.2.0-3ubuntu1_arm64.deb ... Unpacking libubsan1:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../07-libhwasan0_12.2.0-3ubuntu1_arm64.deb ... Unpacking libhwasan0:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../08-g++-12_12.2.0-3ubuntu1_arm64.deb ... Unpacking g++-12 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../09-libstdc++-12-dev_12.2.0-3ubuntu1_arm64.deb ... Unpacking libstdc++-12-dev:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../10-libgcc-12-dev_12.2.0-3ubuntu1_arm64.deb ... Unpacking libgcc-12-dev:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../11-gcc-12_12.2.0-3ubuntu1_arm64.deb ... Unpacking gcc-12 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../12-cpp-12_12.2.0-3ubuntu1_arm64.deb ... Unpacking cpp-12 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Preparing to unpack .../13-libstdc++6_12.2.0-3ubuntu1_arm64.deb ... Unpacking libstdc++6:arm64 (12.2.0-3ubuntu1) over (12.2.0-1ubuntu1) ... Setting up libstdc++6:arm64 (12.2.0-3ubuntu1) ... (Reading database ... 13605 files and directories currently installed.) Preparing to unpack .../0-libgprofng0_2.39-3ubuntu1_arm64.deb ... Unpacking libgprofng0:arm64 (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../1-libctf0_2.39-3ubuntu1_arm64.deb ... Unpacking libctf0:arm64 (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../2-libctf-nobfd0_2.39-3ubuntu1_arm64.deb ... Unpacking libctf-nobfd0:arm64 (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../3-libbinutils_2.39-3ubuntu1_arm64.deb ... Unpacking libbinutils:arm64 (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../4-binutils-common_2.39-3ubuntu1_arm64.deb ... Unpacking binutils-common:arm64 (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../5-binutils_2.39-3ubuntu1_arm64.deb ... Unpacking binutils (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../6-binutils-aarch64-linux-gnu_2.39-3ubuntu1_arm64.deb ... Unpacking binutils-aarch64-linux-gnu (2.39-3ubuntu1) over (2.39-1ubuntu1) ... Preparing to unpack .../7-libc6_2.36-0ubuntu4_arm64.deb ... Unpacking libc6:arm64 (2.36-0ubuntu4) over (2.36-0ubuntu2) ... Setting up libc6:arm64 (2.36-0ubuntu4) ... (Reading database ... 13605 files and directories currently installed.) Preparing to unpack .../base-files_12.2ubuntu3_arm64.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 ... 13605 files and directories currently installed.) Preparing to unpack .../bash_5.2-1ubuntu2_arm64.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 ... 13606 files and directories currently installed.) Preparing to unpack .../libc-bin_2.36-0ubuntu4_arm64.deb ... Unpacking libc-bin (2.36-0ubuntu4) over (2.36-0ubuntu2) ... Setting up libc-bin (2.36-0ubuntu4) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libapparmor1_3.0.7-1ubuntu3_arm64.deb ... Unpacking libapparmor1:arm64 (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 ... 13606 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.8.3-1build1_arm64.deb ... Unpacking libcap-ng0:arm64 (0.8.3-1build1) over (0.8.3-1) ... Setting up libcap-ng0:arm64 (0.8.3-1build1) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a3.0.7-1ubuntu2_arm64.deb ... Unpacking libaudit1:arm64 (1:3.0.7-1ubuntu2) over (1:3.0.7-1build1) ... Setting up libaudit1:arm64 (1:3.0.7-1ubuntu2) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.4-1ubuntu2_arm64.deb ... Unpacking libseccomp2:arm64 (2.5.4-1ubuntu2) over (2.5.4-1ubuntu1) ... Setting up libseccomp2:arm64 (2.5.4-1ubuntu2) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libselinux1_3.4-1build1_arm64.deb ... Unpacking libselinux1:arm64 (3.4-1build1) over (3.4-1) ... Setting up libselinux1:arm64 (3.4-1build1) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../systemd-sysv_251.4-1ubuntu7_arm64.deb ... Unpacking systemd-sysv (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Preparing to unpack .../systemd_251.4-1ubuntu7_arm64.deb ... Unpacking systemd (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd-shared_251.4-1ubuntu7_arm64.deb ... Unpacking libsystemd-shared:arm64 (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Preparing to unpack .../libsystemd0_251.4-1ubuntu7_arm64.deb ... Unpacking libsystemd0:arm64 (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Setting up libsystemd0:arm64 (251.4-1ubuntu7) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libudev1_251.4-1ubuntu7_arm64.deb ... Unpacking libudev1:arm64 (251.4-1ubuntu7) over (251.4-1ubuntu1) ... Setting up libudev1:arm64 (251.4-1ubuntu7) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.5.3_arm64.deb ... Unpacking libapt-pkg6.0:arm64 (2.5.3) over (2.5.2) ... Setting up libapt-pkg6.0:arm64 (2.5.3) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.3.3-1build1_arm64.deb ... Unpacking libidn2-0:arm64 (2.3.3-1build1) over (2.3.3-1) ... Setting up libidn2-0:arm64 (2.3.3-1build1) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.24.1-1ubuntu2_arm64.deb ... Unpacking libp11-kit0:arm64 (0.24.1-1ubuntu2) over (0.24.1-1ubuntu1) ... Setting up libp11-kit0:arm64 (0.24.1-1ubuntu2) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.7.7-2ubuntu2_arm64.deb ... Unpacking libgnutls30:arm64 (3.7.7-2ubuntu2) over (3.7.7-2ubuntu1) ... Setting up libgnutls30:arm64 (3.7.7-2ubuntu2) ... (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../archives/apt_2.5.3_arm64.deb ... Unpacking apt (2.5.3) over (2.5.2) ... Setting up apt (2.5.3) ... (Reading database ... 13606 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 ... 13606 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.4-1build1_arm64.deb ... Unpacking libsemanage2:arm64 (3.4-1build1) over (3.4-1) ... Setting up libsemanage2:arm64 (3.4-1build1) ... (Reading database ... 13606 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_arm64.deb ... Unpacking libreadline8:arm64 (8.2-1) over (8.2~rc2-2) ... Preparing to unpack .../3-libsqlite3-0_3.39.3-1_arm64.deb ... Unpacking libsqlite3-0:arm64 (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_arm64.deb ... Unpacking libpng16-16:arm64 (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:arm64 (3.0.7-1ubuntu3) ... Setting up cpp-12 (12.2.0-3ubuntu1) ... Setting up libsqlite3-0:arm64 (3.39.3-1) ... Setting up binutils-common:arm64 (2.39-3ubuntu1) ... Setting up linux-libc-dev:arm64 (5.19.0-21.21) ... Setting up libctf-nobfd0:arm64 (2.39-3ubuntu1) ... Setting up libgomp1:arm64 (12.2.0-3ubuntu1) ... Setting up tzdata (2022e-0ubuntu2) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Oct 20 20:09:20 UTC 2022. Universal Time is now: Thu Oct 20 20:09:20 UTC 2022. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpng16-16:arm64 (1.6.38-2) ... Setting up libatomic1:arm64 (12.2.0-3ubuntu1) ... Setting up libsystemd-shared:arm64 (251.4-1ubuntu7) ... Setting up usrmerge (29ubuntu2) ... Setting up libubsan1:arm64 (12.2.0-3ubuntu1) ... Setting up libhwasan0:arm64 (12.2.0-3ubuntu1) ... Setting up libasan8:arm64 (12.2.0-3ubuntu1) ... Setting up libtsan2:arm64 (12.2.0-3ubuntu1) ... Setting up libbinutils:arm64 (2.39-3ubuntu1) ... Setting up libc-dev-bin (2.36-0ubuntu4) ... Setting up readline-common (8.2-1) ... Setting up libcc1-0:arm64 (12.2.0-3ubuntu1) ... Setting up liblsan0:arm64 (12.2.0-3ubuntu1) ... Setting up libitm1:arm64 (12.2.0-3ubuntu1) ... Setting up libctf0:arm64 (2.39-3ubuntu1) ... Setting up libreadline8:arm64 (8.2-1) ... Setting up systemd (251.4-1ubuntu7) ... Initializing machine ID from random generator. Setting up libgprofng0:arm64 (2.39-3ubuntu1) ... Setting up libgcc-12-dev:arm64 (12.2.0-3ubuntu1) ... Setting up libc6-dev:arm64 (2.36-0ubuntu4) ... Setting up systemd-sysv (251.4-1ubuntu7) ... Setting up libstdc++-12-dev:arm64 (12.2.0-3ubuntu1) ... Setting up binutils-aarch64-linux-gnu (2.39-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-24561509 arm64 kinetic -c chroot:build-PACKAGEBUILD-24561509 --arch=arm64 --dist=kinetic --nolog pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.dsc Initiating build PACKAGEBUILD-24561509 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:09:03 UTC 2022 aarch64 sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-arm64-030.buildd +======================================================================================+ | pydevd 2.8.0+git20220826.8ee4065+ds-1ubuntu2 (arm64) Thu, 20 Oct 2022 20:09:21 +0000 | +======================================================================================+ Package: pydevd Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Source Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Distribution: kinetic Machine Architecture: arm64 Host Architecture: arm64 Build Architecture: arm64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-24561509/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/pydevd-nvb89x/resolver-G6T8pH' 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-nvb89x/pydevd-2.8.0+git20220826.8ee4065+ds' with '<>' I: NOTICE: Log filtering will replace 'build/pydevd-nvb89x' 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 (108 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 209 MB of archives. After this operation, 1070 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [848 B] Get:2 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libxml2 arm64 2.9.14+dfsg-1build1 [799 kB] Get:3 http://ftpmaster.internal/ubuntu kinetic/main arm64 libpython3.10-minimal arm64 3.10.7-1 [798 kB] Get:4 http://ftpmaster.internal/ubuntu kinetic/main arm64 libexpat1 arm64 2.4.8-2 [71.5 kB] Get:5 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3.10-minimal arm64 3.10.7-1 [1989 kB] Get:6 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libbrotli1 arm64 1.0.9-2build7 [313 kB] Get:7 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3-minimal arm64 3.10.6-1ubuntu1~ppa1 [39.1 kB] Get:8 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsigsegv2 arm64 2.14-1ubuntu1 [15.2 kB] Get:9 http://ftpmaster.internal/ubuntu kinetic/main arm64 gawk arm64 1:5.1.0-1build3 [426 kB] Get:10 http://ftpmaster.internal/ubuntu kinetic/main arm64 ucf all 3.0043 [56.1 kB] Get:11 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdebuginfod-common all 0.187-4 [7506 B] Get:12 http://ftpmaster.internal/ubuntu kinetic/main arm64 libglib2.0-0 arm64 2.74.0-3 [1444 kB] Get:13 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 libpython3-stdlib arm64 3.10.6-1ubuntu1~ppa1 [22.0 kB] Get:14 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3 arm64 3.10.6-1ubuntu1~ppa1 [38.7 kB] Get:15 http://ftpmaster.internal/ubuntu kinetic/main arm64 libicu71 arm64 71.1-3ubuntu1 [10.5 MB] Get:16 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 libpython3.11-minimal arm64 3.11.0~rc2-1ubuntu1~ppa1 [875 kB] Get:17 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3.11-minimal arm64 3.11.0~rc2-1ubuntu1~ppa1 [2206 kB] Get:18 http://ftpmaster.internal/ubuntu kinetic/main arm64 shared-mime-info arm64 2.2-1 [458 kB] Get:19 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libdouble-conversion3 arm64 3.2.1-1 [36.7 kB] Get:20 http://ftpmaster.internal/ubuntu kinetic/main arm64 libpcre2-16-0 arm64 10.40-1ubuntu1 [193 kB] Get:21 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5core5a arm64 5.15.6+dfsg-1 [1905 kB] Get:22 http://ftpmaster.internal/ubuntu kinetic/main arm64 libfreetype6 arm64 2.12.1+dfsg-3 [381 kB] Get:23 http://ftpmaster.internal/ubuntu kinetic/main arm64 fonts-dejavu-core all 2.37-2build1 [1041 kB] Get:24 http://ftpmaster.internal/ubuntu kinetic/main arm64 fontconfig-config all 2.13.1-4.4ubuntu1 [28.2 kB] Get:25 http://ftpmaster.internal/ubuntu kinetic/main arm64 libfontconfig1 arm64 2.13.1-4.4ubuntu1 [132 kB] Get:26 http://ftpmaster.internal/ubuntu kinetic/main arm64 fontconfig arm64 2.13.1-4.4ubuntu1 [182 kB] Get:27 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdrm-common all 2.4.113-2 [5324 B] Get:28 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdrm2 arm64 2.4.113-2 [38.9 kB] Get:29 http://ftpmaster.internal/ubuntu kinetic/main arm64 libglvnd0 arm64 1.5.0-1 [59.2 kB] Get:30 http://ftpmaster.internal/ubuntu kinetic/main arm64 libwayland-server0 arm64 1.21.0-1 [33.2 kB] Get:31 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgbm1 arm64 22.2.1-1ubuntu1 [32.5 kB] Get:32 http://ftpmaster.internal/ubuntu kinetic/main arm64 libglapi-mesa arm64 22.2.1-1ubuntu1 [64.6 kB] Get:33 http://ftpmaster.internal/ubuntu kinetic/main arm64 libwayland-client0 arm64 1.21.0-1 [24.9 kB] Get:34 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxau6 arm64 1:1.0.9-1build5 [7624 B] Get:35 http://ftpmaster.internal/ubuntu kinetic/main arm64 libmd0 arm64 1.0.4-2 [23.7 kB] Get:36 http://ftpmaster.internal/ubuntu kinetic/main arm64 libbsd0 arm64 0.11.6-1 [43.6 kB] Get:37 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxdmcp6 arm64 1:1.1.3-0ubuntu5 [10.8 kB] Get:38 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb1 arm64 1.15-1 [47.6 kB] Get:39 http://ftpmaster.internal/ubuntu kinetic/main arm64 libx11-data all 2:1.8.1-2 [118 kB] Get:40 http://ftpmaster.internal/ubuntu kinetic/main arm64 libx11-6 arm64 2:1.8.1-2 [646 kB] Get:41 http://ftpmaster.internal/ubuntu kinetic/main arm64 libx11-xcb1 arm64 2:1.8.1-2 [7806 B] Get:42 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] Get:43 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] Get:44 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] Get:45 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] Get:46 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] Get:47 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] Get:48 http://ftpmaster.internal/ubuntu kinetic/main arm64 libegl-mesa0 arm64 22.2.1-1ubuntu1 [105 kB] Get:49 http://ftpmaster.internal/ubuntu kinetic/main arm64 libegl1 arm64 1.5.0-1 [28.7 kB] Get:50 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] Get:51 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] Get:52 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxext6 arm64 2:1.3.4-1build1 [31.1 kB] Get:53 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 cython3 arm64 0.29.30-1ubuntu2 [1673 kB] Get:54 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxfixes3 arm64 1:6.0.0-1 [11.4 kB] Get:55 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] Get:56 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdrm-amdgpu1 arm64 2.4.113-2 [19.8 kB] Get:57 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdrm-nouveau2 arm64 2.4.113-2 [17.5 kB] Get:58 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdrm-radeon1 arm64 2.4.113-2 [20.5 kB] Get:59 http://ftpmaster.internal/ubuntu kinetic/main arm64 libelf1 arm64 0.187-4 [51.1 kB] Get:60 http://ftpmaster.internal/ubuntu kinetic/main arm64 libedit2 arm64 3.1-20210910-1build1 [96.0 kB] Get:61 http://ftpmaster.internal/ubuntu kinetic/main arm64 libllvm15 arm64 1:15.0.2-1 [24.0 MB] Get:62 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 dh-python all 5.20221001build1 [117 kB] Get:63 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsensors-config all 1:3.6.0-7ubuntu1 [5274 B] Get:64 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsensors5 arm64 1:3.6.0-7ubuntu1 [26.1 kB] Get:65 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgl1-mesa-dri arm64 22.2.1-1ubuntu1 [7249 kB] Get:66 http://ftpmaster.internal/ubuntu kinetic/main arm64 libglx-mesa0 arm64 22.2.1-1ubuntu1 [161 kB] Get:67 http://ftpmaster.internal/ubuntu kinetic/main arm64 libglx0 arm64 1.5.0-1 [31.8 kB] Get:68 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgl1 arm64 1.5.0-1 [103 kB] Get:69 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgraphite2-3 arm64 1.3.14-1build2 [68.9 kB] Get:70 http://ftpmaster.internal/ubuntu kinetic/main arm64 libharfbuzz0b arm64 2.7.4-1ubuntu5 [349 kB] Get:71 http://ftpmaster.internal/ubuntu kinetic/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] Get:72 http://ftpmaster.internal/ubuntu kinetic/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] Get:73 http://ftpmaster.internal/ubuntu kinetic/main arm64 libevdev2 arm64 1.13.0+dfsg-1 [34.8 kB] Get:74 http://ftpmaster.internal/ubuntu kinetic/main arm64 libmtdev1 arm64 1.1.6-1build4 [14.4 kB] Get:75 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgudev-1.0-0 arm64 1:237-2build1 [15.3 kB] Get:76 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 libbabeltrace1 arm64 1.5.8-2build2 [156 kB] Get:77 http://ftpmaster.internal/ubuntu kinetic/main arm64 libwacom-common all 2.4.0-3 [57.0 kB] Get:78 http://ftpmaster.internal/ubuntu kinetic/main arm64 libwacom9 arm64 2.4.0-3 [21.6 kB] Get:79 http://ftpmaster.internal/ubuntu kinetic/main arm64 libinput-bin arm64 1.21.0-1 [19.2 kB] Get:80 http://ftpmaster.internal/ubuntu kinetic/main arm64 libinput10 arm64 1.21.0-1 [125 kB] Get:81 http://ftpmaster.internal/ubuntu kinetic/main arm64 libjpeg-turbo8 arm64 2.1.2-0ubuntu1 [129 kB] Get:82 http://ftpmaster.internal/ubuntu kinetic/main arm64 libjpeg8 arm64 8c-2ubuntu10 [2264 B] Get:83 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libmd4c0 arm64 0.4.8-1 [41.2 kB] Get:84 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdbus-1-3 arm64 1.14.0-2ubuntu2 [200 kB] Get:85 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5dbus5 arm64 5.15.6+dfsg-1 [221 kB] Get:86 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5network5 arm64 5.15.6+dfsg-1 [734 kB] Get:87 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] Get:88 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-icccm4 arm64 0.4.1-1.1build2 [11.0 kB] Get:89 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-util1 arm64 0.4.0-1build2 [11.2 kB] Get:90 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-image0 arm64 0.4.0-2 [11.1 kB] Get:91 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-keysyms1 arm64 0.4.0-1build3 [8606 B] Get:92 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] Get:93 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-render0 arm64 1.15-1 [16.1 kB] Get:94 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-render-util0 arm64 0.3.9-1build3 [10.2 kB] Get:95 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-shape0 arm64 1.15-1 [6106 B] Get:96 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-xinerama0 arm64 1.15-1 [5434 B] Get:97 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-xinput0 arm64 1.15-1 [33.5 kB] Get:98 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxcb-xkb1 arm64 1.15-1 [31.7 kB] Get:99 http://ftpmaster.internal/ubuntu kinetic/main arm64 xkb-data all 2.35.1-1 [393 kB] Get:100 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxkbcommon0 arm64 1.4.1-1 [118 kB] Get:101 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxkbcommon-x11-0 arm64 1.4.1-1 [13.5 kB] Get:102 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] Get:103 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5gui5 arm64 5.15.6+dfsg-1 [3462 kB] Get:104 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 libboost-regex1.74.0 arm64 1.74.0-17ubuntu2~ppa2 [512 kB] Get:105 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5widgets5 arm64 5.15.6+dfsg-1 [2530 kB] Get:106 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5svg5 arm64 5.15.6-1 [145 kB] Get:107 http://ftpmaster.internal/ubuntu kinetic/main arm64 media-types all 8.0.0 [24.9 kB] Get:108 http://ftpmaster.internal/ubuntu kinetic/main arm64 libmpdec3 arm64 2.5.1-2build2 [89.0 kB] Get:109 http://ftpmaster.internal/ubuntu kinetic/main arm64 libpython3.10-stdlib arm64 3.10.7-1 [1762 kB] Get:110 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3.10 arm64 3.10.7-1 [497 kB] Get:111 http://ftpmaster.internal/ubuntu kinetic/main arm64 libfribidi0 arm64 1.0.8-2.1ubuntu1 [26.3 kB] Get:112 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-pkg-resources all 59.6.0-1.2 [132 kB] Get:113 http://ftpmaster.internal/ubuntu kinetic/main arm64 bsdextrautils arm64 2.38-4ubuntu1 [69.6 kB] Get:114 http://ftpmaster.internal/ubuntu kinetic/main arm64 libmagic-mgc arm64 1:5.41-4 [257 kB] Get:115 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 libboost1.74-dev arm64 1.74.0-17ubuntu2~ppa2 [9616 kB] Get:116 http://ftpmaster.internal/ubuntu kinetic/main arm64 libmagic1 arm64 1:5.41-4 [85.0 kB] Get:117 http://ftpmaster.internal/ubuntu kinetic/main arm64 file arm64 1:5.41-4 [21.6 kB] Get:118 http://ftpmaster.internal/ubuntu kinetic/main arm64 gettext-base arm64 0.21-8 [36.8 kB] Get:119 http://ftpmaster.internal/ubuntu kinetic/main arm64 libuchardet0 arm64 0.0.7-1build2 [77.3 kB] Get:120 http://ftpmaster.internal/ubuntu kinetic/main arm64 groff-base arm64 1.22.4-8build1 [917 kB] Get:121 http://ftpmaster.internal/ubuntu kinetic/main arm64 libnghttp2-14 arm64 1.49.0-1 [72.1 kB] Get:122 http://ftpmaster.internal/ubuntu kinetic/main arm64 libpipeline1 arm64 1.5.6-2 [23.3 kB] Get:123 http://ftpmaster.internal/ubuntu kinetic/main arm64 libpsl5 arm64 0.21.0-1.2build2 [58.3 kB] Get:124 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxmuu1 arm64 2:1.1.3-3 [10.4 kB] Get:125 http://ftpmaster.internal/ubuntu kinetic/main arm64 man-db arm64 2.10.2-2 [1175 kB] Get:126 http://ftpmaster.internal/ubuntu kinetic/main arm64 xauth arm64 1:1.1.1-1 [27.1 kB] Get:127 http://ftpmaster.internal/ubuntu kinetic/main arm64 m4 arm64 1.4.19-1 [240 kB] Get:128 http://ftpmaster.internal/ubuntu kinetic/main arm64 autoconf all 2.71-2 [338 kB] Get:129 http://ftpmaster.internal/ubuntu kinetic/main arm64 autotools-dev all 20220109.1 [44.9 kB] Get:130 http://ftpmaster.internal/ubuntu kinetic/main arm64 automake all 1:1.16.5-1.3 [558 kB] Get:131 http://ftpmaster.internal/ubuntu kinetic/main arm64 autopoint all 0.21-8 [421 kB] Get:132 http://ftpmaster.internal/ubuntu kinetic/main arm64 libtcl8.6 arm64 8.6.12+dfsg-1build1 [987 kB] Get:133 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxft2 arm64 2.3.4-1 [40.9 kB] Get:134 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxss1 arm64 1:1.2.3-1build2 [8252 B] Get:135 http://ftpmaster.internal/ubuntu kinetic/main arm64 libtk8.6 arm64 8.6.12-1build1 [777 kB] Get:136 http://ftpmaster.internal/ubuntu kinetic/main arm64 tk8.6-blt2.5 arm64 2.5.3+dfsg-4.1build2 [625 kB] Get:137 http://ftpmaster.internal/ubuntu kinetic/main arm64 blt arm64 2.5.3+dfsg-4.1build2 [4838 B] Get:138 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdebhelper-perl all 13.9.1ubuntu1 [66.4 kB] Get:139 http://ftpmaster.internal/ubuntu kinetic/main arm64 libtool all 2.4.7-4 [166 kB] Get:140 http://ftpmaster.internal/ubuntu kinetic/main arm64 dh-autoreconf all 20 [16.1 kB] Get:141 http://ftpmaster.internal/ubuntu kinetic/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] Get:142 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsub-override-perl all 0.09-3 [9756 B] Get:143 http://ftpmaster.internal/ubuntu kinetic/main arm64 libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] Get:144 http://ftpmaster.internal/ubuntu kinetic/main arm64 dh-strip-nondeterminism all 1.13.0-1 [5344 B] Get:145 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdw1 arm64 0.187-4 [243 kB] Get:146 http://ftpmaster.internal/ubuntu kinetic/main arm64 debugedit arm64 1:5.0-5 [45.9 kB] Get:147 http://ftpmaster.internal/ubuntu kinetic/main arm64 dwz arm64 0.14-1build2 [102 kB] Get:148 http://ftpmaster.internal/ubuntu kinetic/main arm64 gettext arm64 0.21-8 [842 kB] Get:149 http://ftpmaster.internal/ubuntu kinetic/main arm64 intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:150 http://ftpmaster.internal/ubuntu kinetic/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] Get:151 http://ftpmaster.internal/ubuntu kinetic/main arm64 debhelper all 13.9.1ubuntu1 [939 kB] Get:152 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-lib2to3 all 3.10.7-1 [77.5 kB] Get:153 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-distutils all 3.10.7-1 [139 kB] Get:154 http://ftpmaster.internal/ubuntu kinetic/universe arm64 fonts-lyx all 2.3.6.1-1 [167 kB] Get:155 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsasl2-modules-db arm64 2.1.28+dfsg-6ubuntu2 [21.0 kB] Get:156 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsasl2-2 arm64 2.1.28+dfsg-6ubuntu2 [57.3 kB] Get:157 http://ftpmaster.internal/ubuntu kinetic/main arm64 libldap-2.5-0 arm64 2.5.13+dfsg-1ubuntu1 [180 kB] Get:158 http://ftpmaster.internal/ubuntu kinetic/main arm64 librtmp1 arm64 2.4+20151223.gitfa8646d.1-2build4 [59.2 kB] Get:159 http://ftpmaster.internal/ubuntu kinetic/main arm64 libssh-4 arm64 0.9.6-2build1 [184 kB] Get:160 http://ftpmaster.internal/ubuntu kinetic/main arm64 libcurl3-gnutls arm64 7.85.0-1 [280 kB] Get:161 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdebuginfod1 arm64 0.187-4 [12.4 kB] Get:162 http://ftpmaster.internal/ubuntu kinetic/main arm64 libpython3.10 arm64 3.10.7-1 [1880 kB] Get:163 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsource-highlight-common all 3.1.9-4.1ubuntu1 [64.1 kB] Get:164 http://ftpmaster.internal/ubuntu kinetic/main arm64 libsource-highlight4v5 arm64 3.1.9-4.1ubuntu1 [193 kB] Get:165 http://ftpmaster.internal/ubuntu kinetic/main arm64 gdb arm64 12.1-3ubuntu2 [4486 kB] Get:166 http://ftpmaster.internal/ubuntu kinetic/main arm64 libavahi-common-data arm64 0.8-6ubuntu1 [24.0 kB] Get:167 http://ftpmaster.internal/ubuntu kinetic/main arm64 libavahi-common3 arm64 0.8-6ubuntu1 [22.9 kB] Get:168 http://ftpmaster.internal/ubuntu kinetic/main arm64 libavahi-client3 arm64 0.8-6ubuntu1 [27.1 kB] Get:169 http://ftpmaster.internal/ubuntu kinetic/main arm64 libblas3 arm64 3.10.1-2 [140 kB] Get:170 http://ftpmaster.internal/ubuntu kinetic/main arm64 libboost-dev arm64 1.74.0.3ubuntu7 [3490 B] Get:171 http://ftpmaster.internal/ubuntu kinetic/main arm64 libcups2 arm64 2.4.2-1ubuntu2 [260 kB] Get:172 http://ftpmaster.internal/ubuntu kinetic/main arm64 libdeflate0 arm64 1.12-1 [72.0 kB] Get:173 http://ftpmaster.internal/ubuntu kinetic/main arm64 libexpat1-dev arm64 2.4.8-2 [123 kB] Get:174 http://ftpmaster.internal/ubuntu kinetic/main arm64 libfontenc1 arm64 1:1.1.4-1build3 [14.1 kB] Get:175 http://ftpmaster.internal/ubuntu kinetic/main arm64 libgfortran5 arm64 12.2.0-3ubuntu1 [417 kB] Get:176 http://ftpmaster.internal/ubuntu kinetic/main arm64 libimagequant0 arm64 2.17.0-1 [34.4 kB] Get:177 http://ftpmaster.internal/ubuntu kinetic/main arm64 libjs-jquery all 3.6.0+dfsg+~3.5.13-1 [321 kB] Get:178 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libjs-jquery-ui all 1.13.2+dfsg-1 [252 kB] Get:179 http://ftpmaster.internal/ubuntu kinetic/main arm64 libjs-underscore all 1.13.3~dfsg+~1.11.4-1 [118 kB] Get:180 http://ftpmaster.internal/ubuntu kinetic/main arm64 libjs-sphinxdoc all 4.5.0-4 [142 kB] Get:181 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libopenblas0-pthread arm64 0.3.20+ds-2 [4943 kB] Get:182 http://ftpmaster.internal/ubuntu kinetic/main arm64 liblapack3 arm64 3.10.1-2 [1997 kB] Get:183 http://ftpmaster.internal/ubuntu kinetic/universe arm64 liblbfgsb0 arm64 3.0+dfsg.3-11 [26.7 kB] Get:184 http://ftpmaster.internal/ubuntu kinetic/main arm64 liblcms2-2 arm64 2.13.1-1 [157 kB] Get:185 http://ftpmaster.internal/ubuntu kinetic/main arm64 liblerc3 arm64 3.0+ds-1ubuntu1 [109 kB] Get:186 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libopenblas0 arm64 0.3.20+ds-2 [6078 B] Get:187 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libopenblas-pthread-dev arm64 0.3.20+ds-2 [3220 kB] Get:188 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libopenblas-dev arm64 0.3.20+ds-2 [18.4 kB] Get:189 http://ftpmaster.internal/ubuntu kinetic/main arm64 libpixman-1-0 arm64 0.40.0-1build4 [160 kB] Get:190 http://ftpmaster.internal/ubuntu kinetic/main arm64 zlib1g-dev arm64 1:1.2.11.dfsg-4.1ubuntu1 [162 kB] Get:191 http://ftpmaster.internal/ubuntu kinetic/main arm64 libpython3.10-dev arm64 3.10.7-1 [4406 kB] Get:192 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 libpython3-dev arm64 3.10.6-1ubuntu1~ppa1 [22.3 kB] Get:193 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqhull-r8.0 arm64 2020.2-5 [188 kB] Get:194 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5xml5 arm64 5.15.6+dfsg-1 [123 kB] Get:195 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5designer5 arm64 5.15.6-1build1 [2834 kB] Get:196 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 libpython3.11-stdlib arm64 3.11.0~rc2-1ubuntu1~ppa1 [1788 kB] Get:197 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5sql5 arm64 5.15.6+dfsg-1 [122 kB] Get:198 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5help5 arm64 5.15.6-1build1 [163 kB] Get:199 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5printsupport5 arm64 5.15.6+dfsg-1 [207 kB] Get:200 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5test5 arm64 5.15.6+dfsg-1 [141 kB] Get:201 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libqt5x11extras5 arm64 5.15.6-1 [10.6 kB] Get:202 http://ftpmaster.internal/ubuntu kinetic/main arm64 libraqm0 arm64 0.7.0-4ubuntu1 [11.6 kB] Get:203 http://ftpmaster.internal/ubuntu kinetic/main arm64 libjbig0 arm64 2.1-3.1build3 [28.8 kB] Get:204 http://ftpmaster.internal/ubuntu kinetic/main arm64 libwebp7 arm64 1.2.2-2 [192 kB] Get:205 http://ftpmaster.internal/ubuntu kinetic/main arm64 libtiff5 arm64 4.4.0-4ubuntu3 [182 kB] Get:206 http://ftpmaster.internal/ubuntu kinetic/main arm64 libunwind8 arm64 1.6.2-0ubuntu1 [55.6 kB] Get:207 http://ftpmaster.internal/ubuntu kinetic/main arm64 libwebpdemux2 arm64 1.2.2-2 [9948 B] Get:208 http://ftpmaster.internal/ubuntu kinetic/main arm64 libwebpmux3 arm64 1.2.2-2 [20.6 kB] Get:209 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxt6 arm64 1:1.2.1-1 [171 kB] Get:210 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxmu6 arm64 2:1.1.3-3 [48.9 kB] Get:211 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxpm4 arm64 1:3.5.12-1build2 [35.0 kB] Get:212 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxaw7 arm64 2:1.0.14-1 [184 kB] Get:213 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxfont2 arm64 1:2.0.5-1build1 [90.0 kB] Get:214 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxkbfile1 arm64 1:1.1.0-1build3 [71.2 kB] Get:215 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] Get:216 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libxsimd-dev arm64 8.1.0-7 [90.7 kB] Get:217 http://ftpmaster.internal/ubuntu kinetic/main arm64 libxslt1.1 arm64 1.1.35-1 [161 kB] Get:218 http://ftpmaster.internal/ubuntu kinetic/main arm64 python-babel-localedata all 2.8.0+dfsg.1-7 [4982 kB] Get:219 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 libpython3.11 arm64 3.11.0~rc2-1ubuntu1~ppa1 [2164 kB] Get:220 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3.10-dev arm64 3.10.7-1 [507 kB] Get:221 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-appdirs all 1.4.4-2 [11.4 kB] Get:222 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-asgiref all 3.5.0-1 [23.9 kB] Get:223 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-async-generator all 1.10-3 [17.5 kB] Get:224 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-attr all 22.1.0-1 [48.5 kB] Get:225 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-tz all 2022.2.1-1 [32.5 kB] Get:226 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-babel all 2.8.0+dfsg.1-7 [85.1 kB] Get:227 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-backcall all 0.2.0-3 [12.7 kB] Get:228 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-gast all 0.5.2-2 [9394 B] Get:229 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-beniget all 0.4.1-2 [9904 B] Get:230 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-bytecode all 0.13.0-2 [24.5 kB] Get:231 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-more-itertools all 8.10.0-2 [47.9 kB] Get:232 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-jaraco.functools all 3.5.0-1 [9228 B] Get:233 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-cheroot all 8.6.0+ds1-3ubuntu1 [74.6 kB] Get:234 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-jaraco.classes all 3.2.1-3 [6452 B] Get:235 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-jaraco.context all 4.1.1-2 [5602 B] Get:236 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-jaraco.text all 3.7.0-1 [9254 B] Get:237 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-jaraco.collections all 3.5.1-1 [11.5 kB] Get:238 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-tempora all 5.0.1-1 [14.8 kB] Get:239 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-portend all 3.1.0-1 [7272 B] Get:240 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-zc.lockfile all 2.0-2 [8844 B] Get:241 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-cherrypy3 all 18.8.0-1 [208 kB] Get:242 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-colorama all 0.4.5-2 [25.1 kB] Get:243 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-click all 8.0.3-1 [78.3 kB] Get:244 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-cycler all 0.11.0-1 [8156 B] Get:245 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-six all 1.16.0-4 [12.4 kB] Get:246 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-dateutil all 2.8.1-6 [78.4 kB] Get:247 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-decorator all 4.4.2-0ubuntu1 [10.3 kB] Get:248 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-defusedxml all 0.7.1-1 [43.2 kB] Get:249 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 libpython3.11-dev arm64 3.11.0~rc2-1ubuntu1~ppa1 [5123 kB] Get:250 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-sqlparse all 0.4.2-1 [31.4 kB] Get:251 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-django all 3:3.2.15-1ubuntu1 [2998 kB] Get:252 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-execnet all 1.9.0-1 [33.5 kB] Get:253 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-itsdangerous all 2.1.2-2 [14.5 kB] Get:254 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-jinja2 all 3.0.3-1 [108 kB] Get:255 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-werkzeug all 2.0.2+dfsg1-3 [180 kB] Get:256 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-flask all 2.0.3-1ubuntu1 [81.5 kB] Get:257 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-ply all 3.11-5 [47.5 kB] Get:258 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-ufolib2 all 0.13.1+dfsg1-1 [32.2 kB] Get:259 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-mpmath all 1.2.1-2 [419 kB] Get:260 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-sympy all 1.10.1-3 [4394 kB] Get:261 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-fs all 2.4.16-1 [91.8 kB] Get:262 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-unicodedata2 arm64 14.0.0+ds2-1ubuntu1 [362 kB] Get:263 http://ftpmaster.internal/ubuntu kinetic/universe arm64 unicode-data all 15.0.0-1 [8262 kB] Get:264 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-idna all 3.3-1 [49.3 kB] Get:265 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] Get:266 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-parso all 0.8.1-1 [64.5 kB] Get:267 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-jedi all 0.18.0-1 [615 kB] Get:268 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-traitlets all 5.3.0-1 [85.5 kB] Get:269 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-matplotlib-inline all 0.1.3-1 [8070 B] Get:270 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-ptyprocess all 0.7.0-3 [15.4 kB] Get:271 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-pexpect all 4.8.0-3ubuntu1 [46.6 kB] Get:272 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-pickleshare all 0.7.5-5 [7570 B] Get:273 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-wcwidth all 0.2.5+dfsg1-1 [21.9 kB] Get:274 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-prompt-toolkit all 3.0.30-1 [251 kB] Get:275 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-pygments all 2.12.0+dfsg-2 [766 kB] Get:276 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-ipython all 7.31.1-1 [534 kB] Get:277 http://ftpmaster.internal/ubuntu kinetic/main arm64 libopenjp2-7 arm64 2.5.0-1 [167 kB] Get:278 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-tk arm64 3.10.7-1 [109 kB] Get:279 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-pyparsing all 3.0.7-2 [82.6 kB] Get:280 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-packaging all 21.3-1.1 [30.6 kB] Get:281 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-outcome all 1.2.0-1 [5922 B] Get:282 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-pluggy all 1.0.0+repack-1 [15.1 kB] Get:283 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-tomli all 2.0.1-1 [16.6 kB] Get:284 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-pytest all 7.1.2-2ubuntu1 [219 kB] Get:285 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-pytest-forked all 1.4.0-1 [7316 B] Get:286 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-pytest-xdist all 2.5.0-5 [39.8 kB] Get:287 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-setuptools all 59.6.0-1.2 [339 kB] Get:288 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-sniffio all 1.2.0-1 [6438 B] Get:289 http://ftpmaster.internal/ubuntu kinetic/main arm64 python3-sortedcontainers all 2.4.0-2 [27.6 kB] Get:290 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-trio all 0.21.0-1 [240 kB] Get:291 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-untangle all 1.2.1-1 [8048 B] Get:292 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-zope.event all 4.4-3 [8180 B] Get:293 http://ftpmaster.internal/ubuntu kinetic/universe arm64 txt2man all 1.7.1-2 [35.4 kB] Get:294 http://ftpmaster.internal/ubuntu kinetic/main arm64 x11-xkb-utils arm64 7.7+7 [169 kB] Get:295 http://ftpmaster.internal/ubuntu kinetic/main arm64 xserver-common all 2:21.1.4-2ubuntu1 [27.4 kB] Get:296 http://ftpmaster.internal/ubuntu kinetic/universe arm64 xvfb arm64 2:21.1.4-2ubuntu1 [855 kB] Get:297 http://ftpmaster.internal/ubuntu kinetic/main arm64 libc-ares2 arm64 1.18.1-1build1 [44.4 kB] Get:298 http://ftpmaster.internal/ubuntu kinetic/universe arm64 libev4 arm64 1:4.33-1 [27.4 kB] Get:299 http://ftpmaster.internal/ubuntu kinetic/universe arm64 python3-gevent arm64 21.8.0-1build1 [774 kB] Get:300 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 libpython3-all-dev arm64 3.10.6-1ubuntu1~ppa1 [930 B] Get:301 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python-matplotlib-data all 3.5.2-2build2~ppa1 [2949 kB] Get:302 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3.11 arm64 3.11.0~rc2-1ubuntu1~ppa1 [601 kB] Get:303 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3-all arm64 3.10.6-1ubuntu1~ppa1 [918 B] Get:304 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3-dev arm64 3.10.6-1ubuntu1~ppa1 [26.0 kB] Get:305 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3.11-dev arm64 3.11.0~rc2-1ubuntu1~ppa1 [615 kB] Get:306 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3-all-dev arm64 3.10.6-1ubuntu1~ppa1 [928 B] Get:307 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-brotli arm64 1.0.9-2build7 [316 kB] Get:308 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-coverage arm64 6.2+dfsg1-2build2 [155 kB] Get:309 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-markupsafe arm64 2.0.1-2build2 [13.9 kB] Get:310 http://ppa.launchpadcontent.net/pythoneers/python3.11-numpy/ubuntu kinetic/main arm64 python3-numpy arm64 1:1.21.5-1ubuntu1~ppa1 [5545 kB] Get:311 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-pythran arm64 0.11.0+ds-7build1 [427 kB] Get:312 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-scipy arm64 1.8.1-10build1 [16.4 MB] Get:313 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-lxml arm64 4.9.1-1build1 [1745 kB] Get:314 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-lz4 arm64 4.0.0+dfsg-1build1 [27.3 kB] Get:315 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-fonttools arm64 4.34.4-1build1 [866 kB] Get:316 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3-greenlet arm64 1.1.3-0ubuntu1~ppa1 [69.5 kB] Get:317 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-kiwisolver arm64 1.3.2-1build2 [46.6 kB] Get:318 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-pil arm64 9.2.0-1build1 [487 kB] Get:319 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-pil.imagetk arm64 9.2.0-1build1 [78.6 kB] Get:320 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-matplotlib arm64 3.5.2-2build2~ppa1 [7538 kB] Get:321 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3-pandas-lib arm64 1.3.5+dfsg-5ubuntu1~ppa1 [6032 kB] Get:322 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3-pandas all 1.3.5+dfsg-5ubuntu1~ppa1 [2697 kB] Get:323 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-psutil arm64 5.9.0-1build2 [193 kB] Get:324 http://ppa.launchpadcontent.net/pythoneers/python3.11-fixes/ubuntu kinetic/main arm64 python3-py all 1.11.0-0ubuntu1~ppa1 [95.3 kB] Get:325 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-pyqt5.sip arm64 12.11.0-1build1 [69.2 kB] Get:326 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-pyqt5 arm64 5.15.7+dfsg-1build2 [2545 kB] Get:327 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-pyqt5.qtsvg arm64 5.15.7+dfsg-1build2 [43.2 kB] Get:328 http://ppa.launchpadcontent.net/pythoneers/python3.11/ubuntu kinetic/main arm64 python3-zope.interface arm64 5.4.0-3build1 [157 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 209 MB in 31s (6817 kB/s) Selecting previously unselected package libpython3.10-minimal:arm64. (Reading database ... 13606 files and directories currently installed.) Preparing to unpack .../libpython3.10-minimal_3.10.7-1_arm64.deb ... Unpacking libpython3.10-minimal:arm64 (3.10.7-1) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../libexpat1_2.4.8-2_arm64.deb ... Unpacking libexpat1:arm64 (2.4.8-2) ... Selecting previously unselected package python3.10-minimal. Preparing to unpack .../python3.10-minimal_3.10.7-1_arm64.deb ... Unpacking python3.10-minimal (3.10.7-1) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../libsigsegv2_2.14-1ubuntu1_arm64.deb ... Unpacking libsigsegv2:arm64 (2.14-1ubuntu1) ... Setting up libsigsegv2:arm64 (2.14-1ubuntu1) ... Selecting previously unselected package gawk. (Reading database ... 13915 files and directories currently installed.) Preparing to unpack .../00-gawk_1%3a5.1.0-1build3_arm64.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:arm64. Preparing to unpack .../03-libglib2.0-0_2.74.0-3_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.74.0-3) ... Selecting previously unselected package libicu71:arm64. Preparing to unpack .../04-libicu71_71.1-3ubuntu1_arm64.deb ... Unpacking libicu71:arm64 (71.1-3ubuntu1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../05-libxml2_2.9.14+dfsg-1build1_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1build1) ... Selecting previously unselected package shared-mime-info. Preparing to unpack .../06-shared-mime-info_2.2-1_arm64.deb ... Unpacking shared-mime-info (2.2-1) ... Selecting previously unselected package libdouble-conversion3:arm64. Preparing to unpack .../07-libdouble-conversion3_3.2.1-1_arm64.deb ... Unpacking libdouble-conversion3:arm64 (3.2.1-1) ... Selecting previously unselected package libpcre2-16-0:arm64. Preparing to unpack .../08-libpcre2-16-0_10.40-1ubuntu1_arm64.deb ... Unpacking libpcre2-16-0:arm64 (10.40-1ubuntu1) ... Selecting previously unselected package libqt5core5a:arm64. Preparing to unpack .../09-libqt5core5a_5.15.6+dfsg-1_arm64.deb ... Unpacking libqt5core5a:arm64 (5.15.6+dfsg-1) ... Selecting previously unselected package libbrotli1:arm64. Preparing to unpack .../10-libbrotli1_1.0.9-2build7_arm64.deb ... Unpacking libbrotli1:arm64 (1.0.9-2build7) ... Selecting previously unselected package libfreetype6:arm64. Preparing to unpack .../11-libfreetype6_2.12.1+dfsg-3_arm64.deb ... Unpacking libfreetype6:arm64 (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:arm64. Preparing to unpack .../14-libfontconfig1_2.13.1-4.4ubuntu1_arm64.deb ... Unpacking libfontconfig1:arm64 (2.13.1-4.4ubuntu1) ... Selecting previously unselected package fontconfig. Preparing to unpack .../15-fontconfig_2.13.1-4.4ubuntu1_arm64.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:arm64. Preparing to unpack .../17-libdrm2_2.4.113-2_arm64.deb ... Unpacking libdrm2:arm64 (2.4.113-2) ... Selecting previously unselected package libglvnd0:arm64. Preparing to unpack .../18-libglvnd0_1.5.0-1_arm64.deb ... Unpacking libglvnd0:arm64 (1.5.0-1) ... Selecting previously unselected package libwayland-server0:arm64. Preparing to unpack .../19-libwayland-server0_1.21.0-1_arm64.deb ... Unpacking libwayland-server0:arm64 (1.21.0-1) ... Selecting previously unselected package libgbm1:arm64. Preparing to unpack .../20-libgbm1_22.2.1-1ubuntu1_arm64.deb ... Unpacking libgbm1:arm64 (22.2.1-1ubuntu1) ... Selecting previously unselected package libglapi-mesa:arm64. Preparing to unpack .../21-libglapi-mesa_22.2.1-1ubuntu1_arm64.deb ... Unpacking libglapi-mesa:arm64 (22.2.1-1ubuntu1) ... Selecting previously unselected package libwayland-client0:arm64. Preparing to unpack .../22-libwayland-client0_1.21.0-1_arm64.deb ... Unpacking libwayland-client0:arm64 (1.21.0-1) ... Selecting previously unselected package libxau6:arm64. Preparing to unpack .../23-libxau6_1%3a1.0.9-1build5_arm64.deb ... Unpacking libxau6:arm64 (1:1.0.9-1build5) ... Selecting previously unselected package libmd0:arm64. Preparing to unpack .../24-libmd0_1.0.4-2_arm64.deb ... Unpacking libmd0:arm64 (1.0.4-2) ... Selecting previously unselected package libbsd0:arm64. Preparing to unpack .../25-libbsd0_0.11.6-1_arm64.deb ... Unpacking libbsd0:arm64 (0.11.6-1) ... Selecting previously unselected package libxdmcp6:arm64. Preparing to unpack .../26-libxdmcp6_1%3a1.1.3-0ubuntu5_arm64.deb ... Unpacking libxdmcp6:arm64 (1:1.1.3-0ubuntu5) ... Selecting previously unselected package libxcb1:arm64. Preparing to unpack .../27-libxcb1_1.15-1_arm64.deb ... Unpacking libxcb1:arm64 (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:arm64. Preparing to unpack .../29-libx11-6_2%3a1.8.1-2_arm64.deb ... Unpacking libx11-6:arm64 (2:1.8.1-2) ... Selecting previously unselected package libx11-xcb1:arm64. Preparing to unpack .../30-libx11-xcb1_2%3a1.8.1-2_arm64.deb ... Unpacking libx11-xcb1:arm64 (2:1.8.1-2) ... Selecting previously unselected package libxcb-dri2-0:arm64. Preparing to unpack .../31-libxcb-dri2-0_1.15-1_arm64.deb ... Unpacking libxcb-dri2-0:arm64 (1.15-1) ... Selecting previously unselected package libxcb-dri3-0:arm64. Preparing to unpack .../32-libxcb-dri3-0_1.15-1_arm64.deb ... Unpacking libxcb-dri3-0:arm64 (1.15-1) ... Selecting previously unselected package libxcb-present0:arm64. Preparing to unpack .../33-libxcb-present0_1.15-1_arm64.deb ... Unpacking libxcb-present0:arm64 (1.15-1) ... Selecting previously unselected package libxcb-sync1:arm64. Preparing to unpack .../34-libxcb-sync1_1.15-1_arm64.deb ... Unpacking libxcb-sync1:arm64 (1.15-1) ... Selecting previously unselected package libxcb-xfixes0:arm64. Preparing to unpack .../35-libxcb-xfixes0_1.15-1_arm64.deb ... Unpacking libxcb-xfixes0:arm64 (1.15-1) ... Selecting previously unselected package libxshmfence1:arm64. Preparing to unpack .../36-libxshmfence1_1.3-1build4_arm64.deb ... Unpacking libxshmfence1:arm64 (1.3-1build4) ... Selecting previously unselected package libegl-mesa0:arm64. Preparing to unpack .../37-libegl-mesa0_22.2.1-1ubuntu1_arm64.deb ... Unpacking libegl-mesa0:arm64 (22.2.1-1ubuntu1) ... Selecting previously unselected package libegl1:arm64. Preparing to unpack .../38-libegl1_1.5.0-1_arm64.deb ... Unpacking libegl1:arm64 (1.5.0-1) ... Selecting previously unselected package libxcb-glx0:arm64. Preparing to unpack .../39-libxcb-glx0_1.15-1_arm64.deb ... Unpacking libxcb-glx0:arm64 (1.15-1) ... Selecting previously unselected package libxcb-shm0:arm64. Preparing to unpack .../40-libxcb-shm0_1.15-1_arm64.deb ... Unpacking libxcb-shm0:arm64 (1.15-1) ... Selecting previously unselected package libxext6:arm64. Preparing to unpack .../41-libxext6_2%3a1.3.4-1build1_arm64.deb ... Unpacking libxext6:arm64 (2:1.3.4-1build1) ... Selecting previously unselected package libxfixes3:arm64. Preparing to unpack .../42-libxfixes3_1%3a6.0.0-1_arm64.deb ... Unpacking libxfixes3:arm64 (1:6.0.0-1) ... Selecting previously unselected package libxxf86vm1:arm64. Preparing to unpack .../43-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... Selecting previously unselected package libdrm-amdgpu1:arm64. Preparing to unpack .../44-libdrm-amdgpu1_2.4.113-2_arm64.deb ... Unpacking libdrm-amdgpu1:arm64 (2.4.113-2) ... Selecting previously unselected package libdrm-nouveau2:arm64. Preparing to unpack .../45-libdrm-nouveau2_2.4.113-2_arm64.deb ... Unpacking libdrm-nouveau2:arm64 (2.4.113-2) ... Selecting previously unselected package libdrm-radeon1:arm64. Preparing to unpack .../46-libdrm-radeon1_2.4.113-2_arm64.deb ... Unpacking libdrm-radeon1:arm64 (2.4.113-2) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../47-libelf1_0.187-4_arm64.deb ... Unpacking libelf1:arm64 (0.187-4) ... Selecting previously unselected package libedit2:arm64. Preparing to unpack .../48-libedit2_3.1-20210910-1build1_arm64.deb ... Unpacking libedit2:arm64 (3.1-20210910-1build1) ... Selecting previously unselected package libllvm15:arm64. Preparing to unpack .../49-libllvm15_1%3a15.0.2-1_arm64.deb ... Unpacking libllvm15:arm64 (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:arm64. Preparing to unpack .../51-libsensors5_1%3a3.6.0-7ubuntu1_arm64.deb ... Unpacking libsensors5:arm64 (1:3.6.0-7ubuntu1) ... Selecting previously unselected package libgl1-mesa-dri:arm64. Preparing to unpack .../52-libgl1-mesa-dri_22.2.1-1ubuntu1_arm64.deb ... Unpacking libgl1-mesa-dri:arm64 (22.2.1-1ubuntu1) ... Selecting previously unselected package libglx-mesa0:arm64. Preparing to unpack .../53-libglx-mesa0_22.2.1-1ubuntu1_arm64.deb ... Unpacking libglx-mesa0:arm64 (22.2.1-1ubuntu1) ... Selecting previously unselected package libglx0:arm64. Preparing to unpack .../54-libglx0_1.5.0-1_arm64.deb ... Unpacking libglx0:arm64 (1.5.0-1) ... Selecting previously unselected package libgl1:arm64. Preparing to unpack .../55-libgl1_1.5.0-1_arm64.deb ... Unpacking libgl1:arm64 (1.5.0-1) ... Selecting previously unselected package libgraphite2-3:arm64. Preparing to unpack .../56-libgraphite2-3_1.3.14-1build2_arm64.deb ... Unpacking libgraphite2-3:arm64 (1.3.14-1build2) ... Selecting previously unselected package libharfbuzz0b:arm64. Preparing to unpack .../57-libharfbuzz0b_2.7.4-1ubuntu5_arm64.deb ... Unpacking libharfbuzz0b:arm64 (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:arm64. Preparing to unpack .../59-libice6_2%3a1.0.10-1build2_arm64.deb ... Unpacking libice6:arm64 (2:1.0.10-1build2) ... Selecting previously unselected package libevdev2:arm64. Preparing to unpack .../60-libevdev2_1.13.0+dfsg-1_arm64.deb ... Unpacking libevdev2:arm64 (1.13.0+dfsg-1) ... Selecting previously unselected package libmtdev1:arm64. Preparing to unpack .../61-libmtdev1_1.1.6-1build4_arm64.deb ... Unpacking libmtdev1:arm64 (1.1.6-1build4) ... Selecting previously unselected package libgudev-1.0-0:arm64. Preparing to unpack .../62-libgudev-1.0-0_1%3a237-2build1_arm64.deb ... Unpacking libgudev-1.0-0:arm64 (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:arm64. Preparing to unpack .../64-libwacom9_2.4.0-3_arm64.deb ... Unpacking libwacom9:arm64 (2.4.0-3) ... Selecting previously unselected package libinput-bin. Preparing to unpack .../65-libinput-bin_1.21.0-1_arm64.deb ... Unpacking libinput-bin (1.21.0-1) ... Selecting previously unselected package libinput10:arm64. Preparing to unpack .../66-libinput10_1.21.0-1_arm64.deb ... Unpacking libinput10:arm64 (1.21.0-1) ... Selecting previously unselected package libjpeg-turbo8:arm64. Preparing to unpack .../67-libjpeg-turbo8_2.1.2-0ubuntu1_arm64.deb ... Unpacking libjpeg-turbo8:arm64 (2.1.2-0ubuntu1) ... Selecting previously unselected package libjpeg8:arm64. Preparing to unpack .../68-libjpeg8_8c-2ubuntu10_arm64.deb ... Unpacking libjpeg8:arm64 (8c-2ubuntu10) ... Selecting previously unselected package libmd4c0:arm64. Preparing to unpack .../69-libmd4c0_0.4.8-1_arm64.deb ... Unpacking libmd4c0:arm64 (0.4.8-1) ... Selecting previously unselected package libdbus-1-3:arm64. Preparing to unpack .../70-libdbus-1-3_1.14.0-2ubuntu2_arm64.deb ... Unpacking libdbus-1-3:arm64 (1.14.0-2ubuntu2) ... Selecting previously unselected package libqt5dbus5:arm64. Preparing to unpack .../71-libqt5dbus5_5.15.6+dfsg-1_arm64.deb ... Unpacking libqt5dbus5:arm64 (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5network5:arm64. Preparing to unpack .../72-libqt5network5_5.15.6+dfsg-1_arm64.deb ... Unpacking libqt5network5:arm64 (5.15.6+dfsg-1) ... Selecting previously unselected package libsm6:arm64. Preparing to unpack .../73-libsm6_2%3a1.2.3-1build2_arm64.deb ... Unpacking libsm6:arm64 (2:1.2.3-1build2) ... Selecting previously unselected package libxcb-icccm4:arm64. Preparing to unpack .../74-libxcb-icccm4_0.4.1-1.1build2_arm64.deb ... Unpacking libxcb-icccm4:arm64 (0.4.1-1.1build2) ... Selecting previously unselected package libxcb-util1:arm64. Preparing to unpack .../75-libxcb-util1_0.4.0-1build2_arm64.deb ... Unpacking libxcb-util1:arm64 (0.4.0-1build2) ... Selecting previously unselected package libxcb-image0:arm64. Preparing to unpack .../76-libxcb-image0_0.4.0-2_arm64.deb ... Unpacking libxcb-image0:arm64 (0.4.0-2) ... Selecting previously unselected package libxcb-keysyms1:arm64. Preparing to unpack .../77-libxcb-keysyms1_0.4.0-1build3_arm64.deb ... Unpacking libxcb-keysyms1:arm64 (0.4.0-1build3) ... Selecting previously unselected package libxcb-randr0:arm64. Preparing to unpack .../78-libxcb-randr0_1.15-1_arm64.deb ... Unpacking libxcb-randr0:arm64 (1.15-1) ... Selecting previously unselected package libxcb-render0:arm64. Preparing to unpack .../79-libxcb-render0_1.15-1_arm64.deb ... Unpacking libxcb-render0:arm64 (1.15-1) ... Selecting previously unselected package libxcb-render-util0:arm64. Preparing to unpack .../80-libxcb-render-util0_0.3.9-1build3_arm64.deb ... Unpacking libxcb-render-util0:arm64 (0.3.9-1build3) ... Selecting previously unselected package libxcb-shape0:arm64. Preparing to unpack .../81-libxcb-shape0_1.15-1_arm64.deb ... Unpacking libxcb-shape0:arm64 (1.15-1) ... Selecting previously unselected package libxcb-xinerama0:arm64. Preparing to unpack .../82-libxcb-xinerama0_1.15-1_arm64.deb ... Unpacking libxcb-xinerama0:arm64 (1.15-1) ... Selecting previously unselected package libxcb-xinput0:arm64. Preparing to unpack .../83-libxcb-xinput0_1.15-1_arm64.deb ... Unpacking libxcb-xinput0:arm64 (1.15-1) ... Selecting previously unselected package libxcb-xkb1:arm64. Preparing to unpack .../84-libxcb-xkb1_1.15-1_arm64.deb ... Unpacking libxcb-xkb1:arm64 (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:arm64. Preparing to unpack .../86-libxkbcommon0_1.4.1-1_arm64.deb ... Unpacking libxkbcommon0:arm64 (1.4.1-1) ... Selecting previously unselected package libxkbcommon-x11-0:arm64. Preparing to unpack .../87-libxkbcommon-x11-0_1.4.1-1_arm64.deb ... Unpacking libxkbcommon-x11-0:arm64 (1.4.1-1) ... Selecting previously unselected package libxrender1:arm64. Preparing to unpack .../88-libxrender1_1%3a0.9.10-1.1_arm64.deb ... Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... Selecting previously unselected package libqt5gui5:arm64. Preparing to unpack .../89-libqt5gui5_5.15.6+dfsg-1_arm64.deb ... Unpacking libqt5gui5:arm64 (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5widgets5:arm64. Preparing to unpack .../90-libqt5widgets5_5.15.6+dfsg-1_arm64.deb ... Unpacking libqt5widgets5:arm64 (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5svg5:arm64. Preparing to unpack .../91-libqt5svg5_5.15.6-1_arm64.deb ... Unpacking libqt5svg5:arm64 (5.15.6-1) ... Setting up libpython3.10-minimal:arm64 (3.10.7-1) ... Setting up libexpat1:arm64 (2.4.8-2) ... Setting up python3.10-minimal (3.10.7-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 16000 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.10.6-1ubuntu1~ppa1_arm64.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:arm64. Preparing to unpack .../2-libmpdec3_2.5.1-2build2_arm64.deb ... Unpacking libmpdec3:arm64 (2.5.1-2build2) ... Selecting previously unselected package libpython3.10-stdlib:arm64. Preparing to unpack .../3-libpython3.10-stdlib_3.10.7-1_arm64.deb ... Unpacking libpython3.10-stdlib:arm64 (3.10.7-1) ... Selecting previously unselected package python3.10. Preparing to unpack .../4-python3.10_3.10.7-1_arm64.deb ... Unpacking python3.10 (3.10.7-1) ... Selecting previously unselected package libpython3-stdlib:arm64. Preparing to unpack .../5-libpython3-stdlib_3.10.6-1ubuntu1~ppa1_arm64.deb ... Unpacking libpython3-stdlib:arm64 (3.10.6-1ubuntu1~ppa1) ... Setting up python3-minimal (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package python3. (Reading database ... 16401 files and directories currently installed.) Preparing to unpack .../000-python3_3.10.6-1ubuntu1~ppa1_arm64.deb ... Unpacking python3 (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3.11-minimal:arm64. Preparing to unpack .../001-libpython3.11-minimal_3.11.0~rc2-1ubuntu1~ppa1_arm64.deb ... Unpacking libpython3.11-minimal:arm64 (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_arm64.deb ... Unpacking python3.11-minimal (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package libfribidi0:arm64. Preparing to unpack .../003-libfribidi0_1.0.8-2.1ubuntu1_arm64.deb ... Unpacking libfribidi0:arm64 (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_arm64.deb ... Unpacking bsdextrautils (2.38-4ubuntu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../006-libmagic-mgc_1%3a5.41-4_arm64.deb ... Unpacking libmagic-mgc (1:5.41-4) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../007-libmagic1_1%3a5.41-4_arm64.deb ... Unpacking libmagic1:arm64 (1:5.41-4) ... Selecting previously unselected package file. Preparing to unpack .../008-file_1%3a5.41-4_arm64.deb ... Unpacking file (1:5.41-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../009-gettext-base_0.21-8_arm64.deb ... Unpacking gettext-base (0.21-8) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../010-libuchardet0_0.0.7-1build2_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../011-groff-base_1.22.4-8build1_arm64.deb ... Unpacking groff-base (1.22.4-8build1) ... Selecting previously unselected package libnghttp2-14:arm64. Preparing to unpack .../012-libnghttp2-14_1.49.0-1_arm64.deb ... Unpacking libnghttp2-14:arm64 (1.49.0-1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../013-libpipeline1_1.5.6-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.6-2) ... Selecting previously unselected package libpsl5:arm64. Preparing to unpack .../014-libpsl5_0.21.0-1.2build2_arm64.deb ... Unpacking libpsl5:arm64 (0.21.0-1.2build2) ... Selecting previously unselected package libxmuu1:arm64. Preparing to unpack .../015-libxmuu1_2%3a1.1.3-3_arm64.deb ... Unpacking libxmuu1:arm64 (2:1.1.3-3) ... Selecting previously unselected package man-db. Preparing to unpack .../016-man-db_2.10.2-2_arm64.deb ... Unpacking man-db (2.10.2-2) ... Selecting previously unselected package xauth. Preparing to unpack .../017-xauth_1%3a1.1.1-1_arm64.deb ... Unpacking xauth (1:1.1.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../018-m4_1.4.19-1_arm64.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:arm64. Preparing to unpack .../023-libtcl8.6_8.6.12+dfsg-1build1_arm64.deb ... Unpacking libtcl8.6:arm64 (8.6.12+dfsg-1build1) ... Selecting previously unselected package libxft2:arm64. Preparing to unpack .../024-libxft2_2.3.4-1_arm64.deb ... Unpacking libxft2:arm64 (2.3.4-1) ... Selecting previously unselected package libxss1:arm64. Preparing to unpack .../025-libxss1_1%3a1.2.3-1build2_arm64.deb ... Unpacking libxss1:arm64 (1:1.2.3-1build2) ... Selecting previously unselected package libtk8.6:arm64. Preparing to unpack .../026-libtk8.6_8.6.12-1build1_arm64.deb ... Unpacking libtk8.6:arm64 (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_arm64.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_arm64.deb ... Unpacking blt (2.5.3+dfsg-4.1build2) ... Selecting previously unselected package cython3. Preparing to unpack .../029-cython3_0.29.30-1ubuntu2_arm64.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:arm64. Preparing to unpack .../037-libdw1_0.187-4_arm64.deb ... Unpacking libdw1:arm64 (0.187-4) ... Selecting previously unselected package debugedit. Preparing to unpack .../038-debugedit_1%3a5.0-5_arm64.deb ... Unpacking debugedit (1:5.0-5) ... Selecting previously unselected package dwz. Preparing to unpack .../039-dwz_0.14-1build2_arm64.deb ... Unpacking dwz (0.14-1build2) ... Selecting previously unselected package gettext. Preparing to unpack .../040-gettext_0.21-8_arm64.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:arm64. Preparing to unpack .../048-libbabeltrace1_1.5.8-2build2_arm64.deb ... Unpacking libbabeltrace1:arm64 (1.5.8-2build2) ... Selecting previously unselected package libsasl2-modules-db:arm64. Preparing to unpack .../049-libsasl2-modules-db_2.1.28+dfsg-6ubuntu2_arm64.deb ... Unpacking libsasl2-modules-db:arm64 (2.1.28+dfsg-6ubuntu2) ... Selecting previously unselected package libsasl2-2:arm64. Preparing to unpack .../050-libsasl2-2_2.1.28+dfsg-6ubuntu2_arm64.deb ... Unpacking libsasl2-2:arm64 (2.1.28+dfsg-6ubuntu2) ... Selecting previously unselected package libldap-2.5-0:arm64. Preparing to unpack .../051-libldap-2.5-0_2.5.13+dfsg-1ubuntu1_arm64.deb ... Unpacking libldap-2.5-0:arm64 (2.5.13+dfsg-1ubuntu1) ... Selecting previously unselected package librtmp1:arm64. Preparing to unpack .../052-librtmp1_2.4+20151223.gitfa8646d.1-2build4_arm64.deb ... Unpacking librtmp1:arm64 (2.4+20151223.gitfa8646d.1-2build4) ... Selecting previously unselected package libssh-4:arm64. Preparing to unpack .../053-libssh-4_0.9.6-2build1_arm64.deb ... Unpacking libssh-4:arm64 (0.9.6-2build1) ... Selecting previously unselected package libcurl3-gnutls:arm64. Preparing to unpack .../054-libcurl3-gnutls_7.85.0-1_arm64.deb ... Unpacking libcurl3-gnutls:arm64 (7.85.0-1) ... Selecting previously unselected package libdebuginfod1:arm64. Preparing to unpack .../055-libdebuginfod1_0.187-4_arm64.deb ... Unpacking libdebuginfod1:arm64 (0.187-4) ... Selecting previously unselected package libpython3.10:arm64. Preparing to unpack .../056-libpython3.10_3.10.7-1_arm64.deb ... Unpacking libpython3.10:arm64 (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:arm64. Preparing to unpack .../058-libboost-regex1.74.0_1.74.0-17ubuntu2~ppa2_arm64.deb ... Unpacking libboost-regex1.74.0:arm64 (1.74.0-17ubuntu2~ppa2) ... Selecting previously unselected package libsource-highlight4v5. Preparing to unpack .../059-libsource-highlight4v5_3.1.9-4.1ubuntu1_arm64.deb ... Unpacking libsource-highlight4v5 (3.1.9-4.1ubuntu1) ... Selecting previously unselected package gdb. Preparing to unpack .../060-gdb_12.1-3ubuntu2_arm64.deb ... Unpacking gdb (12.1-3ubuntu2) ... Selecting previously unselected package libavahi-common-data:arm64. Preparing to unpack .../061-libavahi-common-data_0.8-6ubuntu1_arm64.deb ... Unpacking libavahi-common-data:arm64 (0.8-6ubuntu1) ... Selecting previously unselected package libavahi-common3:arm64. Preparing to unpack .../062-libavahi-common3_0.8-6ubuntu1_arm64.deb ... Unpacking libavahi-common3:arm64 (0.8-6ubuntu1) ... Selecting previously unselected package libavahi-client3:arm64. Preparing to unpack .../063-libavahi-client3_0.8-6ubuntu1_arm64.deb ... Unpacking libavahi-client3:arm64 (0.8-6ubuntu1) ... Selecting previously unselected package libblas3:arm64. Preparing to unpack .../064-libblas3_3.10.1-2_arm64.deb ... Unpacking libblas3:arm64 (3.10.1-2) ... Selecting previously unselected package libboost1.74-dev:arm64. Preparing to unpack .../065-libboost1.74-dev_1.74.0-17ubuntu2~ppa2_arm64.deb ... Unpacking libboost1.74-dev:arm64 (1.74.0-17ubuntu2~ppa2) ... Selecting previously unselected package libboost-dev:arm64. Preparing to unpack .../066-libboost-dev_1.74.0.3ubuntu7_arm64.deb ... Unpacking libboost-dev:arm64 (1.74.0.3ubuntu7) ... Selecting previously unselected package libcups2:arm64. Preparing to unpack .../067-libcups2_2.4.2-1ubuntu2_arm64.deb ... Unpacking libcups2:arm64 (2.4.2-1ubuntu2) ... Selecting previously unselected package libdeflate0:arm64. Preparing to unpack .../068-libdeflate0_1.12-1_arm64.deb ... Unpacking libdeflate0:arm64 (1.12-1) ... Selecting previously unselected package libexpat1-dev:arm64. Preparing to unpack .../069-libexpat1-dev_2.4.8-2_arm64.deb ... Unpacking libexpat1-dev:arm64 (2.4.8-2) ... Selecting previously unselected package libfontenc1:arm64. Preparing to unpack .../070-libfontenc1_1%3a1.1.4-1build3_arm64.deb ... Unpacking libfontenc1:arm64 (1:1.1.4-1build3) ... Selecting previously unselected package libgfortran5:arm64. Preparing to unpack .../071-libgfortran5_12.2.0-3ubuntu1_arm64.deb ... Unpacking libgfortran5:arm64 (12.2.0-3ubuntu1) ... Selecting previously unselected package libimagequant0:arm64. Preparing to unpack .../072-libimagequant0_2.17.0-1_arm64.deb ... Unpacking libimagequant0:arm64 (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:arm64. Preparing to unpack .../077-libopenblas0-pthread_0.3.20+ds-2_arm64.deb ... Unpacking libopenblas0-pthread:arm64 (0.3.20+ds-2) ... Selecting previously unselected package liblapack3:arm64. Preparing to unpack .../078-liblapack3_3.10.1-2_arm64.deb ... Unpacking liblapack3:arm64 (3.10.1-2) ... Selecting previously unselected package liblbfgsb0:arm64. Preparing to unpack .../079-liblbfgsb0_3.0+dfsg.3-11_arm64.deb ... Unpacking liblbfgsb0:arm64 (3.0+dfsg.3-11) ... Selecting previously unselected package liblcms2-2:arm64. Preparing to unpack .../080-liblcms2-2_2.13.1-1_arm64.deb ... Unpacking liblcms2-2:arm64 (2.13.1-1) ... Selecting previously unselected package liblerc3:arm64. Preparing to unpack .../081-liblerc3_3.0+ds-1ubuntu1_arm64.deb ... Unpacking liblerc3:arm64 (3.0+ds-1ubuntu1) ... Selecting previously unselected package libopenblas0:arm64. Preparing to unpack .../082-libopenblas0_0.3.20+ds-2_arm64.deb ... Unpacking libopenblas0:arm64 (0.3.20+ds-2) ... Selecting previously unselected package libopenblas-pthread-dev:arm64. Preparing to unpack .../083-libopenblas-pthread-dev_0.3.20+ds-2_arm64.deb ... Unpacking libopenblas-pthread-dev:arm64 (0.3.20+ds-2) ... Selecting previously unselected package libopenblas-dev:arm64. Preparing to unpack .../084-libopenblas-dev_0.3.20+ds-2_arm64.deb ... Unpacking libopenblas-dev:arm64 (0.3.20+ds-2) ... Selecting previously unselected package libpixman-1-0:arm64. Preparing to unpack .../085-libpixman-1-0_0.40.0-1build4_arm64.deb ... Unpacking libpixman-1-0:arm64 (0.40.0-1build4) ... Selecting previously unselected package zlib1g-dev:arm64. Preparing to unpack .../086-zlib1g-dev_1%3a1.2.11.dfsg-4.1ubuntu1_arm64.deb ... Unpacking zlib1g-dev:arm64 (1:1.2.11.dfsg-4.1ubuntu1) ... Selecting previously unselected package libpython3.10-dev:arm64. Preparing to unpack .../087-libpython3.10-dev_3.10.7-1_arm64.deb ... Unpacking libpython3.10-dev:arm64 (3.10.7-1) ... Selecting previously unselected package libpython3-dev:arm64. Preparing to unpack .../088-libpython3-dev_3.10.6-1ubuntu1~ppa1_arm64.deb ... Unpacking libpython3-dev:arm64 (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3.11-stdlib:arm64. Preparing to unpack .../089-libpython3.11-stdlib_3.11.0~rc2-1ubuntu1~ppa1_arm64.deb ... Unpacking libpython3.11-stdlib:arm64 (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3.11:arm64. Preparing to unpack .../090-libpython3.11_3.11.0~rc2-1ubuntu1~ppa1_arm64.deb ... Unpacking libpython3.11:arm64 (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3.11-dev:arm64. Preparing to unpack .../091-libpython3.11-dev_3.11.0~rc2-1ubuntu1~ppa1_arm64.deb ... Unpacking libpython3.11-dev:arm64 (3.11.0~rc2-1ubuntu1~ppa1) ... Selecting previously unselected package libpython3-all-dev:arm64. Preparing to unpack .../092-libpython3-all-dev_3.10.6-1ubuntu1~ppa1_arm64.deb ... Unpacking libpython3-all-dev:arm64 (3.10.6-1ubuntu1~ppa1) ... Selecting previously unselected package libqhull-r8.0:arm64. Preparing to unpack .../093-libqhull-r8.0_2020.2-5_arm64.deb ... Unpacking libqhull-r8.0:arm64 (2020.2-5) ... Selecting previously unselected package libqt5xml5:arm64. Preparing to unpack .../094-libqt5xml5_5.15.6+dfsg-1_arm64.deb ... Unpacking libqt5xml5:arm64 (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5designer5:arm64. Preparing to unpack .../095-libqt5designer5_5.15.6-1build1_arm64.deb ... Unpacking libqt5designer5:arm64 (5.15.6-1build1) ... Selecting previously unselected package libqt5sql5:arm64. Preparing to unpack .../096-libqt5sql5_5.15.6+dfsg-1_arm64.deb ... Unpacking libqt5sql5:arm64 (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5help5:arm64. Preparing to unpack .../097-libqt5help5_5.15.6-1build1_arm64.deb ... Unpacking libqt5help5:arm64 (5.15.6-1build1) ... Selecting previously unselected package libqt5printsupport5:arm64. Preparing to unpack .../098-libqt5printsupport5_5.15.6+dfsg-1_arm64.deb ... Unpacking libqt5printsupport5:arm64 (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5test5:arm64. Preparing to unpack .../099-libqt5test5_5.15.6+dfsg-1_arm64.deb ... Unpacking libqt5test5:arm64 (5.15.6+dfsg-1) ... Selecting previously unselected package libqt5x11extras5:arm64. Preparing to unpack .../100-libqt5x11extras5_5.15.6-1_arm64.deb ... Unpacking libqt5x11extras5:arm64 (5.15.6-1) ... Selecting previously unselected package libraqm0:arm64. Preparing to unpack .../101-libraqm0_0.7.0-4ubuntu1_arm64.deb ... Unpacking libraqm0:arm64 (0.7.0-4ubuntu1) ... Selecting previously unselected package libjbig0:arm64. Preparing to unpack .../102-libjbig0_2.1-3.1build3_arm64.deb ... Unpacking libjbig0:arm64 (2.1-3.1build3) ... Selecting previously unselected package libwebp7:arm64. Preparing to unpack .../103-libwebp7_1.2.2-2_arm64.deb ... Unpacking libwebp7:arm64 (1.2.2-2) ... Selecting previously unselected package libtiff5:arm64. Preparing to unpack .../104-libtiff5_4.4.0-4ubuntu3_arm64.deb ... Unpacking libtiff5:arm64 (4.4.0-4ubuntu3) ... Selecting previously unselected package libunwind8:arm64. Preparing to unpack .../105-libunwind8_1.6.2-0ubuntu1_arm64.deb ... Unpacking libunwind8:arm64 (1.6.2-0ubuntu1) ... Selecting previously unselected package libwebpdemux2:arm64. Preparing to unpack .../106-libwebpdemux2_1.2.2-2_arm64.deb ... Unpacking libwebpdemux2:arm64 (1.2.2-2) ... Selecting previously unselected package libwebpmux3:arm64. Preparing to unpack .../107-libwebpmux3_1.2.2-2_arm64.deb ... Unpacking libwebpmux3:arm64 (1.2.2-2) ... Selecting previously unselected package libxt6:arm64. Preparing to unpack .../108-libxt6_1%3a1.2.1-1_arm64.deb ... Unpacking libxt6:arm64 (1:1.2.1-1) ... Selecting previously unselected package libxmu6:arm64. Preparing to unpack .../109-libxmu6_2%3a1.1.3-3_arm64.deb ... Unpacking libxmu6:arm64 (2:1.1.3-3) ... Selecting previously unselected package libxpm4:arm64. Preparing to unpack .../110-libxpm4_1%3a3.5.12-1build2_arm64.deb ... Unpacking libxpm4:arm64 (1:3.5.12-1build2) ... Selecting previously unselected package libxaw7:arm64. Preparing to unpack .../111-libxaw7_2%3a1.0.14-1_arm64.deb ... Unpacking libxaw7:arm64 (2:1.0.14-1) ... Selecting previously unselected package libxfont2:arm64. Preparing to unpack .../112-libxfont2_1%3a2.0.5-1build1_arm64.deb ... Unpacking libxfont2:arm64 (1:2.0.5-1build1) ... Selecting previously unselected package libxkbfile1:arm64. Preparing to unpack .../113-libxkbfile1_1%3a1.1.0-1build3_arm64.deb ... Unpacking libxkbfile1:arm64 (1:1.1.0-1build3) ... Selecting previously unselected package libxrandr2:arm64. Preparing to unpack .../114-libxrandr2_2%3a1.5.2-2_arm64.deb ... Unpacking libxrandr2:arm64 (2:1.5.2-2) ... Selecting previously unselected package libxsimd-dev:arm64. Preparing to unpack .../115-libxsimd-dev_8.1.0-7_arm64.deb ... Unpacking libxsimd-dev:arm64 (8.1.0-7) ... Selecting previously unselected package libxslt1.1:arm64. Preparing to unpack .../116-libxslt1.1_1.1.35-1_arm64.deb ... Unpacking libxslt1.1:arm64 (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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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:arm64. Preparing to unpack .../171-python3-lxml_4.9.1-1build1_arm64.deb ... Unpacking python3-lxml:arm64 (4.9.1-1build1) ... Selecting previously unselected package python3-lz4. Preparing to unpack .../172-python3-lz4_4.0.0+dfsg-1build1_arm64.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_arm64.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_arm64.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_arm64.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_arm64.deb ... Unpacking python3-kiwisolver (1.3.2-1build2) ... Selecting previously unselected package libopenjp2-7:arm64. Preparing to unpack .../191-libopenjp2-7_2.5.0-1_arm64.deb ... Unpacking libopenjp2-7:arm64 (2.5.0-1) ... Selecting previously unselected package python3-pil:arm64. Preparing to unpack .../192-python3-pil_9.2.0-1build1_arm64.deb ... Unpacking python3-pil:arm64 (9.2.0-1build1) ... Selecting previously unselected package python3-tk:arm64. Preparing to unpack .../193-python3-tk_3.10.7-1_arm64.deb ... Unpacking python3-tk:arm64 (3.10.7-1) ... Selecting previously unselected package python3-pil.imagetk:arm64. Preparing to unpack .../194-python3-pil.imagetk_9.2.0-1build1_arm64.deb ... Unpacking python3-pil.imagetk:arm64 (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_arm64.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:arm64. Preparing to unpack .../199-python3-pandas-lib_1.3.5+dfsg-5ubuntu1~ppa1_arm64.deb ... Unpacking python3-pandas-lib:arm64 (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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.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_arm64.deb ... Unpacking xvfb (2:21.1.4-2ubuntu1) ... Selecting previously unselected package libc-ares2:arm64. Preparing to unpack .../222-libc-ares2_1.18.1-1build1_arm64.deb ... Unpacking libc-ares2:arm64 (1.18.1-1build1) ... Selecting previously unselected package libev4:arm64. Preparing to unpack .../223-libev4_1%3a4.33-1_arm64.deb ... Unpacking libev4:arm64 (1:4.33-1) ... Selecting previously unselected package python3-gevent. Preparing to unpack .../224-python3-gevent_21.8.0-1build1_arm64.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_arm64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up media-types (8.0.0) ... Setting up libpipeline1:arm64 (1.5.6-2) ... Setting up libgraphite2-3:arm64 (1.3.14-1build2) ... Setting up liblcms2-2:arm64 (2.13.1-1) ... Setting up libpixman-1-0:arm64 (0.40.0-1build4) ... Setting up libicu71:arm64 (71.1-3ubuntu1) ... Setting up libwayland-server0:arm64 (1.21.0-1) ... Setting up libxau6:arm64 (1:1.0.9-1build5) ... Setting up libdouble-conversion3:arm64 (3.2.1-1) ... Setting up libpsl5:arm64 (0.21.0-1.2build2) ... Setting up libboost1.74-dev:arm64 (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:arm64 (2.74.0-3) ... No schema files found: doing nothing. Setting up libglvnd0:arm64 (1.5.0-1) ... Setting up libev4:arm64 (1:4.33-1) ... Setting up fonts-lyx (2.3.6.1-1) ... Setting up libdebhelper-perl (13.9.1ubuntu1) ... Setting up libbrotli1:arm64 (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:arm64 (1.49.0-1) ... Setting up libmagic1:arm64 (1:5.41-4) ... Setting up libdeflate0:arm64 (1.12-1) ... Setting up gettext-base (0.21-8) ... Setting up m4 (1.4.19-1) ... Setting up libqhull-r8.0:arm64 (2020.2-5) ... Setting up xkb-data (2.35.1-1) ... Setting up libc-ares2:arm64 (1.18.1-1build1) ... Setting up file (1:5.41-4) ... Setting up libunwind8:arm64 (1.6.2-0ubuntu1) ... Setting up libjbig0:arm64 (2.1-3.1build3) ... Setting up libpcre2-16-0:arm64 (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:arm64 (2.1.28+dfsg-6ubuntu2) ... Setting up unicode-data (15.0.0-1) ... Setting up libxsimd-dev:arm64 (8.1.0-7) ... Setting up libfontenc1:arm64 (1:1.1.4-1build3) ... Setting up autotools-dev (20220109.1) ... Setting up libblas3:arm64 (3.10.1-2) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode Setting up libexpat1-dev:arm64 (2.4.8-2) ... Setting up libfreetype6:arm64 (2.12.1+dfsg-3) ... Setting up libx11-data (2:1.8.1-2) ... Setting up librtmp1:arm64 (2.4+20151223.gitfa8646d.1-2build4) ... Setting up liblerc3:arm64 (3.0+ds-1ubuntu1) ... Setting up libavahi-common-data:arm64 (0.8-6ubuntu1) ... Setting up libdbus-1-3:arm64 (1.14.0-2ubuntu2) ... Setting up libfribidi0:arm64 (1.0.8-2.1ubuntu1) ... Setting up libboost-regex1.74.0:arm64 (1.74.0-17ubuntu2~ppa2) ... Setting up libimagequant0:arm64 (2.17.0-1) ... Setting up libtcl8.6:arm64 (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:arm64 (1:3.6.0-7ubuntu1) ... Setting up libjpeg-turbo8:arm64 (2.1.2-0ubuntu1) ... Setting up libglapi-mesa:arm64 (22.2.1-1ubuntu1) ... Setting up libsasl2-2:arm64 (2.1.28+dfsg-6ubuntu2) ... Setting up libssh-4:arm64 (0.9.6-2build1) ... Setting up libgfortran5:arm64 (12.2.0-3ubuntu1) ... Setting up libmtdev1:arm64 (1.1.6-1build4) ... Setting up autoconf (2.71-2) ... Setting up libwebp7:arm64 (1.2.2-2) ... Setting up zlib1g-dev:arm64 (1:1.2.11.dfsg-4.1ubuntu1) ... Setting up libmd0:arm64 (1.0.4-2) ... Setting up libxshmfence1:arm64 (1.3-1build4) ... Setting up libuchardet0:arm64 (0.0.7-1build2) ... Setting up libmpdec3:arm64 (2.5.1-2build2) ... Setting up libmd4c0:arm64 (0.4.8-1) ... Setting up libopenjp2-7:arm64 (2.5.0-1) ... Setting up libsub-override-perl (0.09-3) ... Setting up libharfbuzz0b:arm64 (2.7.4-1ubuntu5) ... Setting up libboost-dev:arm64 (1.74.0.3ubuntu7) ... Setting up libpython3.11-minimal:arm64 (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:arm64 (1.2.2-2) ... Setting up libbsd0:arm64 (0.11.6-1) ... Setting up libdrm-common (2.4.113-2) ... Setting up libelf1:arm64 (0.187-4) ... Setting up libxfont2:arm64 (1:2.0.5-1build1) ... Setting up libevdev2:arm64 (1.13.0+dfsg-1) ... Setting up libxml2:arm64 (2.9.14+dfsg-1build1) ... Setting up libgudev-1.0-0:arm64 (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:arm64 (1.4.1-1) ... Setting up libwayland-client0:arm64 (1.21.0-1) ... Setting up libjpeg8:arm64 (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:arm64 (2:1.0.10-1build2) ... Setting up libdw1:arm64 (0.187-4) ... Setting up libxdmcp6:arm64 (1:1.1.3-0ubuntu5) ... Setting up liblapack3:arm64 (3.10.1-2) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode Setting up libxcb1:arm64 (1.15-1) ... Setting up gettext (0.21-8) ... Setting up libopenblas0-pthread:arm64 (0.3.20+ds-2) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/openblas-pthread/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode update-alternatives: using /usr/lib/aarch64-linux-gnu/openblas-pthread/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode update-alternatives: using /usr/lib/aarch64-linux-gnu/openblas-pthread/libopenblas.so.0 to provide /usr/lib/aarch64-linux-gnu/libopenblas.so.0 (libopenblas.so.0-aarch64-linux-gnu) in auto mode Setting up libxcb-xfixes0:arm64 (1.15-1) ... Setting up txt2man (1.7.1-2) ... Setting up libxcb-xinput0:arm64 (1.15-1) ... Setting up libdebuginfod-common (0.187-4) ... Setting up libtool (2.4.7-4) ... Setting up libxcb-render0:arm64 (1.15-1) ... Setting up libwacom9:arm64 (2.4.0-3) ... Setting up fontconfig-config (2.13.1-4.4ubuntu1) ... Setting up libxcb-glx0:arm64 (1.15-1) ... Setting up libwebpdemux2:arm64 (1.2.2-2) ... Setting up libpython3.11-stdlib:arm64 (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up libedit2:arm64 (3.1-20210910-1build1) ... Setting up libxcb-keysyms1:arm64 (0.4.0-1build3) ... Setting up libxcb-shape0:arm64 (1.15-1) ... Setting up libavahi-common3:arm64 (0.8-6ubuntu1) ... Setting up libxcb-render-util0:arm64 (0.3.9-1build3) ... Setting up libxcb-shm0:arm64 (1.15-1) ... Setting up libxcb-icccm4:arm64 (0.4.1-1.1build2) ... Setting up libldap-2.5-0:arm64 (2.5.13+dfsg-1ubuntu1) ... Setting up libxcb-util1:arm64 (0.4.0-1build2) ... Setting up libinput-bin (1.21.0-1) ... Setting up libxcb-xkb1:arm64 (1.15-1) ... Setting up libxcb-image0:arm64 (0.4.0-2) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libxcb-present0:arm64 (1.15-1) ... Setting up libpython3.10-stdlib:arm64 (3.10.7-1) ... Setting up dh-autoreconf (20) ... Setting up libxcb-xinerama0:arm64 (1.15-1) ... Setting up libjs-jquery-ui (1.13.2+dfsg-1) ... Setting up libxcb-sync1:arm64 (1.15-1) ... Setting up libraqm0:arm64 (0.7.0-4ubuntu1) ... Setting up shared-mime-info (2.2-1) ... Setting up libxkbcommon-x11-0:arm64 (1.4.1-1) ... Setting up libqt5core5a:arm64 (5.15.6+dfsg-1) ... Setting up libbabeltrace1:arm64 (1.5.8-2build2) ... Setting up libjs-sphinxdoc (4.5.0-4) ... Setting up libxcb-dri2-0:arm64 (1.15-1) ... Setting up dh-strip-nondeterminism (1.13.0-1) ... Setting up libdrm2:arm64 (2.4.113-2) ... Setting up dwz (0.14-1build2) ... Setting up libopenblas0:arm64 (0.3.20+ds-2) ... Setting up groff-base (1.22.4-8build1) ... Setting up libqt5dbus5:arm64 (5.15.6+dfsg-1) ... Setting up libxcb-randr0:arm64 (1.15-1) ... Setting up libllvm15:arm64 (1:15.0.2-1) ... Setting up libxslt1.1:arm64 (1.1.35-1) ... Setting up debugedit (1:5.0-5) ... Setting up libx11-6:arm64 (2:1.8.1-2) ... Setting up libtiff5:arm64 (4.4.0-4ubuntu3) ... Setting up libxkbfile1:arm64 (1:1.1.0-1build3) ... Setting up libqt5test5:arm64 (5.15.6+dfsg-1) ... Setting up libsm6:arm64 (2:1.2.3-1build2) ... Setting up libavahi-client3:arm64 (0.8-6ubuntu1) ... Setting up libxmuu1:arm64 (2:1.1.3-3) ... Setting up libpython3-stdlib:arm64 (3.10.6-1ubuntu1~ppa1) ... Setting up liblbfgsb0:arm64 (3.0+dfsg.3-11) ... Setting up libdrm-amdgpu1:arm64 (2.4.113-2) ... Setting up libopenblas-pthread-dev:arm64 (0.3.20+ds-2) ... update-alternatives: using /usr/lib/aarch64-linux-gnu/openblas-pthread/libblas.so to provide /usr/lib/aarch64-linux-gnu/libblas.so (libblas.so-aarch64-linux-gnu) in auto mode update-alternatives: using /usr/lib/aarch64-linux-gnu/openblas-pthread/liblapack.so to provide /usr/lib/aarch64-linux-gnu/liblapack.so (liblapack.so-aarch64-linux-gnu) in auto mode update-alternatives: using /usr/lib/aarch64-linux-gnu/openblas-pthread/libopenblas.so to provide /usr/lib/aarch64-linux-gnu/libopenblas.so (libopenblas.so-aarch64-linux-gnu) in auto mode Setting up libxcb-dri3-0:arm64 (1.15-1) ... Setting up libinput10:arm64 (1.21.0-1) ... Setting up libx11-xcb1:arm64 (2:1.8.1-2) ... Setting up python3.11 (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up libpython3.10:arm64 (3.10.7-1) ... Setting up libdrm-nouveau2:arm64 (2.4.113-2) ... Setting up python3.10 (3.10.7-1) ... Setting up libpython3.11:arm64 (3.11.0~rc2-1ubuntu1~ppa1) ... Setting up libxpm4:arm64 (1:3.5.12-1build2) ... Setting up libxrender1:arm64 (1:0.9.10-1.1) ... Setting up libgbm1:arm64 (22.2.1-1ubuntu1) ... Setting up libdrm-radeon1:arm64 (2.4.113-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libgl1-mesa-dri:arm64 (22.2.1-1ubuntu1) ... Setting up libxext6:arm64 (2:1.3.4-1build1) ... Setting up libcurl3-gnutls:arm64 (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:arm64 (5.15.6+dfsg-1) ... Setting up python3-tz (2022.2.1-1) ... Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... Setting up libqt5sql5:arm64 (5.15.6+dfsg-1) ... Setting up python3-six (1.16.0-4) ... Setting up libopenblas-dev:arm64 (0.3.20+ds-2) ... Setting up python3-decorator (4.4.2-0ubuntu1) ... Setting up libqt5xml5:arm64 (5.15.6+dfsg-1) ... Setting up libegl-mesa0:arm64 (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:arm64 (1:6.0.0-1) ... Setting up libpython3.11-dev:arm64 (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:arm64 (2:1.5.2-2) ... Setting up cython3 (0.29.30-1ubuntu2) ... Setting up libpython3.10-dev:arm64 (3.10.7-1) ... Setting up libxt6:arm64 (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:arm64 (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:arm64 (4.9.1-1build1) ... Setting up python3-traitlets (5.3.0-1) ... Setting up libegl1:arm64 (1.5.0-1) ... Setting up python3-dateutil (2.8.1-6) ... Setting up libxss1:arm64 (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:arm64 (2:1.1.3-3) ... Setting up python3-django (3:3.2.15-1ubuntu1) ... Setting up libglx-mesa0:arm64 (22.2.1-1ubuntu1) ... Setting up python3-jaraco.classes (3.2.1-3) ... Setting up libpython3-dev:arm64 (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:arm64 (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:arm64 (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:arm64 (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:arm64 (1.5.0-1) ... Setting up python3-cheroot (8.6.0+ds1-3ubuntu1) ... Setting up libpython3-all-dev:arm64 (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:arm64 (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:arm64 (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:arm64 (2.13.1-4.4ubuntu1) ... Setting up fontconfig (2.13.1-4.4ubuntu1) ... Regenerating fonts cache... done. Setting up libxft2:arm64 (2.3.4-1) ... Setting up libtk8.6:arm64 (8.6.12-1build1) ... Setting up libqt5gui5:arm64 (5.15.6+dfsg-1) ... Setting up libqt5widgets5:arm64 (5.15.6+dfsg-1) ... Setting up libqt5help5:arm64 (5.15.6-1build1) ... Setting up libqt5printsupport5:arm64 (5.15.6+dfsg-1) ... Setting up libqt5x11extras5:arm64 (5.15.6-1) ... Setting up tk8.6-blt2.5 (2.5.3+dfsg-4.1build2) ... Setting up libqt5designer5:arm64 (5.15.6-1build1) ... Setting up blt (2.5.3+dfsg-4.1build2) ... Setting up libqt5svg5:arm64 (5.15.6-1) ... Setting up python3-tk:arm64 (3.10.7-1) ... Setting up python3-pil.imagetk:arm64 (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 (arm64 included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:09:03 UTC 2022 arm64 (aarch64) 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-aarch64-linux-gnu_2.39-3ubuntu1 binutils-common_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 libgprofng0_2.39-3ubuntu1 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 libhwasan0_12.2.0-3ubuntu1 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 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-24561509 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-24561509 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-24561509 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 arm64 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-arm64' 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-arm64' 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 -O2 -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: aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -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-aarch64-3.10 creating build/temp.linux-aarch64-3.10/_pydevd_bundle compile options: '-DPy_BUILD_CORE_MODULE=1 -I/usr/include/python3.10 -c' extra options: '-flto' aarch64-linux-gnu-gcc: _pydevd_bundle/pydevd_cython.c creating build/lib.linux-aarch64-3.10 creating build/lib.linux-aarch64-3.10/_pydevd_bundle aarch64-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 -O2 -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-aarch64-3.10/_pydevd_bundle/pydevd_cython.o -o build/lib.linux-aarch64-3.10/_pydevd_bundle/pydevd_cython.cpython-310-aarch64-linux-gnu.so -flto copying build/lib.linux-aarch64-3.10/_pydevd_bundle/pydevd_cython.cpython-310-aarch64-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: aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -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-aarch64-3.10/_pydevd_frame_eval compile options: '-DPy_BUILD_CORE_MODULE=1 -I/usr/include/python3.10 -c' extra options: '-flto' aarch64-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-aarch64-3.10/_pydevd_frame_eval aarch64-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 -O2 -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-aarch64-3.10/_pydevd_frame_eval/pydevd_frame_evaluator.o -o build/lib.linux-aarch64-3.10/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-aarch64-linux-gnu.so -flto copying build/lib.linux-aarch64-3.10/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-aarch64-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_override.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_ipython_console.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_log.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_versioncheck.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/pydev_imports.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_calltip_util.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_filesystem_encoding.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_log.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/__init__.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_tipper_common.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_console_utils.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_ipython_console_011.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_getopt.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_pytest2.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_parallel.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_nose.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.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/__init__.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles creating /<>/.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_daemon_thread.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_frame_utils.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_runpy.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_constants.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_additional_thread_info_regular.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_safe_repr.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_frame.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_trace_api.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_process_net_command_json.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_signature.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_io.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_save_locals.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_custom_frames.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_net_command.py -> /<>/.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_resolver.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_suspended_frames.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_vars.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_extension_utils.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/__init__.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_source_mapping.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_collect_bytecode_info.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_command_line_handling.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_process_net_command.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_gevent_integration.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_filtering.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_dont_trace_files.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_json_debug_options.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_cython_wrapper.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/pydevd_base_schema.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/__main__pydevd_gen_debug_adapter_protocol.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 copying _pydevd_bundle/_debug_adapter/__init__.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/__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 copying _pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.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/__init__.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/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/inputhookwx.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/inputhookqt4.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/inputhookpyglet.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/matplotlibtools.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/qt_for_kernel.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/__init__.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/inputhookglut.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhooktk.py -> /<>/.pybuild/cpython3_3.11_pydevd/build/pydev_ipython copying pydev_ipython/inputhook.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/add_code_to_python_process.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/_test_attach_to_process_linux.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/_test_attach_to_process.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 creating /<>/.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/django_debug.py -> /<>/.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/__init__.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_plugin_numpy_types.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/__init__.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/pydevd_plugins_django_form_str.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-arm64-3.11 creating build/temp.linux-arm64-3.11/_pydevd_bundle aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -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-arm64-3.11/_pydevd_bundle/pydevd_cython.o -flto aarch64-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 -O2 -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-arm64-3.11/_pydevd_bundle/pydevd_cython.o -o /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_cython.cpython-311-aarch64-linux-gnu.so -flto building '_pydevd_frame_eval.pydevd_frame_evaluator' extension creating build/temp.linux-arm64-3.11/_pydevd_frame_eval aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -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-arm64-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_override.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_ipython_console.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_log.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_versioncheck.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/pydev_imports.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_calltip_util.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_filesystem_encoding.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_log.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/__init__.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_tipper_common.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_console_utils.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_ipython_console_011.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_getopt.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_pytest2.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_parallel.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_nose.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.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/__init__.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles creating /<>/.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_daemon_thread.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_frame_utils.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_runpy.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_constants.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_additional_thread_info_regular.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_safe_repr.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_frame.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_trace_api.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_process_net_command_json.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_signature.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_io.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_save_locals.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_custom_frames.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_net_command.py -> /<>/.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_resolver.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_suspended_frames.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_vars.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_extension_utils.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/__init__.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_source_mapping.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_collect_bytecode_info.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_command_line_handling.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_process_net_command.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_gevent_integration.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_filtering.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_dont_trace_files.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_json_debug_options.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_cython_wrapper.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/pydevd_base_schema.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/__main__pydevd_gen_debug_adapter_protocol.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 copying _pydevd_bundle/_debug_adapter/__init__.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/__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 copying _pydevd_bundle/pydevd_concurrency_analyser/pydevd_concurrency_logger.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/__init__.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/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/inputhookwx.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/inputhookqt4.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/inputhookpyglet.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/matplotlibtools.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/qt_for_kernel.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/__init__.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/inputhookglut.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhooktk.py -> /<>/.pybuild/cpython3_3.10_pydevd/build/pydev_ipython copying pydev_ipython/inputhook.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/add_code_to_python_process.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/_test_attach_to_process_linux.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/_test_attach_to_process.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 creating /<>/.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/django_debug.py -> /<>/.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/__init__.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_plugin_numpy_types.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/__init__.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/pydevd_plugins_django_form_str.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-arm64-3.10 creating build/temp.linux-arm64-3.10/_pydevd_bundle aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -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-arm64-3.10/_pydevd_bundle/pydevd_cython.o -flto aarch64-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 -O2 -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-arm64-3.10/_pydevd_bundle/pydevd_cython.o -o /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_bundle/pydevd_cython.cpython-310-aarch64-linux-gnu.so -flto building '_pydevd_frame_eval.pydevd_frame_evaluator' extension creating build/temp.linux-arm64-3.10/_pydevd_frame_eval aarch64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -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-arm64-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); | ^ aarch64-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 -O2 -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-arm64-3.10/_pydevd_frame_eval/pydevd_frame_evaluator.o -o /<>/.pybuild/cpython3_3.10_pydevd/build/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-aarch64-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 *** 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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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 [ 8%] 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 [ 16%] 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 [ 17%] 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 [ 24%] 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 [ 25%] 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 [ 26%] 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 [ 33%] 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 [ 34%] 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 [ 35%] 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 [ 41%] 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 [ 42%] 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 [ 43%] 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 [ 44%] 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 [ 49%] 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 [ 50%] 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 [ 51%] 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 [ 52%] 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 [ 53%] 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 [ 58%] 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) [ 59%] 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 [ 60%] 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 [ 61%] 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_code_reload PASSED [ 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 [ 64%] 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 [ 65%] 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 [ 66%] 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 [ 73%] 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 [ 74%] 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 [ 82%] 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 [ 83%] 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) [ 91%] 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 0xffff642da310> 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 0xffff642da310> @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 0xffff642c0720> 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 0xffff642c0720> 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 0xffff642da310> @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_8700.9303.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.08s - 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', '39115', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 9303 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 39115 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 34346) 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_9303_id_281473048383824 Test Reader Thread Received 104 6 pid_9303_id_281473048383824 Message returned in get_next_message(): 104 6 pid_9303_id_281473048383824 -- 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_9303_id_281473048383824' 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 0xffff277211d0> 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 0xffff277211d0> @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 0xffff642e9440> 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 0xffff642e9440> 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 0xffff277211d0> @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_8700.9315.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.08s - 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', '42525', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 9315 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 42525 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 38462) 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_9315_id_281473229853008 Test Reader Thread Received 104 6 pid_9315_id_281473229853008 Message returned in get_next_message(): 104 6 pid_9315_id_281473229853008 -- 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_9315_id_281473229853008' 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 0xffff48425f50> 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 0xffff48425f50> @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 0xffff6c144860> 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 0xffff6c144860> 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 0xffff48425f50> @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_8700.9327.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.08s - 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', '42703', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 9327 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 42703 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 57896) 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_9327_id_281473210323280 Test Reader Thread Received 104 6 pid_9327_id_281473210323280 Message returned in get_next_message(): 104 6 pid_9327_id_281473210323280 -- 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_9327_id_281473210323280' 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 0xffff48101090> 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 0xffff48101090> @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 0xffff64343420> 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 0xffff64343420> 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 0xffff48101090> @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_8700.9339.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.08s - 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', '36599', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 9339 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 36599 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 32902) 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_9339_id_281473510019408 Test Reader Thread Received 104 6 pid_9339_id_281473510019408 Message returned in get_next_message(): 104 6 pid_9339_id_281473510019408 -- 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_9339_id_281473510019408' 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 0xffff663e2190> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff641cc360> 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 0xffff663e2190> 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 0xffff663e2190> 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_8700.10006.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.08s - 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', '37025', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 10006 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 37025 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 44156) 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 0xffff642d8e10> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff641cde40> 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 0xffff642d8e10> 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 0xffff642d8e10> 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_8700.10209.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.08s - 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', '44493', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 10209 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 44493 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 45402) 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_10209_id_281473601442384 Test Reader Thread Received 104 6 pid_10209_id_281473601442384 ----------------------------- 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 0xffff641b9dd0> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff641cd620> 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 0xffff641b9dd0> 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 0xffff641b9dd0> 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_8700.10222.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.08s - 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', '35359', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 10222 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 35359 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 42264) 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_10222_id_281473517293968 Test Reader Thread Received 104 6 pid_10222_id_281473517293968 ----------------------------- 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', '37459'] 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 0xffff64180c90> 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 0xffff641cf880> 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 0xffff64180c90> 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 0xffff641cde40> 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 0xffff64180c90> 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 37459 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_no_threads_0/pydevd_debug_file_8700.txt Both processes started Running: gdb --nw --nh --nx --pid 10235 --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=37459, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '34747'] 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 0xffff64267410> 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 0xffff641f80e0> 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 0xffff64267410> 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 0xffff641f8540> 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 0xffff64267410> 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 34747 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_no_threads_1/pydevd_debug_file_8700.txt Both processes started Running: gdb --nw --nh --nx --pid 10248 --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=34747, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '36053'] 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 0xffff48676690> 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 0xffff641f9d00> 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 0xffff48676690> @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 0xffff641f8a40> 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 0xffff48676690> @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: 281472917964512\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281472917964512\n', 'Secondary thread ident should be: 281472911827360\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: 281472917964512 E Secondary thread ident should be: 281472911827360 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 36053 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_halted0/pydevd_debug_file_8700.txt Both processes started stdout: Main thread ident should be: 281472917964512 stdout: Secondary thread ident should be: 281472911827360 Running: gdb --nw --nh --nx --pid 10261 --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=36053, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '38093', '--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 0xffff6c152190> 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 0xffff641fa0c0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff641fa2a0> 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 0xffff6c152190> 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 0xffff6c152190> 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_10329_id_281473157638032 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_8700.10329.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.08s - 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:38093 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.02s - 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.09s - 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 1.47s - 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 281473164605152)>, thread id: pid_10329_id_281473157638032, id(thread): 281473157638032 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_10329_id_281473157638032<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_10329_id_281473157638032 E E 0.00s - Resuming threads: pid_10329_id_281473157638032 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_10329_id_281473157638032 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281473164605152)> (pid_10329_id_281473157638032) 281473157638032 E 0.30s - 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.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 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.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 - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-0/test_remote_debugger_multi_pro0/pydevd_debug_file_8700.10345.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.08s - 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 38093 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-0/test_remote_debugger_multi_pro0/pydevd_debug_file_8700.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 36286) 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_10329_id_281473157638032 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 6 pid_10329_id_281473157638032 -1 Test Reader Thread Received 106 6 pid_10329_id_281473157638032 -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', '38921'] 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 0xffff6c152b50> 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 0xffff641f9440>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff641f9a80> 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 0xffff6c152b50> 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 0xffff6c152b50> 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_10347_id_281473110058832 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_8700.10347.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.08s - 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:38921 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.02s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.09s - 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 281473117021920)>, thread id: pid_10347_id_281473110058832, id(thread): 281473110058832 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_10347_id_281473110058832<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_10347_id_281473110058832 E E 0.00s - Resuming threads: pid_10347_id_281473110058832 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_10347_id_281473110058832 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281473117021920)> (pid_10347_id_281473110058832) 281473110058832 E 0.29s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_10347_id_281473110058832 E E 0.29s - 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.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 - WriterThread: CMD_EXIT received E 0.01s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish 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 - 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_pro1/pydevd_debug_file_8700.10363.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.08s - 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 38921 Logging to: /tmp/pytest-of-buildd/pytest-0/test_remote_debugger_multi_pro1/pydevd_debug_file_8700.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 36294) 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 processTest Writer Thread Written CMD_THREAD_RUN: 106 5 pid_10347_id_281473110058832 stdout: after pydevd.settrace Test Reader Thread Received 106 8 pid_10347_id_281473110058832 -1 Test Reader Thread Received 106 8 pid_10347_id_281473110058832 -1 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_10347_id_281473110058832 Test Reader Thread Received 104 10 pid_10347_id_281473110058832 ----------------------------- 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', '37249'] 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 0xffff486b9d50> 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 0xffff485da660> 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 0xffff486b9d50> 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 0xffff485daca0> 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 0xffff486b9d50> 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 37249 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_True_0/pydevd_debug_file_8700.txt Both processes started Running: gdb --nw --nh --nx --pid 13468 --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=37249, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '45695'] 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 0xffff483b7810> 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 0xffff4865cf40> 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 0xffff483b7810> 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 0xffff4865e7a0> 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 0xffff483b7810> 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 45695 Logging to: /tmp/pytest-of-buildd/pytest-0/test_attach_to_pid_False_0/pydevd_debug_file_8700.txt Both processes started Running: gdb --nw --nh --nx --pid 13481 --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=45695, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '40953'] 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 0xffff663e5910> 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 0xffff4865ed40> 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 0xffff663e5910> 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 0xffff78974d60> 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 0xffff485d9f80> 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 0xffff663e5910> 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_8700.13510.txt ------------------ E E 0.01s - 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.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', '40953'] 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:40953 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": 13510, "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.01s - 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 281473057134304)> 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 281473057134304)>, thread id: pid_13510_id_281473050460432, id(thread): 281473050460432 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 281473057134304)> (pid_13510_id_281473050460432) 281473050460432 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.30s - 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.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 - 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 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 - 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() E E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi0/pydevd_debug_file_8700.13527.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 40953 Logging to: /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi0/pydevd_debug_file_8700.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 53896) 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": 13510, "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": 13510, "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": 13510, "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 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} Test Reader Thread Received Content-Length: 126 stdout: after pydevd.settrace 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 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 {"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', '34029', '-', '-', ...] 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 0xffff24644b50> 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 0xffff4865e0c0> 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 0xffff24644b50> 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 0xffff78974d60> 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 0xffff485dac00> 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 0xffff24644b50> 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-0/test_subprocess_pydevd_customi1/pydevd_debug_file_8700.13546.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.08s - 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-0/test_subprocess_pydevd_customi1/pydevd_debug_file_8700.13529.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.08s - 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', '34029', '-', '-', '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:34029 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": 13529, "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 281473105458912)> 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 281473105458912)>, thread id: pid_13529_id_281473098760464, id(thread): 281473098760464 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 281473105458912)> (pid_13529_id_281473098760464) 281473098760464 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 - 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.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 - 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 - 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 34029 - - 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_8700.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 60206) 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": 13529, "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": 13529, "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": 13529, "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 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', '42823', '-', '-', ...] 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 0xffff25622f50> 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 0xffff480f8b80> 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 0xffff25622f50> 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 0xffff78974d60> 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 0xffff480f8f40> 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 0xffff25622f50> 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_8700.13548.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.08s - 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', '42823', '-', '-', '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:42823 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": 13548, "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 281473088333536)> 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 281473088333536)>, thread id: pid_13548_id_281473081655568, id(thread): 281473081655568 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 281473088333536)> (pid_13548_id_281473081655568) 281473081655568 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 - 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 (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 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 - 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.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 - 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() E E -------------------- /tmp/pytest-of-buildd/pytest-0/test_subprocess_pydevd_customi2/pydevd_debug_file_8700.13565.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.08s - 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 42823 - - 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_8700.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 36012) 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": 13548, "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": 13548, "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": 13548, "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} Test Reader Thread Received Content-Length: 126 Test Reader Thread Received stdout: after pydevd.settrace 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 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 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 0xffff2552b150> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff480f94e0> 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 0xffff2552b150> 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 0xffff2552b150> 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_8700.13567.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.08s - 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', '35623', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 13567 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 35623 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 47976) 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": 13567, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "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_subprocess_and_fork.py", "systemProcessId": 13567, "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": 13567, "isLocalProcess": true, "startMethod": "launch"}, "seq": 4, "pydevd_cmd_id": 204}' 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 0xffff6423d450> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0xffff485da8e0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff485dbc40> key = 'update_command_line_args' value = .update_command_line_args at 0xffff485da8e0> 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 0xffff6423d450> 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 0xffff6423d450> 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_8700.13582.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.08s - 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', '36445', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 13582 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 36445 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 34290) 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": 13582, "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": 13582, "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": 13582, "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 0xffff6418ffd0> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0xffff4809a520>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff4809a200> key = 'get_environ' value = .get_environ at 0xffff4809a520> 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 0xffff6418ffd0> 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 0xffff6418ffd0> 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_8700.14265.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.14265.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_8700.14254.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.08s - 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', '42327', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 14254 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_8700.14265.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 42327 --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_8700.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 38286) 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": 14254, "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": 14254, "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": 14254, "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.14265.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, 636 passed, 133 skipped, 7 deselected, 15 warnings in 976.37s (0:16:16) = , 1)> , 1)> , 1)> , 1)> =============================================================================== pydev pyunit runner: Threads still found running after tests finished ================================= Thread Dump ================================= ------------------------------------------------------------------------------- Thread Thread-1539 (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 281470371033504 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 281470387941792 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-1524 (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 281471956808096 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 281472426570144 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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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) [ 8%] 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) [ 16%] 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) [ 17%] 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) [ 24%] 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) [ 25%] 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) [ 26%] 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) [ 33%] 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) [ 34%] 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) [ 35%] 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) [ 41%] 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) [ 42%] 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) [ 43%] 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) [ 44%] 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) [ 49%] 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) [ 50%] 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) [ 51%] 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) [ 52%] 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) [ 53%] 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) [ 58%] 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) [ 59%] 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) [ 60%] 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) [ 61%] 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_code_reload SKIPPED (Test passed in previous runs) [ 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 [ 64%] 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) [ 65%] 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) [ 66%] 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) [ 73%] 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) [ 74%] 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) [ 82%] 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) [ 83%] 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) [ 91%] 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 0xffff8f0dffd0> 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 0xffff8f0dffd0> @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 0xffff8f0e77e0> 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 0xffff8f0e77e0> 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 0xffff8f0dffd0> @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_14321.14328.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.08s - 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', '42631', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 14328 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 42631 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 49316) 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_14328_id_281473522798992 Test Reader Thread Received 104 6 pid_14328_id_281473522798992 Message returned in get_next_message(): 104 6 pid_14328_id_281473522798992 -- 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_14328_id_281473522798992' 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 0xffff8c704e90> 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 0xffff8c704e90> @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 0xffff8cf32f20> 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 0xffff8cf32f20> 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 0xffff8c704e90> @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_14321.14340.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.08s - 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', '42703', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 14340 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 42703 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 58024) 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_14340_id_281473446777232 Test Reader Thread Received 104 6 pid_14340_id_281473446777232 Message returned in get_next_message(): 104 6 pid_14340_id_281473446777232 -- 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_14340_id_281473446777232' 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 0xffff8cc09090> 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 0xffff8cc09090> @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 0xffff8cf33e20> 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 0xffff8cf33e20> 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 0xffff8cc09090> @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_14321.14353.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.08s - 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', '37311', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 14353 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 37311 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 34752) 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_14353_id_281473811026320 Test Reader Thread Received 104 6 pid_14353_id_281473811026320 Message returned in get_next_message(): 104 6 pid_14353_id_281473811026320 -- 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_14353_id_281473811026320' 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 0xffff8c801150> 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 0xffff8c801150> @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 0xffff8cf32840> 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 0xffff8cf32840> 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 0xffff8c801150> @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_14321.14365.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.08s - 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', '45039', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 14365 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 45039 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 57092) 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_14365_id_281472824381840 Test Reader Thread Received 104 6 pid_14365_id_281472824381840 Message returned in get_next_message(): 104 6 pid_14365_id_281472824381840 -- 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_14365_id_281472824381840' 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 0xffff8cc58450> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8d00e980> 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 0xffff8cc58450> 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 0xffff8cc58450> 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_14321.14377.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.08s - 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', '41599', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 14377 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 41599 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 54984) 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 0xffff8f0b1d50> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8d00da80> 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 0xffff8f0b1d50> 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 0xffff8f0b1d50> 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_14321.14390.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.08s - 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', '42469', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 14390 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 42469 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 33744) 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_14390_id_281472863768976 Test Reader Thread Received 104 6 pid_14390_id_281472863768976 ----------------------------- 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 0xffff8cde4d50> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8d00f420> 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 0xffff8cde4d50> 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 0xffff8cde4d50> 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_14321.14403.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.08s - 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', '41065', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 14403 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 41065 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 55796) 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_14403_id_281473860178320 Test Reader Thread Received 104 6 pid_14403_id_281473860178320 ----------------------------- 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', '45989'] 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 0xffff8f104250> 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 0xffff8cfa82c0> 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 0xffff8f104250> 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 0xffff8cfa89a0> 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 0xffff8f104250> 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 45989 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_no_threads_0/pydevd_debug_file_14321.txt Both processes started Running: gdb --nw --nh --nx --pid 14416 --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=45989, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '33731'] 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 0xffff8f0bfc50> 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 0xffff8d00f560> 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 0xffff8f0bfc50> 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 0xffff8d00c900> 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 0xffff8f0bfc50> 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 33731 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_no_threads_1/pydevd_debug_file_14321.txt Both processes started Running: gdb --nw --nh --nx --pid 14429 --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=33731, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '44157'] 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 0xffff8c55c390> 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 0xffff8cfaa660> 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 0xffff8c55c390> @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 0xffff8cfaa980> 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 0xffff8c55c390> @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: 281473857722080\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281473857722080\n', 'Secondary thread ident should be: 281473851613600\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: 281473857722080 E Secondary thread ident should be: 281473851613600 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 44157 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_halted0/pydevd_debug_file_14321.txt Both processes started stdout: Main thread ident should be: 281473857722080 stdout: Secondary thread ident should be: 281473851613600 Running: gdb --nw --nh --nx --pid 14442 --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=44157, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '40893', '--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 0xffff8c875950> 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 0xffff8cfa9da0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8cfaa020> 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 0xffff8c875950> 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 0xffff8c875950> 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_14456_id_281473103178000 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_14321.14456.txt ------------------ E E 0.01s - 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.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:40893 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.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 - 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 281473110177504)>, thread id: pid_14456_id_281473103178000, id(thread): 281473103178000 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_14456_id_281473103178000<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_14456_id_281473103178000 E E 0.00s - Resuming threads: pid_14456_id_281473103178000 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_14456_id_281473103178000 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281473110177504)> (pid_14456_id_281473103178000) 281473103178000 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 - No threads alive, finishing debug session 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 - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - WriterThread: CMD_EXIT received E 0.00s - pydevd.CommandThread received kill signal E 0.00s - WriterThread: exit E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish 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_pro0/pydevd_debug_file_14321.14472.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.08s - 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 40893 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-1/test_remote_debugger_multi_pro0/pydevd_debug_file_14321.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 33472) 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 processTest Writer Thread Written CMD_THREAD_RUN: 106 9 pid_14456_id_281473103178000 stdout: after pydevd.settrace Test Reader Thread Received 106 6 pid_14456_id_281473103178000 -1 stdout: before call Test Reader Thread Received 106 6 pid_14456_id_281473103178000 -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', '44239'] 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 0xffff8f0cbc50> 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 0xffff8cfaa520>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8cfa8b80> 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 0xffff8f0cbc50> 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 0xffff8f0cbc50> 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_14474_id_281472945039504 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_14321.14474.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.08s - 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:44239 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.02s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.09s - 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 281472952047328)>, thread id: pid_14474_id_281472945039504, id(thread): 281472945039504 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_14474_id_281472945039504<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_14474_id_281472945039504 E E 0.00s - Resuming threads: pid_14474_id_281472945039504 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_14474_id_281472945039504 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281472952047328)> (pid_14474_id_281472945039504) 281472945039504 E 0.25s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_14474_id_281472945039504 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.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 killing thread: E 0.00s - pydevd.Writer received kill signal E 0.00s - WriterThread: CMD_EXIT received E 0.00s - pydevd.stoptrace() E 0.00s - WriterThread: exit 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 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 E -------------------- /tmp/pytest-of-buildd/pytest-1/test_remote_debugger_multi_pro1/pydevd_debug_file_14321.14490.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.08s - 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 44239 Logging to: /tmp/pytest-of-buildd/pytest-1/test_remote_debugger_multi_pro1/pydevd_debug_file_14321.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 36288) 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 processTest Writer Thread Written CMD_THREAD_RUN: 106 5 pid_14474_id_281472945039504 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 8 pid_14474_id_281472945039504 -1 Test Reader Thread Received 106 8 pid_14474_id_281472945039504 -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_14474_id_281472945039504 Test Reader Thread Received 104 10 pid_14474_id_281472945039504 ----------------------------- 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', '46241'] 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 0xffff8f39b150> 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 0xffff8c91ce00> 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 0xffff8f39b150> 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 0xffff8c91d260> 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 0xffff8f39b150> 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 46241 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_True_0/pydevd_debug_file_14321.txt Both processes started Running: gdb --nw --nh --nx --pid 14492 --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=46241, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '46469'] 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 0xffff8c6c6b90> 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 0xffff8cd80540> 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 0xffff8c6c6b90> 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 0xffff8cd80ae0> 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 0xffff8c6c6b90> 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 46469 Logging to: /tmp/pytest-of-buildd/pytest-1/test_attach_to_pid_False_0/pydevd_debug_file_14321.txt Both processes started Running: gdb --nw --nh --nx --pid 14505 --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=46469, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '38971'] 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 0xffff8cde5c50> 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 0xffff8cd816c0> 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 0xffff8cde5c50> 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 0xffff9b023f60> 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 0xffff8cd80720> 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 0xffff8cde5c50> 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_14321.14518.txt ------------------ E E 0.01s - 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.08s - 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', '38971'] 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:38971 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": 14518, "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 281473430750944)> 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 281473430750944)>, thread id: pid_14518_id_281473424081168, id(thread): 281473424081168 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.05s - 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.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 281473430750944)> (pid_14518_id_281473424081168) 281473424081168 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.01s - 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-1/test_subprocess_pydevd_customi0/pydevd_debug_file_14321.14535.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.08s - 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 38971 Logging to: /tmp/pytest-of-buildd/pytest-1/test_subprocess_pydevd_customi0/pydevd_debug_file_14321.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 48390) 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": 14518, "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": 14518, "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": 14518, "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} 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} stdout: after pydevd.settrace 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', '40993', '-', '-', ...] 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 0xffff8c4e3690> 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 0xffff8cd82d40> 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 0xffff8c4e3690> 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 0xffff9b023f60> 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 0xffff8cd82520> 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 0xffff8c4e3690> 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_14321.14554.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.08s - 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_14321.14537.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.08s - 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', '40993', '-', '-', '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:40993 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": 14537, "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 281473864742624)> 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 281473864742624)>, thread id: pid_14537_id_281473858060560, id(thread): 281473858060560 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 281473864742624)> (pid_14537_id_281473858060560) 281473858060560 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.29s - 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.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 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 - 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 40993 - - 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_14321.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 44598) 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": 14537, "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": 14537, "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": 14537, "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} 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', '40303', '-', '-', ...] 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 0xffff8c4f58d0> 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 0xffff8cd802c0> 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 0xffff8c4f58d0> 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 0xffff9b023f60> 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 0xffff8cd81080> 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 0xffff8c4f58d0> 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_14321.14556.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.08s - 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', '40303', '-', '-', '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:40303 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": 14556, "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 281473160373984)> 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 281473160373984)>, thread id: pid_14556_id_281473153679632, id(thread): 281473153679632 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 281473160373984)> (pid_14556_id_281473153679632) 281473153679632 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 - 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.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.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 - 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_14321.14573.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.08s - 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 40303 - - 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_14321.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 58100) 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": 14556, "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": 14556, "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": 14556, "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} 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 stdout: after pydevd.settrace 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 0xffff8ccddc10> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8cd463e0> 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 0xffff8ccddc10> 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 0xffff8ccddc10> 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_14321.14575.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.08s - 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', '39403', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 14575 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 39403 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 34554) 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": 14575, "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": 14575, "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": 14575, "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 0xffff8ccdd4d0> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0xffff8cd465c0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8cd46de0> key = 'update_command_line_args' value = .update_command_line_args at 0xffff8cd465c0> 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 0xffff8ccdd4d0> 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 0xffff8ccdd4d0> 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_14321.14589.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.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', '44315', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 14589 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 44315 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 48872) 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": 14589, "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": 14589, "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": 14589, "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 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 0xffff8f3c2210> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0xffff8c596340>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8c5963e0> key = 'get_environ' value = .get_environ at 0xffff8c596340> 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 0xffff8f3c2210> 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 0xffff8f3c2210> 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.14613.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_14321.14613.txt ------------------ E E 0.00s - Something in print-debug E E -------------------- /tmp/pytest-of-buildd/pytest-1/test_logging_api0/pydevd_debug_file_14321.14602.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.08s - 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', '40189', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 14602 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 40189 --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_14321.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 40944) 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": 14602, "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": 14602, "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": 14602, "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-1/test_logging_api0/pydevd_in_test_logging.14613.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, 769 skipped, 7 deselected, 7 warnings in 382.31s (0:06:22) ===== =============================================================================== 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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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) [ 8%] 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) [ 16%] 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) [ 17%] 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) [ 24%] 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) [ 25%] 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) [ 26%] 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) [ 33%] 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) [ 34%] 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) [ 35%] 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) [ 41%] 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) [ 42%] 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) [ 43%] 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) [ 44%] 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) [ 49%] 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) [ 50%] 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) [ 51%] 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) [ 52%] 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) [ 53%] 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) [ 58%] 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) [ 59%] 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) [ 60%] 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) [ 61%] 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_code_reload SKIPPED (Test passed in previous runs) [ 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 [ 64%] 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) [ 65%] 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) [ 66%] 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) [ 73%] 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) [ 74%] 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) [ 82%] 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) [ 83%] 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) [ 91%] 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 0xffff9992e090> 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 0xffff9992e090> @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 0xffff999377e0> 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 0xffff999377e0> 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 0xffff9992e090> @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_14616.14623.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.07s - 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', '38683', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 14623 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 38683 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 57206) 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_14623_id_281472946737552 Test Reader Thread Received 104 6 pid_14623_id_281472946737552 Message returned in get_next_message(): 104 6 pid_14623_id_281472946737552 -- 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_14623_id_281472946737552' 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 0xffff8aee0fd0> 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 0xffff8aee0fd0> @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 0xffff8b6fef20> 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 0xffff8b6fef20> 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 0xffff8aee0fd0> @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_14616.14635.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.08s - 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', '34591', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 14635 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 34591 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 39580) 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_14635_id_281473714950544 Test Reader Thread Received 104 6 pid_14635_id_281473714950544 Message returned in get_next_message(): 104 6 pid_14635_id_281473714950544 -- 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_14635_id_281473714950544' 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 0xffff8b3d8b10> 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 0xffff8b3d8b10> @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 0xffff8b6ffe20> 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 0xffff8b6ffe20> 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 0xffff8b3d8b10> @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_14616.14647.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.08s - 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', '42471', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 14647 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 42471 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 51322) 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_14647_id_281473440682384 Test Reader Thread Received 104 6 pid_14647_id_281473440682384 Message returned in get_next_message(): 104 6 pid_14647_id_281473440682384 -- 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_14647_id_281473440682384' 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 0xffff8b5dcf50> 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 0xffff8b5dcf50> @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 0xffff8b6fe840> 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 0xffff8b6fe840> 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 0xffff8b5dcf50> @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_14616.14659.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.08s - 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', '38755', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 14659 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 38755 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 42128) 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_14659_id_281473338904976 Test Reader Thread Received 104 6 pid_14659_id_281473338904976 Message returned in get_next_message(): 104 6 pid_14659_id_281473338904976 -- 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_14659_id_281473338904976' 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 0xffff8b7e5450> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8b7ba980> 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 0xffff8b7e5450> 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 0xffff8b7e5450> 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_14616.14672.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.08s - 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', '45773', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 14672 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 45773 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 55836) 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 0xffff8b7ac890> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8b7b9a80> 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 0xffff8b7ac890> 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 0xffff8b7ac890> 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_14616.14685.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.08s - 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', '36091', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 14685 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 36091 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 43768) 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_14685_id_281473364660624 Test Reader Thread Received 104 6 pid_14685_id_281473364660624 ----------------------------- 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 0xffff8af743d0> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8b7bb420> 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 0xffff8af743d0> 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 0xffff8af743d0> 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_14616.14698.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.08s - 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', '40431', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 14698 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 40431 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 55530) 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_14698_id_281472949424528 Test Reader Thread Received 104 6 pid_14698_id_281472949424528 ----------------------------- 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', '36843'] 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 0xffff8b0a1e50> 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 0xffff8b78c2c0> 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 0xffff8b0a1e50> 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 0xffff8b78c9a0> 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 0xffff8b0a1e50> 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 36843 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_no_threads_0/pydevd_debug_file_14616.txt Both processes started Running: gdb --nw --nh --nx --pid 14711 --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=36843, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '33749'] 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 0xffff99945c90> 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 0xffff8b7ba840> 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 0xffff99945c90> 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 0xffff8b78fba0> 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 0xffff99945c90> 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 33749 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_no_threads_1/pydevd_debug_file_14616.txt Both processes started Running: gdb --nw --nh --nx --pid 14724 --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=33749, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '39699'] 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 0xffffa5c13510> 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 0xffff8b78f4c0> 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 0xffffa5c13510> @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 0xffff8b78d580> 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 0xffffa5c13510> @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: 281473368131296\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281473368131296\n', 'Secondary thread ident should be: 281473361994144\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: 281473368131296 E Secondary thread ident should be: 281473361994144 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 39699 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_halted0/pydevd_debug_file_14616.txt Both processes started stdout: Main thread ident should be: 281473368131296 stdout: Secondary thread ident should be: 281473361994144 Running: gdb --nw --nh --nx --pid 14737 --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=39699, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '36861', '--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 0xffff8b3e39d0> 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 0xffff8b78e160>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8b78e020> 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 0xffff8b3e39d0> 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 0xffff8b3e39d0> 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...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', '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_14751_id_281473760045328 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_14616.14767.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.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-2/test_remote_debugger_multi_pro0/pydevd_debug_file_14616.14751.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.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:36861 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 281473767028448)>, thread id: pid_14751_id_281473760045328, id(thread): 281473760045328 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_14751_id_281473760045328<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_14751_id_281473760045328 E E 0.00s - Resuming threads: pid_14751_id_281473760045328 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_14751_id_281473760045328 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281473767028448)> (pid_14751_id_281473760045328) 281473760045328 E 0.58s - 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 - 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 - pydevd.stoptrace() E 0.00s - WriterThread: exit 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 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 36861 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-2/test_remote_debugger_multi_pro0/pydevd_debug_file_14616.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 59672) 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 processTest Writer Thread Written CMD_THREAD_RUN: 106 9 pid_14751_id_281473760045328 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 6 pid_14751_id_281473760045328 -1 Test Reader Thread Received 106 6 pid_14751_id_281473760045328 -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', '45899'] 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 0xffff99953150> 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 0xffff8b78f9c0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8b78e700> 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 0xffff99953150> 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 0xffff99953150> 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...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', '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_14769_id_281473158424720 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_14616.14785.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.08s - 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_remote_debugger_multi_pro1/pydevd_debug_file_14616.14769.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.08s - 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:45899 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.01s - 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 281473165420256)>, thread id: pid_14769_id_281473158424720, id(thread): 281473158424720 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_14769_id_281473158424720<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_14769_id_281473158424720 E E 0.00s - Resuming threads: pid_14769_id_281473158424720 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_14769_id_281473158424720 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281473165420256)> (pid_14769_id_281473158424720) 281473158424720 E 0.28s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_14769_id_281473158424720 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.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 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 - WriterThread: CMD_EXIT received E 0.00s - No threads alive, finishing debug session E 0.00s - WriterThread: exit 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_remote_1.py 45899 Logging to: /tmp/pytest-of-buildd/pytest-2/test_remote_debugger_multi_pro1/pydevd_debug_file_14616.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 40314) 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 processTest Writer Thread Written CMD_THREAD_RUN: 106 5 pid_14769_id_281473158424720 stdout: after pydevd.settrace Test Reader Thread Received 106 8 pid_14769_id_281473158424720 -1 Test Reader Thread Received 106 8 pid_14769_id_281473158424720 -1stdout: 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_14769_id_281473158424720 Test Reader Thread Received 104 10 pid_14769_id_281473158424720 ----------------------------- 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', '36441'] 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 0xffff8af1c950> 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 0xffff8b02cd60> 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 0xffff8af1c950> 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 0xffff8b02d1c0> 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 0xffff8af1c950> 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 36441 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_True_0/pydevd_debug_file_14616.txt Both processes started Running: gdb --nw --nh --nx --pid 14787 --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=36441, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '35631'] 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 0xffff99be66d0> 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 0xffff8b7de840> 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 0xffff99be66d0> 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 0xffff8b02cfe0> 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 0xffff99be66d0> 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 35631 Logging to: /tmp/pytest-of-buildd/pytest-2/test_attach_to_pid_False_0/pydevd_debug_file_14616.txt Both processes started Running: gdb --nw --nh --nx --pid 14800 --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=35631, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '43859'] 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 0xffff8b4bb310> 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 0xffff8b02cea0> 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 0xffff8b4bb310> 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 0xffffa5873f60> 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 0xffff8b650a40> 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 0xffff8b4bb310> 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-2/test_subprocess_pydevd_customi0/pydevd_debug_file_14616.14813.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.08s - 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', '43859'] 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:43859 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": 14813, "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.01s - 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 281473222170336)> 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 281473222170336)>, thread id: pid_14813_id_281473215480080, id(thread): 281473215480080 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 281473222170336)> (pid_14813_id_281473215480080) 281473215480080 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.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 - 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 - WriterThread: CMD_EXIT received 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 - WriterThread: exit 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 E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi0/pydevd_debug_file_14616.14830.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.08s - 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 43859 Logging to: /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi0/pydevd_debug_file_14616.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 47330) 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": 14813, "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": 14813, "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": 14813, "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} Test Reader Thread Received Content-Length: 126 Test Reader Thread Received stdout: after pydevd.settrace 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', '37339', '-', '-', ...] 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 0xffff8840db50> 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 0xffff8b652c00> 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 0xffff8840db50> 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 0xffffa5873f60> 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 0xffff8b6525c0> 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 0xffff8840db50> 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-2/test_subprocess_pydevd_customi1/pydevd_debug_file_14616.14850.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.08s - 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_customi1/pydevd_debug_file_14616.14833.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 - Argv received: ['/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_pydevd_customization.py', '37339', '-', '-', '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:37339 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": 14833, "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.01s - 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.01s - 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_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 281473459218144)> 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 281473459218144)>, thread id: pid_14833_id_281473452523792, id(thread): 281473452523792 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 281473459218144)> (pid_14833_id_281473452523792) 281473452523792 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.27s - 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 - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 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 killing thread: E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish 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 - 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 37339 - - 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_14616.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 33264) 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": 14833, "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": 14833, "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": 14833, "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} 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', '40737', '-', '-', ...] 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 0xffff8845dcd0> 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 0xffff8b629080> 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 0xffff8845dcd0> 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 0xffffa5873f60> 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 0xffff8b628b80> 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 0xffff8845dcd0> 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_14616.14852.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.08s - 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', '40737', '-', '-', '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:40737 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": 14852, "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.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_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 281473394845408)> 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 281473394845408)>, thread id: pid_14852_id_281473388167440, id(thread): 281473388167440 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 281473394845408)> (pid_14852_id_281473388167440) 281473388167440 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.28s - 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.25s - 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 - 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.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 - 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 - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-2/test_subprocess_pydevd_customi2/pydevd_debug_file_14616.14869.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.08s - 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 40737 - - 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_14616.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 44130) 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": 14852, "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": 14852, "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": 14852, "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} Test Reader Thread Received Content-Length: 126 stdout: after pydevd.settrace 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 0xffff8b207010> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8b62ae80> 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 0xffff8b207010> 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 0xffff8b207010> 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_14616.14871.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.08s - 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', '33737', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 14871 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 33737 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 44554) 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": 14871, "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": 14871, "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": 14871, "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 0xffff8b2069d0> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0xffff8b62a520>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8b62a5c0> key = 'update_command_line_args' value = .update_command_line_args at 0xffff8b62a520> 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 0xffff8b2069d0> 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 0xffff8b2069d0> 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_14616.14885.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.15s - 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', '34173', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 14885 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 34173 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 54110) 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": 14885, "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": 14885, "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": 14885, "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 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 Test Reader Thread Received 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 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 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 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 0xffff8b7a3850> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0xffff8b652ac0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff8b650f40> key = 'get_environ' value = .get_environ at 0xffff8b652ac0> 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 0xffff8b7a3850> 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 0xffff8b7a3850> 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================...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-2/test_logging_api0/pydevd_in_test_logging.14909.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_14616.14909.txt ------------------ E E 0.00s - Something in print-debug E E -------------------- /tmp/pytest-of-buildd/pytest-2/test_logging_api0/pydevd_debug_file_14616.14898.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.08s - 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', '38923', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 14898 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 38923 --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_14616.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 46474) 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": 14898, "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": 14898, "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": 14898, "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.14909.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, 769 skipped, 7 deselected, 7 warnings in 382.65s (0:06:22) ===== =============================================================================== 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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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) [ 8%] 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) [ 16%] 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) [ 17%] 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) [ 24%] 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) [ 25%] 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) [ 26%] 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) [ 33%] 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) [ 34%] 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) [ 35%] 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) [ 41%] 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) [ 42%] 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) [ 43%] 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) [ 44%] 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) [ 49%] 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) [ 50%] 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) [ 51%] 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) [ 52%] 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) [ 53%] 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) [ 58%] 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) [ 59%] 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) [ 60%] 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) [ 61%] 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_code_reload SKIPPED (Test passed in previous runs) [ 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 [ 64%] 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) [ 65%] 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) [ 66%] 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) [ 73%] 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) [ 74%] 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) [ 82%] 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) [ 83%] 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) [ 91%] 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 0xffffa213ffd0> 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 0xffffa213ffd0> @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 0xffffa21477e0> 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 0xffffa21477e0> 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 0xffffa213ffd0> @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_14912.14919.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.08s - 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', '46775', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 14919 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 46775 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 36236) 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_14919_id_281472956764560 Test Reader Thread Received 104 6 pid_14919_id_281472956764560 Message returned in get_next_message(): 104 6 pid_14919_id_281472956764560 -- 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_14919_id_281472956764560' 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 0xffff936e5110> 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 0xffff936e5110> @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 0xffff93f12f20> 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 0xffff93f12f20> 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 0xffff936e5110> @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_14912.14931.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.08s - 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', '35635', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 14931 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 35635 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 50192) 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_14931_id_281473446318480 Test Reader Thread Received 104 6 pid_14931_id_281473446318480 Message returned in get_next_message(): 104 6 pid_14931_id_281473446318480 -- 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_14931_id_281473446318480' 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 0xffff93be5290> 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 0xffff93be5290> @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 0xffff93f12700> 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 0xffff93f12700> 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 0xffff93be5290> @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_14912.14943.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.08s - 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', '34703', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 14943 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 34703 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 35282) 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_14943_id_281473406079376 Test Reader Thread Received 104 6 pid_14943_id_281473406079376 Message returned in get_next_message(): 104 6 pid_14943_id_281473406079376 -- 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_14943_id_281473406079376' 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 0xffff939dd110> 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 0xffff939dd110> @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 0xffff93f12840> 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 0xffff93f12840> 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 0xffff939dd110> @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_14912.14955.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.08s - 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', '39523', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 14955 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 39523 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 37414) 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_14955_id_281473621234064 Test Reader Thread Received 104 6 pid_14955_id_281473621234064 Message returned in get_next_message(): 104 6 pid_14955_id_281473621234064 -- 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_14955_id_281473621234064' 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 0xffff938c1b90> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff93fee980> 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 0xffff938c1b90> 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 0xffff938c1b90> 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_14912.14967.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.08s - 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', '44929', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 14967 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 44929 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 36516) 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 0xffff93fe4110> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff93feda80> 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 0xffff93fe4110> 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 0xffff93fe4110> 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_14912.14980.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.08s - 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', '42211', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 14980 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 42211 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 51712) 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_14980_id_281473177096592 Test Reader Thread Received 104 6 pid_14980_id_281473177096592 ----------------------------- 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 0xffff93c84250> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff93fef420> 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 0xffff93c84250> 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 0xffff93c84250> 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_14912.14993.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.08s - 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', '39877', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 14993 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 39877 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 48248) 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_14993_id_281472891294096 Test Reader Thread Received 104 6 pid_14993_id_281472891294096 ----------------------------- 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', '37149'] 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 0xffffa211ec10> 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 0xffff93fe02c0> 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 0xffffa211ec10> 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 0xffff93fe09a0> 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 0xffffa211ec10> 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 37149 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_no_threads_0/pydevd_debug_file_14912.txt Both processes started Running: gdb --nw --nh --nx --pid 15006 --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=37149, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '35721'] 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 0xffff93a107d0> 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 0xffff93fee840> 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 0xffff93a107d0> 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 0xffff93fe3ba0> 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 0xffff93a107d0> 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 35721 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_no_threads_1/pydevd_debug_file_14912.txt Both processes started Running: gdb --nw --nh --nx --pid 15019 --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=35721, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '42331'] 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 0xffff93b97710> 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 0xffff93fe2840> 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 0xffff93b97710> @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 0xffff93fe0f40> 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 0xffff93b97710> @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: 281473651193568\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281473651193568\n', 'Secondary thread ident should be: 281473645044128\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: 281473651193568 E Secondary thread ident should be: 281473645044128 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 42331 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_halted0/pydevd_debug_file_14912.txt stdout: Main thread ident should be: 281473651193568 stdout: Secondary thread ident should be: 281473645044128 Both processes started Running: gdb --nw --nh --nx --pid 15032 --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=42331, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '40421', '--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 0xffff93a67d10> 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 0xffff93fe22a0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff93fe2660> 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 0xffff93a67d10> 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 0xffff93a67d10> 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...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', '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_15046_id_281473052256528 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_14912.15062.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 E -------------------- /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro0/pydevd_debug_file_14912.15046.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.08s - 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:40421 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.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 - 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 281473059243744)>, thread id: pid_15046_id_281473052256528, id(thread): 281473052256528 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_15046_id_281473052256528<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_15046_id_281473052256528 E E 0.00s - Resuming threads: pid_15046_id_281473052256528 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_15046_id_281473052256528 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281473059243744)> (pid_15046_id_281473052256528) 281473052256528 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 - No threads alive, finishing debug session 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 - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - WriterThread: CMD_EXIT received 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: 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_remote_1.py 40421 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro0/pydevd_debug_file_14912.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 33432) 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 processTest Writer Thread Written CMD_THREAD_RUN: 106 9 pid_15046_id_281473052256528 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 6 pid_15046_id_281473052256528 -1 Test Reader Thread Received 106 6 pid_15046_id_281473052256528 -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', '34101'] 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 0xffff93a67750> 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 0xffff93fe3ec0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff93fe0900> 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 0xffff93a67750> 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 0xffff93a67750> 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_15064_id_281472926492816 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_14912.15064.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.08s - 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:34101 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.02s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.09s - 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 281472933471968)>, thread id: pid_15064_id_281472926492816, id(thread): 281472926492816 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_15064_id_281472926492816<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_15064_id_281472926492816 E E 0.00s - Resuming threads: pid_15064_id_281472926492816 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_15064_id_281472926492816 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281472933471968)> (pid_15064_id_281472926492816) 281472926492816 E 0.25s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_15064_id_281472926492816 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 - 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 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() E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro1/pydevd_debug_file_14912.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.08s - 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 34101 Logging to: /tmp/pytest-of-buildd/pytest-3/test_remote_debugger_multi_pro1/pydevd_debug_file_14912.txt Both processes started stdout: before pydevd.settrace 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_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_15064_id_281472926492816 Test Reader Thread Received 106 8 pid_15064_id_281472926492816 -1 stdout: after pydevd.settrace Test Reader Thread Received 106 8 pid_15064_id_281472926492816 -1 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_15064_id_281472926492816 Test Reader Thread Received 104 10 pid_15064_id_281472926492816 ----------------------------- 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', '43231'] 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 0xffff938bff90> 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 0xffff938e4e00> 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 0xffff938bff90> 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 0xffff938e5260> 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 0xffff938bff90> 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 43231 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_True_0/pydevd_debug_file_14912.txt Both processes started Running: gdb --nw --nh --nx --pid 15082 --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=43231, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '36927'] 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 0xffff9379ad10> 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 0xffff93b6c540> 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 0xffff9379ad10> 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 0xffff93b6cae0> 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 0xffff9379ad10> 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 36927 Logging to: /tmp/pytest-of-buildd/pytest-3/test_attach_to_pid_False_0/pydevd_debug_file_14912.txt Both processes started Running: gdb --nw --nh --nx --pid 15096 --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=36927, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '41681'] 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 0xffff937ddf10> 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 0xffff93b6d6c0> 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 0xffff937ddf10> 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 0xffffae083f60> 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 0xffff93b6cd60> 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 0xffff937ddf10> 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...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_customi0/pydevd_debug_file_14912.15126.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.08s - 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_subprocess_pydevd_customi0/pydevd_debug_file_14912.15109.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.08s - 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', '41681'] 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:41681 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.02s - 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": 15109, "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 281473024091872)> 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 281473024091872)>, thread id: pid_15109_id_281473017430288, id(thread): 281473017430288 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 281473024091872)> (pid_15109_id_281473017430288) 281473017430288 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 - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E 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 (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 killing thread: E 0.00s - pydevd.Reader received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - WriterThread: CMD_EXIT received 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 - PyDB.dispose_and_kill_all_pydevd_threads killing thread: E 0.00s - WriterThread: exit 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.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 41681 Logging to: /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi0/pydevd_debug_file_14912.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 36854) 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": 15109, "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": 15109, "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": 15109, "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 Test Reader Thread Received 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} Test Reader Thread Received Content-Length: 126 Test Reader Thread Received stdout: after pydevd.settrace 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', '35311', '-', '-', ...] 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 0xffff90263050> 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 0xffff93b6eac0> 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 0xffff90263050> 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 0xffffae083f60> 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 0xffff93b6e5c0> 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 0xffff90263050> 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-3/test_subprocess_pydevd_customi1/pydevd_debug_file_14912.15128.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.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', '35311', '-', '-', '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:35311 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": 15128, "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 281473548584672)> 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 281473548584672)>, thread id: pid_15128_id_281473541914896, id(thread): 281473541914896 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 281473548584672)> (pid_15128_id_281473541914896) 281473541914896 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.29s - 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 - No threads alive, finishing debug session E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads no commands being processed. 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 killing thread: E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish 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 - 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() E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi1/pydevd_debug_file_14912.15145.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.08s - 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 35311 - - 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_14912.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 48738) 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": 15128, "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": 15128, "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": 15128, "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 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 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}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} Test Reader Thread Received Content-Length: 126 Test Reader Thread Received stdout: after pydevd.settrace 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', '44219', '-', '-', ...] 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 0xffff90435d50> 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 0xffff93b6c360> 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 0xffff90435d50> 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 0xffffae083f60> 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 0xffff93b6d940> 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 0xffff90435d50> 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_14912.15147.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.08s - 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', '44219', '-', '-', '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:44219 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": 15147, "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.11s - 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 281473552537312)> 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 281473552537312)>, thread id: pid_15147_id_281473545847056, id(thread): 281473545847056 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 281473552537312)> (pid_15147_id_281473545847056) 281473545847056 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 - 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.01s - WriterThread: CMD_EXIT received E 0.00s - WriterThread: exit E 0.49s - PyDB.dispose_and_kill_all_pydevd_threads: finished E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_subprocess_pydevd_customi2/pydevd_debug_file_14912.15164.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.08s - 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 44219 - - 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_14912.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 38260) 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": 15147, "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": 15147, "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": 15147, "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} 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 stdout: after pydevd.settrace 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 0xffff90370110> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff93b32520> 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 0xffff90370110> 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 0xffff90370110> 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_14912.15166.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.08s - 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', '37139', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 15166 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 37139 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 52926) 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": 15166, "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": 15166, "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": 15166, "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 0xffff938bee90> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0xffff93b30d60>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff93b30ea0> key = 'update_command_line_args' value = .update_command_line_args at 0xffff93b30d60> 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 0xffff938bee90> 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 0xffff938bee90> 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_14912.15180.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.08s - 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', '39583', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 15180 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 39583 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 54440) 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": 15180, "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": 15180, "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": 15180, "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 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 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} 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 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 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 0xffff9032e290> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0xffff93b823e0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff93b82480> key = 'get_environ' value = .get_environ at 0xffff93b823e0> 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 0xffff9032e290> 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 0xffff9032e290> 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.15204.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_14912.15204.txt ------------------ E E 0.00s - Something in print-debug E E -------------------- /tmp/pytest-of-buildd/pytest-3/test_logging_api0/pydevd_debug_file_14912.15193.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.08s - 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', '40333', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 15193 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 40333 --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_14912.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 34144) 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": 15193, "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": 15193, "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": 15193, "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.15204.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, 769 skipped, 7 deselected, 7 warnings in 382.01s (0:06:22) ===== =============================================================================== 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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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) [ 8%] 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) [ 16%] 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) [ 17%] 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) [ 24%] 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) [ 25%] 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) [ 26%] 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) [ 33%] 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) [ 34%] 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) [ 35%] 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) [ 41%] 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) [ 42%] 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) [ 43%] 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) [ 44%] 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) [ 49%] 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) [ 50%] 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) [ 51%] 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) [ 52%] 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) [ 53%] 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) [ 58%] 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) [ 59%] 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) [ 60%] 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) [ 61%] 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_code_reload SKIPPED (Test passed in previous runs) [ 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 [ 64%] 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) [ 65%] 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) [ 66%] 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) [ 73%] 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) [ 74%] 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) [ 82%] 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) [ 83%] 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) [ 91%] 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 0xffff73dbad50> 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 0xffff73dbad50> @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 0xffff73df77e0> 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 0xffff73df77e0> 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 0xffff73dbad50> @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_15207.15214.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.08s - 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', '35913', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread1.py'],) E 0.00s - Current pid: 15214 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 35913 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 36390) 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_15214_id_281473660096912 Test Reader Thread Received 104 6 pid_15214_id_281473660096912 Message returned in get_next_message(): 104 6 pid_15214_id_281473660096912 -- 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_15214_id_281473660096912' 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 0xffff7141d010> 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 0xffff7141d010> @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 0xffff71c42f20> 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 0xffff71c42f20> 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 0xffff7141d010> @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_15207.15226.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.08s - 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', '41383', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread2.py'],) E 0.00s - Current pid: 15226 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 41383 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 50102) 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_15226_id_281473478300048 Test Reader Thread Received 104 6 pid_15226_id_281473478300048 Message returned in get_next_message(): 104 6 pid_15226_id_281473478300048 -- 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_15226_id_281473478300048' 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 0xffff71914950> 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 0xffff71914950> @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 0xffff71c42700> 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 0xffff71c42700> 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 0xffff71914950> @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_15207.15238.txt ------------------ E E 0.01s - 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.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', '39023', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread3.py'],) E 0.00s - Current pid: 15238 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 39023 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 36624) 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_15238_id_281473225986448 Test Reader Thread Received 104 6 pid_15238_id_281473225986448 Message returned in get_next_message(): 104 6 pid_15238_id_281473225986448 -- 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_15238_id_281473225986448' 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 0xffff7170cdd0> 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 0xffff7170cdd0> @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 0xffff71c42840> 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 0xffff71c42840> 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 0xffff7170cdd0> @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_15207.15250.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.08s - 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', '34271', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_qthread4.py'],) E 0.00s - Current pid: 15250 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 34271 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 56808) 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_15250_id_281473452675472 Test Reader Thread Received 104 6 pid_15250_id_281473452675472 Message returned in get_next_message(): 104 6 pid_15250_id_281473452675472 -- 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_15250_id_281473452675472' 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 0xffff715f6550> filename = '_debugger_case_python_c.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff71d1e980> 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 0xffff715f6550> 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 0xffff715f6550> 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_15207.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.08s - 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', '37935', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_python_c.py'],) E 0.00s - Current pid: 15262 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 37935 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 45360) 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 0xffff71cd7510> filename = '_debugger_case_quoting.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff71d1da80> 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 0xffff71cd7510> 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 0xffff71cd7510> 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_15207.15275.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.08s - 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', '33751', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_quoting.py'],) E 0.00s - Current pid: 15275 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 33751 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 42778) 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_15275_id_281473735528848 Test Reader Thread Received 104 6 pid_15275_id_281473735528848 ----------------------------- 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 0xffff71aed490> filename = '_debugger_case_subprocess_zip.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff71d1f2e0> 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 0xffff71aed490> 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 0xffff71aed490> 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_15207.15288.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', '39507', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_zip.py'],) E 0.00s - Current pid: 15288 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 39507 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 56804) 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_15288_id_281473233981840 Test Reader Thread Received 104 6 pid_15288_id_281473233981840 ----------------------------- 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', '45241'] 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 0xffff73e14c90> 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 0xffff71cbc2c0> 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 0xffff73e14c90> 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 0xffff71cbc9a0> 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 0xffff73e14c90> 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 45241 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_no_threads_0/pydevd_debug_file_15207.txt Both processes started Running: gdb --nw --nh --nx --pid 15301 --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=45241, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '34461'] 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 0xffff7163c590> 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 0xffff71d1f420> 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 0xffff7163c590> 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 0xffff71d1c220> 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 0xffff7163c590> 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 34461 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_no_threads_1/pydevd_debug_file_15207.txt Both processes started Running: gdb --nw --nh --nx --pid 15314 --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=34461, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '33257'] 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 0xffff718c4910> 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 0xffff73df6ac0> 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 0xffff718c4910> @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 0xffff71cbfb00> 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 0xffff718c4910> @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: 281473554441952\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281473554441952\n', 'Secondary thread ident should be: 281473548312992\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: 281473554441952 E Secondary thread ident should be: 281473548312992 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 33257 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_halted0/pydevd_debug_file_15207.txt Both processes started stdout: Main thread ident should be: 281473554441952 stdout: Secondary thread ident should be: 281473548312992 Running: gdb --nw --nh --nx --pid 15327 --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=33257, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '43301', '--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 0xffff71665c50> 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 0xffff71cbdd00>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff71cbdf80> 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 0xffff71665c50> 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 0xffff71665c50> 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...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', '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_15341_id_281473635526928 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_15207.15357.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.08s - 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_15207.15341.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.08s - 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:43301 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.01s - 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.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 - 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 281473642510048)>, thread id: pid_15341_id_281473635526928, id(thread): 281473635526928 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_15341_id_281473635526928<< E E 0.00s - Received command: CMD_THREAD_RUN 106 9 pid_15341_id_281473635526928 E E 0.00s - Resuming threads: pid_15341_id_281473635526928 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_15341_id_281473635526928 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281473642510048)> (pid_15341_id_281473635526928) 281473635526928 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 - No threads alive, finishing debug session 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 - pydevd.Writer received kill signal E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) E 0.00s - WriterThread: CMD_EXIT received E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads waiting for pydb daemon threads to finish 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 - 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_remote_1.py 43301 --access-token tok123 --client-access-token tok456 Logging to: /tmp/pytest-of-buildd/pytest-4/test_remote_debugger_multi_pro0/pydevd_debug_file_15207.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 53382) 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 processTest Writer Thread Written CMD_THREAD_RUN: 106 9 pid_15341_id_281473635526928 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 6 pid_15341_id_281473635526928 -1 Test Reader Thread Received 106 6 pid_15341_id_281473635526928 -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', '39649'] 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 0xffff71666a10> 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 0xffff71cbe520>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff71cbec00> 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 0xffff71666a10> 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 0xffff71666a10> 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_15360_id_281472923281552 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_15207.15360.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.08s - 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:39649 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.02s - debugger: received >>101 3 << E E 0.00s - Received command: CMD_RUN 101 3 E E 0.09s - 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 281472930264800)>, thread id: pid_15360_id_281472923281552, id(thread): 281472923281552 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_15360_id_281472923281552<< E E 0.00s - Received command: CMD_THREAD_RUN 106 5 pid_15360_id_281472923281552 E E 0.00s - Resuming threads: pid_15360_id_281472923281552 (except thread: None) E 0.01s - sending cmd (quoted-line) --> CMD_THREAD_RUN pid_15360_id_281472923281552 -1 E E 0.00s - Leaving PyDB.do_wait_suspend: <_MainThread(MainThread, started 281472930264800)> (pid_15360_id_281472923281552) 281472923281552 E 0.25s - sending cmd (quoted-line) --> CMD_THREAD_KILL pid_15360_id_281472923281552 E E 0.03s - 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.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 - 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 - pydevd.stoptrace() E E -------------------- /tmp/pytest-of-buildd/pytest-4/test_remote_debugger_multi_pro1/pydevd_debug_file_15207.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.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 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 39649 Logging to: /tmp/pytest-of-buildd/pytest-4/test_remote_debugger_multi_pro1/pydevd_debug_file_15207.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 36650) 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 processTest Writer Thread Written CMD_THREAD_RUN: 106 5 pid_15360_id_281472923281552 stdout: after pydevd.settrace stdout: before call Test Reader Thread Received 106 8 pid_15360_id_281472923281552 -1 Test Reader Thread Received 106 8 pid_15360_id_281472923281552 -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_15360_id_281472923281552 Test Reader Thread Received 104 10 pid_15360_id_281472923281552 ----------------------------- 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', '36993'] 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 0xffff71b1f950> 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 0xffff71560e00> 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 0xffff71b1f950> 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 0xffff71561260> 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 0xffff71b1f950> 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 36993 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_True_0/pydevd_debug_file_15207.txt Both processes started Running: gdb --nw --nh --nx --pid 15378 --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=36993, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '40313'] 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 0xffff7153b950> 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 0xffff71570040> 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 0xffff7153b950> 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 0xffff71561080> 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 0xffff7153b950> 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 40313 Logging to: /tmp/pytest-of-buildd/pytest-4/test_attach_to_pid_False_0/pydevd_debug_file_15207.txt Both processes started Running: gdb --nw --nh --nx --pid 15391 --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=40313, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '36931'] 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 0xffff717293d0> 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 0xffff71572980> 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 0xffff717293d0> 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 0xffff7fd33f60> 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 0xffff715718a0> 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 0xffff717293d0> 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...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_customi0/pydevd_debug_file_15207.15421.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.08s - 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_customi0/pydevd_debug_file_15207.15404.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.08s - 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', '36931'] 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:36931 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.02s - 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": 15404, "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 281473395762912)> 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 281473395762912)>, thread id: pid_15404_id_281473389084944, id(thread): 281473389084944 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 281473395762912)> (pid_15404_id_281473389084944) 281473389084944 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 - No threads alive, finishing debug session 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.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 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 - sending cmd (http_json) --> CMD_EXIT {"type": "event", "event": "terminated", "seq": 24, "body": {}, "pydevd_cmd_id": 129} E E 0.00s - PyDB.dispose_and_kill_all_pydevd_threads (already disposed - wait) 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 - 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 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 36931 Logging to: /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi0/pydevd_debug_file_15207.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 46218) 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": 15404, "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": 15404, "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": 15404, "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 Test Reader Thread Received Content-Length: 667 Test Reader Thread Received 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} 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[--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', '42493', '-', '-', ...] 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 0xffff701ce510> 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 0xffff71658680> 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 0xffff701ce510> 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 0xffff7fd33f60> 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 0xffff71658fe0> 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 0xffff701ce510> 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_15207.15423.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.08s - 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', '42493', '-', '-', '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:42493 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.02s - 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": 15423, "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 281473755457248)> 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 281473755457248)>, thread id: pid_15423_id_281473748746512, id(thread): 281473748746512 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 281473755457248)> (pid_15423_id_281473748746512) 281473748746512 E 0.00s - File not traced (not in project - force_check_project_scope): /usr/lib/python3.11/subprocess.py E 0.01s - 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.29s - 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.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 - No threads alive, finishing debug session 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 (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-4/test_subprocess_pydevd_customi1/pydevd_debug_file_15207.15440.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.08s - 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 42493 - - 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_15207.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 42332) 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": 15423, "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": 15423, "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": 15423, "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} 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', '35623', '-', '-', ...] 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 0xffff701cb190> 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 0xffff716585e0> 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 0xffff701cb190> 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 0xffff7fd33f60> 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 0xffff716596c0> 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 0xffff701cb190> 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-4/test_subprocess_pydevd_customi2/pydevd_debug_file_15207.15442.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.08s - 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', '35623', '-', '-', '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:35623 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": 15442, "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 281473753319136)> 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 281473753319136)>, thread id: pid_15442_id_281473746649360, id(thread): 281473746649360 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 281473753319136)> (pid_15442_id_281473746649360) 281473746649360 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 - 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.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.50s - 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 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 - PyDB.dispose_and_kill_all_pydevd_threads: finished E E -------------------- /tmp/pytest-of-buildd/pytest-4/test_subprocess_pydevd_customi2/pydevd_debug_file_15207.15459.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.08s - 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 35623 - - 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_15207.txt Both processes started stdout: before pydevd.settrace Test Writer Thread Socket: ('127.0.0.1', 46416) 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": 15442, "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": 15442, "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": 15442, "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 0xffff71231b50> filename = '_debugger_case_subprocess_and_fork.py', kwargs = {} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff71cbf380> 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 0xffff71231b50> 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 0xffff71231b50> 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_15207.15461.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.08s - 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', '38539', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_subprocess_and_fork.py'],) E 0.00s - Current pid: 15461 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 38539 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 40380) 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": 15461, "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": 15461, "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": 15461, "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 0xffff700a8110> filename = '_debugger_case_no_subprocess_patching.py' kwargs = {'update_command_line_args': .update_command_line_args at 0xffff71572ca0>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff71570c20> key = 'update_command_line_args' value = .update_command_line_args at 0xffff71572ca0> 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 0xffff700a8110> 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 0xffff700a8110> 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_15207.15475.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.08s - 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', '39017', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_no_subprocess_patching.py', 'apply-multiprocessing-patch'],) E 0.00s - Current pid: 15475 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 39017 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 46188) 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": 15475, "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": 15475, "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": 15475, "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} 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 Test Reader Thread Received Content-Length: 417 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 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} 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} 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: 114 Test Reader Thread Received 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 0xffff715f65d0> filename = '_debugger_case_logging.py' kwargs = {'get_environ': .get_environ at 0xffff71cbe340>} update_command_line_args = .CaseSetup.test_file..update_command_line_args at 0xffff71cbe020> key = 'get_environ' value = .get_environ at 0xffff71cbe340> 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 0xffff715f65d0> 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 0xffff715f65d0> 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================...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-4/test_logging_api0/pydevd_in_test_logging.15499.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_15207.15499.txt ------------------ E E 0.00s - Something in print-debug E E -------------------- /tmp/pytest-of-buildd/pytest-4/test_logging_api0/pydevd_debug_file_15207.15488.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.08s - 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', '41601', '--file', '/<>/.pybuild/cpython3_3.11_pydevd/build/tests_python/resources/_debugger_case_logging.py'],) E 0.00s - Current pid: 15488 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 41601 --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_15207.txt Both processes started Test Writer Thread Socket: ('127.0.0.1', 59888) 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": 15488, "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": 15488, "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": 15488, "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.15499.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, 769 skipped, 7 deselected, 7 warnings in 381.89s (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 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 *** 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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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 [ 8%] 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 [ 16%] 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 [ 17%] 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 [ 24%] 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 [ 25%] 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 [ 26%] 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 [ 33%] 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 [ 34%] 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 [ 35%] 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 [ 41%] 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 [ 42%] 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 [ 43%] 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 [ 44%] 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 [ 49%] 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 [ 50%] 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 [ 51%] 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 [ 52%] 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 [ 53%] 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 [ 58%] 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) [ 59%] 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 [ 60%] 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 [ 61%] 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_code_reload PASSED [ 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 [ 64%] 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 [ 65%] 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 [ 66%] 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 [ 73%] 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 [ 74%] 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 [ 82%] 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 [ 83%] 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 [ 91%] 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', '41715'] 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 0xffff3be5ed40> 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 0xffff3bf93eb0> 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 0xffff3be5ed40> 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 0xffff3bfadb40> 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 0xffff3be5ed40> 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 41715 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_no_threads_0/pydevd_debug_file_15507.txt Both processes started Running: gdb --nw --nh --nx --pid 16913 --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=41715, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '45065'] 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 0xffff3be3e410> 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 0xffff3bfaf400> 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 0xffff3be3e410> 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 0xffff3bfaf2e0> 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 0xffff3be3e410> 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 45065 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_no_threads_1/pydevd_debug_file_15507.txt Both processes started Running: gdb --nw --nh --nx --pid 16927 --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=45065, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '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 0xffff5fa9bee0> 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 0xffff3bfaf760> 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 0xffff5fa9bee0> @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 0xffff3bfad2d0> 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 0xffff5fa9bee0> @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: 281473711961824\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281473711961824\n', 'Secondary thread ident should be: 281473704661408\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: 281473711961824 E Secondary thread ident should be: 281473704661408 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 45887 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_halted0/pydevd_debug_file_15507.txt Both processes started stdout: Main thread ident should be: 281473711961824 stdout: Secondary thread ident should be: 281473704661408 Running: gdb --nw --nh --nx --pid 16940 --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=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '36763'] 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 0xffff3be99fc0> 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 0xffff3bc4a200> 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 0xffff3be99fc0> 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 0xffff3bc4bac0> 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 0xffff3be99fc0> 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 36763 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_True_0/pydevd_debug_file_15507.txt Both processes started Running: gdb --nw --nh --nx --pid 20504 --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=36763, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '46655'] 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 0xffff5c0afbb0> 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 0xffff3be323b0> 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 0xffff5c0afbb0> 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 0xffff3bd415a0> 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 0xffff5c0afbb0> 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 46655 Logging to: /tmp/pytest-of-buildd/pytest-5/test_attach_to_pid_False_0/pydevd_debug_file_15507.txt Both processes started Running: gdb --nw --nh --nx --pid 20518 --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=46655, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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 ' 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.10_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_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, 750 passed, 34 skipped, 7 deselected, 12 warnings in 791.35s (0:13:11) = *** 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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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) [ 8%] 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) [ 16%] 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) [ 17%] 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) [ 24%] 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) [ 25%] 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) [ 26%] 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) [ 33%] 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) [ 34%] 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) [ 35%] 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) [ 41%] 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) [ 42%] 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) [ 43%] 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) [ 44%] 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) [ 49%] 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) [ 50%] 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) [ 51%] 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) [ 52%] 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) [ 53%] 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) [ 58%] 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) [ 59%] 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) [ 60%] 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) [ 61%] 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_code_reload SKIPPED (Test passed in previous runs) [ 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) [ 64%] 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) [ 65%] 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) [ 66%] 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) [ 73%] 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) [ 74%] 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) [ 82%] 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) [ 83%] 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) [ 91%] 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', '43123'] 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 0xffff9e443190> 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 0xffff921d64d0> 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 0xffff9e443190> 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 0xffff921d6e60> 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 0xffff9e443190> 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 43123 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_no_threads_0/pydevd_debug_file_21497.txt Both processes started Running: gdb --nw --nh --nx --pid 21504 --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=43123, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '45169'] 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 0xffff83f121a0> 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 0xffff921d53f0> 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 0xffff83f121a0> 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 0xffff90150280> 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 0xffff83f121a0> 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 45169 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_no_threads_1/pydevd_debug_file_21497.txt Both processes started Running: gdb --nw --nh --nx --pid 21517 --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=45169, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '36669'] 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 0xffff83b7b400> 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 0xffff921d4f70> 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 0xffff83b7b400> @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 0xffff90120280> 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 0xffff83b7b400> @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: 281472969131744\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281472969131744\n', 'Secondary thread ident should be: 281472961810848\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: 281472969131744 E Secondary thread ident should be: 281472961810848 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 36669 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_halted0/pydevd_debug_file_21497.txt Both processes started stdout: Main thread ident should be: 281472969131744 stdout: Secondary thread ident should be: 281472961810848 Running: gdb --nw --nh --nx --pid 21530 --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=36669, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '46179'] 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 0xffff926d9cf0> 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 0xffff90153520> 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 0xffff926d9cf0> 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 0xffff90151ea0> 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 0xffff926d9cf0> 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 46179 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_True_0/pydevd_debug_file_21497.txt Both processes started Running: gdb --nw --nh --nx --pid 21544 --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=46179, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '35023'] 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 0xffff83b8b4c0> 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 0xffff90153490> 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 0xffff83b8b4c0> 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 0xffff83a62cb0> 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 0xffff83b8b4c0> 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 35023 Logging to: /tmp/pytest-of-buildd/pytest-6/test_attach_to_pid_False_0/pydevd_debug_file_21497.txt Both processes started Running: gdb --nw --nh --nx --pid 21557 --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=35023, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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, 784 skipped, 7 deselected, 5 warnings in 109.96s (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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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) [ 8%] 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) [ 16%] 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) [ 17%] 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) [ 24%] 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) [ 25%] 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) [ 26%] 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) [ 33%] 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) [ 34%] 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) [ 35%] 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) [ 41%] 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) [ 42%] 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) [ 43%] 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) [ 44%] 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) [ 49%] 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) [ 50%] 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) [ 51%] 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) [ 52%] 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) [ 53%] 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) [ 58%] 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) [ 59%] 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) [ 60%] 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) [ 61%] 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_code_reload SKIPPED (Test passed in previous runs) [ 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) [ 64%] 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) [ 65%] 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) [ 66%] 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) [ 73%] 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) [ 74%] 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) [ 82%] 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) [ 83%] 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) [ 91%] 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', '41319'] 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 0xffff7bcd4970> 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 0xffff6fa345e0> 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 0xffff7bcd4970> 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 0xffff6fa353f0> 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 0xffff7bcd4970> 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 41319 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_no_threads_0/pydevd_debug_file_21570.txt Both processes started Running: gdb --nw --nh --nx --pid 21577 --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=41319, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '36057'] 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 0xffff6d74fac0> 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 0xffff6fa34670> 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 0xffff6d74fac0> 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 0xffff6d9a0280> 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 0xffff6d74fac0> 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 36057 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_no_threads_1/pydevd_debug_file_21570.txt Both processes started Running: gdb --nw --nh --nx --pid 21590 --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=36057, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '42621'] 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 0xffff6d6e79a0> 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 0xffff6d8d3d90> 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 0xffff6d6e79a0> @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 0xffff6d9a17e0> 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 0xffff6d6e79a0> @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: 281473774089952\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281473774089952\n', 'Secondary thread ident should be: 281473766789536\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: 281473774089952 E Secondary thread ident should be: 281473766789536 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 42621 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_halted0/pydevd_debug_file_21570.txt Both processes started stdout: Main thread ident should be: 281473774089952 stdout: Secondary thread ident should be: 281473766789536 Running: gdb --nw --nh --nx --pid 21604 --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=42621, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '35607'] 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 0xffff6ff2bca0> 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 0xffff6d8d3f40> 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 0xffff6ff2bca0> 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 0xffff6d9688b0> 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 0xffff6ff2bca0> 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 35607 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_True_0/pydevd_debug_file_21570.txt Both processes started Running: gdb --nw --nh --nx --pid 21618 --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=35607, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '33543'] 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 0xffff6d77f5b0> 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 0xffff6fa34790> 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 0xffff6d77f5b0> 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 0xffff6d38f370> 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 0xffff6d77f5b0> 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 33543 Logging to: /tmp/pytest-of-buildd/pytest-7/test_attach_to_pid_False_0/pydevd_debug_file_21570.txt Both processes started Running: gdb --nw --nh --nx --pid 21631 --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=33543, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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, 784 skipped, 7 deselected, 5 warnings in 109.93s (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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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) [ 8%] 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) [ 16%] 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) [ 17%] 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) [ 24%] 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) [ 25%] 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) [ 26%] 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) [ 33%] 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) [ 34%] 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) [ 35%] 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) [ 41%] 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) [ 42%] 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) [ 43%] 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) [ 44%] 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) [ 49%] 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) [ 50%] 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) [ 51%] 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) [ 52%] 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) [ 53%] 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) [ 58%] 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) [ 59%] 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) [ 60%] 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) [ 61%] 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_code_reload SKIPPED (Test passed in previous runs) [ 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) [ 64%] 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) [ 65%] 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) [ 66%] 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) [ 73%] 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) [ 74%] 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) [ 82%] 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) [ 83%] 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) [ 91%] 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', '42741'] 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 0xffff994d4850> 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 0xffff8d2345e0> 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 0xffff994d4850> 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 0xffff8d2353f0> 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 0xffff994d4850> 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 42741 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_no_threads_0/pydevd_debug_file_21644.txt Both processes started Running: gdb --nw --nh --nx --pid 21651 --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=42741, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '41415'] 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 0xffff995015a0> 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 0xffff8d234670> 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 0xffff995015a0> 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 0xffff8c1c4280> 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 0xffff995015a0> 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 41415 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_no_threads_1/pydevd_debug_file_21644.txt Both processes started Running: gdb --nw --nh --nx --pid 21664 --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=41415, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '35687'] 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 0xffff86df7af0> 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 0xffff8c0f3d90> 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 0xffff86df7af0> @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 0xffff8c1c57e0> 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 0xffff86df7af0> @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: 281473449109216\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281473449109216\n', 'Secondary thread ident should be: 281473441796512\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: 281473449109216 E Secondary thread ident should be: 281473441796512 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 35687 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_halted0/pydevd_debug_file_21644.txt Both processes started stdout: Main thread ident should be: 281473449109216 stdout: Secondary thread ident should be: 281473441796512 Running: gdb --nw --nh --nx --pid 21677 --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=35687, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '41023'] 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 0xffff8d72b400> 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 0xffff8c0f3f40> 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 0xffff8d72b400> 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 0xffff8c1988b0> 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 0xffff8d72b400> 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 41023 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_True_0/pydevd_debug_file_21644.txt Both processes started Running: gdb --nw --nh --nx --pid 21691 --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=41023, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '42275'] 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 0xffff86e77430> 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 0xffff8d234790> 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 0xffff86e77430> 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 0xffff869fb370> 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 0xffff86e77430> 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 42275 Logging to: /tmp/pytest-of-buildd/pytest-8/test_attach_to_pid_False_0/pydevd_debug_file_21644.txt Both processes started Running: gdb --nw --nh --nx --pid 21704 --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=42275, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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, 784 skipped, 7 deselected, 5 warnings in 109.88s (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 ============================= 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: forked-1.4.0, xdist-2.5.0 collecting ... collected 796 items / 7 deselected / 789 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) [ 8%] 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) [ 16%] 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) [ 17%] 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) [ 24%] 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) [ 25%] 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) [ 26%] 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) [ 33%] 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) [ 34%] 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) [ 35%] 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) [ 41%] 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) [ 42%] 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) [ 43%] 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) [ 44%] 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) [ 49%] 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) [ 50%] 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) [ 51%] 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) [ 52%] 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) [ 53%] 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) [ 58%] 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) [ 59%] 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) [ 60%] 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) [ 61%] 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_code_reload SKIPPED (Test passed in previous runs) [ 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) [ 64%] 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) [ 65%] 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) [ 66%] 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) [ 73%] 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) [ 74%] 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) [ 82%] 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) [ 83%] 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) [ 91%] 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', '34489'] 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 0xffff913293c0> 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 0xffff8507c5e0> 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 0xffff913293c0> 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 0xffff8507d3f0> 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 0xffff913293c0> 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 34489 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_no_threads_0/pydevd_debug_file_21718.txt Both processes started Running: gdb --nw --nh --nx --pid 21725 --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=34489, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '46409'] 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 0xffff8506ca00> 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 0xffff8507c670> 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 0xffff8506ca00> 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 0xffff7efb0280> 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 0xffff8506ca00> 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 46409 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_no_threads_1/pydevd_debug_file_21718.txt Both processes started Running: gdb --nw --nh --nx --pid 21738 --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=46409, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '43261'] 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 0xffff7ecefa90> 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 0xffff7eee3d90> 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 0xffff7ecefa90> @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 0xffff7ef45090> 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 0xffff7ecefa90> @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: 281473215948512\nSecondary thread...========================\nWriter Log:\nwrite: CMD_THREAD_DUMP_TO_STDERR: 153\t1\t\n\n===========================\nLog:' stdout = ['Main thread ident should be: 281473215948512\n', 'Secondary thread ident should be: 281473208619424\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: 281473215948512 E Secondary thread ident should be: 281473208619424 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 43261 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_halted0/pydevd_debug_file_21718.txt Both processes started stdout: Main thread ident should be: 281473215948512 stdout: Secondary thread ident should be: 281473208619424 Running: gdb --nw --nh --nx --pid 21751 --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=43261, host=\"127.0.0.1\", protocol=\"\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '35017'] 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 0xffff855789d0> 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 0xffff7eee3f40> 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 0xffff855789d0> 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 0xffff7ef45ea0> 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 0xffff855789d0> 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 35017 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_True_0/pydevd_debug_file_21718.txt Both processes started Running: gdb --nw --nh --nx --pid 21765 --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=35017, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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', '44421'] 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 0xffff7ed5c9d0> 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 0xffff8507c8b0> 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 0xffff7ed5c9d0> 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 0xffff7e9a2cb0> 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 0xffff7ed5c9d0> 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 44421 Logging to: /tmp/pytest-of-buildd/pytest-9/test_attach_to_pid_False_0/pydevd_debug_file_21718.txt Both processes started Running: gdb --nw --nh --nx --pid 21781 --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=44421, host=\"127.0.0.1\", protocol=\"http_json\");", 0)' Running gdb in target process. stdout: b'The target architecture is set to "auto" (currently "aarch64").\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, 784 skipped, 7 deselected, 5 warnings in 109.73s (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 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 aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -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-arm64-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 copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevconsole.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_referrers.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_cython.c -> /<>/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_frame_utils.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 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_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_constants.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_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/pydevconsole_code.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_import_class.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_vm_type.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle 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_timeout.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_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_signature.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_io.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_save_locals.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle 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/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/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/__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.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_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/__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__/__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_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/pydevd_xml.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_api.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_bytecode_utils.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_dont_trace.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_utils.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_plugin_utils.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_cython.cpython-311-aarch64-linux-gnu.so -> /<>/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/__init__.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_source_mapping.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_collect_bytecode_info.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_bundle copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydevd_bundle/pydevd_comm_constants.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_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_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_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_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_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_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_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_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_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_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_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_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_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__/__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_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_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_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_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_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_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_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_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_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_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_comm.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_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_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_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_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_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_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_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_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_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_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_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_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__/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_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_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_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_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_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_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__/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_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__/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_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_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_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_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_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/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_console.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 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/__init__.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/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_concurrency_analyser/pydevd_concurrency_logger.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__/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__/__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_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_defaults.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 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_filtering.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_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_reload.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/pydevd_exec2.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/setup_pydevd_cython.py -> /<>/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_pytest2.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_parallel.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_nose.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.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 copying /<>/.pybuild/cpython3_3.11_pydevd/build/_pydev_runfiles/__init__.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.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_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_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_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.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__ creating /<>/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_monkey_qt.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_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_log.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_versioncheck.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/pydev_imports.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_calltip_util.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_filesystem_encoding.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_log.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_is_thread_alive.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_umd.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_localhost.py -> /<>/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 creating /<>/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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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/__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_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/_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_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_sys_patch.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/pydevd.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages creating /<>/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/inputhookqt5.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/qt.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython 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_loaders.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/pydev_ipython/version.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/inputhookgtk.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/inputhookgtk3.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__/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/__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/inputhookglut.py -> /<>/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/inputhook.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydev_ipython creating /<>/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 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/stepwise -> /<>/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/nodeids -> /<>/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/CACHEDIR.TAG -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/.pytest_cache 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_evaluator.c -> /<>/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/__init__.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_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/__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/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/pydevd_frame_eval_cython_wrapper.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/_pydevd_frame_eval 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/pydev_app_engine_debug_startup.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/__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__/pydevconsole.cpython-311.pyc -> /<>/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__/pydevd_tracing.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__ 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/add_code_to_python_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/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/_always_live_program.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/_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/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_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/attach_script.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__ 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/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/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/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/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/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/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/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/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/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/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/crash.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/__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/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/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/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/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/winappdbg/thread.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/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/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/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/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/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/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/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/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/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/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/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/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/__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/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/shell32.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_attach_to_process/winappdbg/win32 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/pydevd_plugins creating /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/extensions 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__ 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_plugin_numpy_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/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/__init__.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_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/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_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__/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_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/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/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/pydevd_line_validation.py -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins copying /<>/.pybuild/cpython3_3.11_pydevd/build/pydevd_plugins/django_debug.py -> /<>/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/__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__/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/__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__/django_debug.cpython-311.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/__pycache__ 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_bundle/pydevd_referrers.py to pydevd_referrers.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_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_frame_utils.py to pydevd_frame_utils.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_runpy.py to pydevd_runpy.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_constants.py to pydevd_constants.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_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/pydevconsole_code.py to pydevconsole_code.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_import_class.py to pydevd_import_class.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_vm_type.py to pydevd_vm_type.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_timeout.py to pydevd_timeout.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_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_signature.py to pydevd_signature.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_io.py to pydevd_io.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_save_locals.py to pydevd_save_locals.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/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/__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.py to pydevd_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/pydevd_xml.py to pydevd_xml.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_api.py to pydevd_api.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_bytecode_utils.py to pydevd_bytecode_utils.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_dont_trace.py to pydevd_dont_trace.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_utils.py to pydevd_utils.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_plugin_utils.py to pydevd_plugin_utils.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_thread_lifecycle.py to pydevd_thread_lifecycle.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_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_source_mapping.py to pydevd_source_mapping.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_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/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_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_console.py to pydevd_console.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_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_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_defaults.py to pydevd_defaults.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 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_filtering.py to pydevd_filtering.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_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_reload.py to pydevd_reload.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/pydevd_exec2.py to pydevd_exec2.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/setup_pydevd_cython.py to setup_pydevd_cython.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_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_parallel.py to pydev_runfiles_parallel.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_nose.py to pydev_runfiles_nose.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.py to pydev_runfiles.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/__init__.py to __init__.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_monkey_qt.py to pydev_monkey_qt.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_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_log.py to pydev_log.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_versioncheck.py to pydev_versioncheck.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/pydev_imports.py to pydev_imports.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_calltip_util.py to _pydev_calltip_util.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_filesystem_encoding.py to _pydev_filesystem_encoding.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_log.py to _pydev_log.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_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/__init__.py to __init__.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_tipper_common.py to _pydev_tipper_common.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_console_utils.py to pydev_console_utils.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_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_sys_patch.py to _pydev_sys_patch.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/pydevd.py to pydevd.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/inputhookqt5.py to inputhookqt5.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/qt.py to qt.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_loaders.py to qt_loaders.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/pydev_ipython/version.py to version.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/inputhookgtk.py to inputhookgtk.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/inputhookgtk3.py to inputhookgtk3.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/inputhooktk.py to inputhooktk.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/_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/__init__.py to __init__.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/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/pydevd_tracing.py to pydevd_tracing.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_file_utils.py to pydevd_file_utils.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/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/_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/_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/_check.py to _check.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_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/attach_script.py to attach_script.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/interactive.py to interactive.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/process.py to process.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/search.py to search.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/debug.py to debug.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/breakpoint.py to breakpoint.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/textio.py to textio.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/system.py to system.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/window.py to window.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/winappdbg/thread.py to thread.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/shlwapi.py to shlwapi.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/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/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/dbghelp.py to dbghelp.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/version.py to version.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/gdi32.py to gdi32.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/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/__init__.py to __init__.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/shell32.py to shell32.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/pydevd_plugins/extensions/__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/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/__init__.py to __init__.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/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/pydevd_line_validation.py to pydevd_line_validation.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/jinja2_debug.py to jinja2_debug.cpython-311.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.11/dist-packages/pydevd_plugins/__init__.py to __init__.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 copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevconsole.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_referrers.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_cython.c -> /<>/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_frame_utils.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 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_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_constants.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_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/pydevconsole_code.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_import_class.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_vm_type.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle 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_timeout.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_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_signature.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_io.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_save_locals.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_bundle 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/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/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/__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.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_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/__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_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/pydevd_xml.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_api.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_bytecode_utils.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_dont_trace.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_utils.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_plugin_utils.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_thread_lifecycle.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_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_source_mapping.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_cython.cpython-310-aarch64-linux-gnu.so -> /<>/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/pydevd_comm_constants.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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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__/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_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_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_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_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_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_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_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_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_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__/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_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_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_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_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_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_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_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_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_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_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__/__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_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_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_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_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_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_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_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__/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_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/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_console.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 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/__init__.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/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_concurrency_analyser/pydevd_concurrency_logger.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_defaults.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 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_filtering.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_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_reload.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/pydevd_exec2.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/setup_pydevd_cython.py -> /<>/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_pytest2.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_parallel.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_nose.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.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 copying /<>/.pybuild/cpython3_3.10_pydevd/build/_pydev_runfiles/__init__.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_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/__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_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_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.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_xml_rpc.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydev_runfiles/__pycache__ creating /<>/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_monkey_qt.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_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_log.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_versioncheck.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/pydev_imports.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_calltip_util.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_filesystem_encoding.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_log.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_is_thread_alive.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_umd.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_localhost.py -> /<>/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 creating /<>/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_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_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__/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_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/__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_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_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_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_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_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_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__/__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_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_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_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_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/_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_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_sys_patch.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/pydevd.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages creating /<>/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/inputhookqt5.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/qt.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython 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_loaders.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/pydev_ipython/version.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/inputhookgtk.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/inputhookgtk3.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__/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/__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/inputhookglut.py -> /<>/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/inputhook.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydev_ipython creating /<>/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 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/stepwise -> /<>/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/nodeids -> /<>/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/CACHEDIR.TAG -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/.pytest_cache 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_evaluator.c -> /<>/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.cpython-310-aarch64-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_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/__init__.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__/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__/__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_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_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/pydevd_frame_eval_cython_wrapper.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/_pydevd_frame_eval 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/pydev_app_engine_debug_startup.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/__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__/pydevd_tracing.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_file_utils.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/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/add_code_to_python_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/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/_always_live_program.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/_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/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_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/attach_script.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__ 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/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/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/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/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/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/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/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/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/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/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/crash.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/__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/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/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/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/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/winappdbg/thread.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/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/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/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/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/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/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/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/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/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/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/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/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/__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/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/shell32.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_attach_to_process/winappdbg/win32 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/pydevd_plugins creating /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/extensions 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__ 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_plugin_numpy_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/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/__init__.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__/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/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__/__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_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/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/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/pydevd_line_validation.py -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins copying /<>/.pybuild/cpython3_3.10_pydevd/build/pydevd_plugins/django_debug.py -> /<>/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/__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__/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/__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__/__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__/django_debug.cpython-310.pyc -> /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/__pycache__ 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_bundle/pydevd_referrers.py to pydevd_referrers.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_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_frame_utils.py to pydevd_frame_utils.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_runpy.py to pydevd_runpy.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_constants.py to pydevd_constants.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_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/pydevconsole_code.py to pydevconsole_code.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_import_class.py to pydevd_import_class.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_vm_type.py to pydevd_vm_type.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_timeout.py to pydevd_timeout.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_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_signature.py to pydevd_signature.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_io.py to pydevd_io.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_save_locals.py to pydevd_save_locals.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/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/__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.py to pydevd_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/pydevd_xml.py to pydevd_xml.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_api.py to pydevd_api.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_bytecode_utils.py to pydevd_bytecode_utils.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_dont_trace.py to pydevd_dont_trace.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_utils.py to pydevd_utils.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_plugin_utils.py to pydevd_plugin_utils.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_thread_lifecycle.py to pydevd_thread_lifecycle.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_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_source_mapping.py to pydevd_source_mapping.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_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/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_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_console.py to pydevd_console.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_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_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_defaults.py to pydevd_defaults.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 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_filtering.py to pydevd_filtering.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_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_reload.py to pydevd_reload.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/pydevd_exec2.py to pydevd_exec2.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/setup_pydevd_cython.py to setup_pydevd_cython.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_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_parallel.py to pydev_runfiles_parallel.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_nose.py to pydev_runfiles_nose.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.py to pydev_runfiles.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/__init__.py to __init__.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_monkey_qt.py to pydev_monkey_qt.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_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_log.py to pydev_log.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_versioncheck.py to pydev_versioncheck.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/pydev_imports.py to pydev_imports.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_calltip_util.py to _pydev_calltip_util.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_filesystem_encoding.py to _pydev_filesystem_encoding.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_log.py to _pydev_log.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_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/__init__.py to __init__.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_tipper_common.py to _pydev_tipper_common.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_console_utils.py to pydev_console_utils.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_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_sys_patch.py to _pydev_sys_patch.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/pydevd.py to pydevd.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/inputhookqt5.py to inputhookqt5.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/qt.py to qt.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_loaders.py to qt_loaders.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/pydev_ipython/version.py to version.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/inputhookgtk.py to inputhookgtk.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/inputhookgtk3.py to inputhookgtk3.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/inputhooktk.py to inputhooktk.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/_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/__init__.py to __init__.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/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/pydevd_tracing.py to pydevd_tracing.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_file_utils.py to pydevd_file_utils.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/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/_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/_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/_check.py to _check.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_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/attach_script.py to attach_script.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/interactive.py to interactive.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/process.py to process.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/search.py to search.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/debug.py to debug.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/breakpoint.py to breakpoint.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/textio.py to textio.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/system.py to system.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/window.py to window.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/winappdbg/thread.py to thread.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/shlwapi.py to shlwapi.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/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/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/dbghelp.py to dbghelp.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/version.py to version.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/gdi32.py to gdi32.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/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/__init__.py to __init__.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/shell32.py to shell32.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/pydevd_plugins/extensions/__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/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/__init__.py to __init__.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/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/pydevd_line_validation.py to pydevd_line_validation.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/jinja2_debug.py to jinja2_debug.cpython-310.pyc byte-compiling /<>/debian/python3-pydevd/usr/lib/python3.10/dist-packages/pydevd_plugins/__init__.py to __init__.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_bundle/pydevd_cython.cpython-311-aarch64-linux-gnu.so: Unknown DWARF DW_FORM_0x1f21 67531e97e098e48691e1f38362a5d25d11bff9e5 debugedit: debian/python3-pydevd/usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_cython.cpython-310-aarch64-linux-gnu.so: Unknown DWARF DW_FORM_0x1f20 92ed7c25c32e7d8adc4b3de0ffde623c4f8b5604 debugedit: debian/python3-pydevd/usr/lib/python3/dist-packages/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-aarch64-linux-gnu.so: Unknown DWARF DW_FORM_0x1f20 408ee51338405261034ee6f851f11cc27e8444e4 debugedit: debian/python3-pydevd/usr/lib/python3/dist-packages/pydevd_attach_to_process/attach.so: Unknown DWARF DW_FORM_0x1f21 e5526d7c5f1b065709effe11ced084ee2615f9f2 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_arm64.deb'. dpkg-genbuildinfo --build=any -O../pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.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:17:45Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.changes: ----------------------------------------------------------- Format: 1.8 Date: Thu, 20 Oct 2022 19:56:16 +0000 Source: pydevd Binary: python3-pydevd Built-For-Profiles: noudeb Architecture: arm64 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: ec745917b09ef491ad266729695b3e27b1d94a32 16339 pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.buildinfo 69631ba6b5e92889faf255b719a207c6141cb73b 602882 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.deb Checksums-Sha256: a76666579b0038ddc6b284d1ca50b3e4975acc4cf5bb6bb4e10ba839b77b9dc8 16339 pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.buildinfo ba1738e53001ed49e0d036c04397f67fc02ded0e025de26580a49d488418cdc4 602882 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.deb Files: e2c02dc9ae6415100d755f07696f4751 16339 python optional pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.buildinfo a5cea69b10890ad7033b72c4395949d7 602882 python optional python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.deb /<>/pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.changes.new could not be renamed to /<>/pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: pydevd Binary: python3-pydevd Architecture: arm64 Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Checksums-Md5: a5cea69b10890ad7033b72c4395949d7 602882 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.deb Checksums-Sha1: 69631ba6b5e92889faf255b719a207c6141cb73b 602882 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.deb Checksums-Sha256: ba1738e53001ed49e0d036c04397f67fc02ded0e025de26580a49d488418cdc4 602882 python3-pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2_arm64.deb Build-Origin: Ubuntu Build-Architecture: arm64 Build-Date: Thu, 20 Oct 2022 21:17:44 +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-aarch64-linux-gnu (= 2.39-3ubuntu1), binutils-common (= 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), libgprofng0 (= 2.39-3ubuntu1), 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), libhwasan0 (= 12.2.0-3ubuntu1), 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), 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_arm64.deb -------------------------------------------------------------- new Debian package, version 2.0. size 602882 bytes: control archive=5176 bytes. 972 bytes, 24 lines control 15454 bytes, 151 lines md5sums 275 bytes, 12 lines * postinst #!/bin/sh 388 bytes, 12 lines * prerm #!/bin/sh Package: python3-pydevd Source: pydevd Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Architecture: arm64 Maintainer: Debian Python Team Installed-Size: 3438 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 414736 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_cython.cpython-310-aarch64-linux-gnu.so -rw-r--r-- root/root 414736 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_bundle/pydevd_cython.cpython-311-aarch64-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 208736 2022-10-20 19:56 ./usr/lib/python3/dist-packages/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-310-aarch64-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 67384 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: arm64 Build Type: any Build-Space: 74116 Build-Time: 3958 Distribution: kinetic Host Architecture: arm64 Install-Time: 145 Job: pydevd_2.8.0+git20220826.8ee4065+ds-1ubuntu2.dsc Machine Architecture: arm64 Package: pydevd Package-Time: 4104 Source-Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 Space: 74116 Status: successful Version: 2.8.0+git20220826.8ee4065+ds-1ubuntu2 -------------------------------------------------------------------------------- Finished at 2022-10-20T21:17:45Z Build needed 01:08:24, 74116k disk space Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=kinetic --arch=arm64 PACKAGEBUILD-24561509 Scanning for processes to kill in build PACKAGEBUILD-24561509