Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 766379 Details for
Bug 834660
dev-python/loky-3.1.0 fails tests on MUSL
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 669.43 KB, created by
Agostino Sarubbo
on 2022-03-06 08:40:52 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2022-03-06 08:40:52 UTC
Size:
669.43 KB
patch
obsolete
> * Package: dev-python/loky-3.1.0 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/e25446e8a0599994b1c873c65b01a7b14380d291 (Sun Mar 6 01:35:13 UTC 2022) >@@@@@ END @@@@@ > > > >################## ># emerge --info: # >################## >Portage 3.0.30 (python 3.10.2-final-0, default/linux/amd64/17.0/musl/hardened, gcc-11.2.1, musl-1.2.2-r8, 4.19.174-gentoo x86_64) >================================================================= >System uname: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-libc >KiB Mem: 264046488 total, 185991416 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Sun, 06 Mar 2022 01:35:12 +0000 >sh bash 5.1_p16 >ld GNU ld (Gentoo 2.37_p1 p2) 2.37 >app-misc/pax-utils: 1.3.3::gentoo >app-shells/bash: 5.1_p16::gentoo >dev-lang/perl: 5.34.0-r8::gentoo >dev-lang/python: 3.8.12_p2::gentoo, 3.9.10_p1::gentoo, 3.10.2_p1::gentoo >dev-util/cmake: 3.22.2::gentoo >dev-util/meson: 0.61.1::gentoo >sys-apps/baselayout: 2.8::gentoo >sys-apps/openrc: 0.44.10::gentoo >sys-apps/sandbox: 2.29::gentoo >sys-devel/autoconf: 2.71-r1::gentoo >sys-devel/automake: 1.16.5::gentoo >sys-devel/binutils: 2.37_p1-r2::gentoo >sys-devel/binutils-config: 5.4.1::gentoo >sys-devel/gcc: 11.2.1_p20220115::gentoo >sys-devel/gcc-config: 2.5-r1::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.16::gentoo (virtual/os-headers) >sys-libs/musl: 1.2.2-r8::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-max-age: 24 > sync-rsync-verify-jobs: 1 > sync-rsync-extra-opts: > sync-rsync-verify-metamanifest: yes > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* BSD" >CBUILD="x86_64-gentoo-linux-musl" >CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >CHOST="x86_64-gentoo-linux-musl" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >DISTDIR="/var/tmp/portage/dev-python/loky-3.1.0/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" >INSTALL_MASK="charset.alias /usr/share/locale/locale.alias" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >MAKEOPTS="-j16" >PKGDIR="/root/tbci/binpkg" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="acl amd64 bzip2 crypt elogind hardened iconv ipv6 jumbo-build libglvnd libtirpc native-symlinks ncurses nls nptl openmp pam pcre pie readline seccomp split-usr ssl ssp test unicode xattr xtpax zlib" ABI_X86="64" ELIBC="musl" KERNEL="linux" PYTHON_TARGETS="python3_8 python3_9 python3_10" USERLAND="GNU" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > > > > > >############################## ># emerge history (qlop -mv): # >############################## >2022-03-06T04:01:44 >>> dev-python/cloudpickle-2.0.0 >2022-03-06T04:01:46 >>> dev-python/psutil-5.9.0 >2022-03-06T04:01:49 >>> dev-python/iniconfig-1.1.1 >2022-03-06T04:01:52 >>> dev-python/pluggy-1.0.0-r1 >2022-03-06T04:01:48 >>> dev-python/numpy-1.22.2 >2022-03-06T04:01:54 >>> dev-python/py-1.11.0-r1 >2022-03-06T04:01:56 >>> dev-python/cython-0.29.28 >2022-03-06T04:01:57 >>> dev-python/namespace-zope-1-r1 >2022-03-06T04:02:44 >>> dev-python/zope-interface-5.4.0 >2022-03-06T04:02:51 >>> dev-python/attrs-21.4.0 >2022-03-06T04:02:57 >>> dev-python/pytest-7.0.1 > > > > >####################################### ># installed packages (qlist -ICvUSS): # >####################################### >acct-group/audio-0-r1:0 >acct-group/cdrom-0-r1:0 >acct-group/dialout-0-r1:0 >acct-group/disk-0-r1:0 >acct-group/input-0-r1:0 >acct-group/kmem-0-r1:0 >acct-group/kvm-0-r1:0 >acct-group/lp-0-r1:0 >acct-group/man-0-r1:0 >acct-group/messagebus-0-r1:0 >acct-group/portage-0:0 >acct-group/render-0-r1:0 >acct-group/sgx-0:0 >acct-group/sshd-0-r1:0 >acct-group/tape-0-r1:0 >acct-group/tty-0-r1:0 >acct-group/video-0-r1:0 >acct-user/man-1-r1:0 >acct-user/messagebus-0-r1:0 >acct-user/portage-0:0 >acct-user/sshd-0-r1:0 >app-admin/eselect-1.4.20:0 -doc -emacs -vim-syntax >app-admin/perl-cleaner-2.30:0 >app-arch/bzip2-1.0.8-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static -static-libs >app-arch/gzip-1.11:0 -pic -static >app-arch/libarchive-3.6.0:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs xattr -zstd >app-arch/tar-1.34:0 acl -minimal nls -selinux xattr >app-arch/unzip-6.0_p26:0 bzip2 -natspec unicode >app-arch/xz-utils-5.2.5-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 extra-filters nls split-usr -static-libs >app-arch/zstd-1.5.2:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -lz4 -static-libs threads >app-crypt/gnupg-2.3.4-r1:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server >app-crypt/gpgme-1.17.0-r1:1/11.6.7 -common-lisp cxx -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -qt5 -static-libs >app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs >app-crypt/libmd-1.0.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >app-crypt/pinentry-1.2.0:0 -caps -efl -emacs -gnome-keyring -gtk ncurses -qt5 >app-crypt/rhash-1.4.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug nls ssl -static-libs >app-editors/nano-6.2:0 -debug -justify -magic -minimal ncurses nls spell split-usr -static unicode >app-eselect/eselect-fontconfig-1.1-r1:0 >app-eselect/eselect-iptables-20211203:0 >app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 >app-eselect/eselect-pinentry-0.7.2:0 >app-misc/c_rehash-1.7-r1:0 >app-misc/ca-certificates-20211016.3.72:0 -cacert >app-misc/editor-wrapper-4-r1:0 >app-misc/mime-types-2.1.53:0 -nginx >app-misc/pax-utils-1.3.3:0 -caps -debug -python -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 seccomp >app-misc/tmux-3.2a:0 -debug -selinux -utempter -vim-syntax >app-portage/eix-0.36.1:0 -debug -doc nls -sqlite >app-portage/elt-patches-20211104:0 >app-portage/gemato-16.2:0 gpg -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test -tools >app-portage/gentoolkit-0.5.1-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >app-portage/portage-utils-0.93.3:0 nls openmp qmanifest qtegrity -static >app-shells/bash-5.1_p16:0 -afs -bashlogger -examples -mem-scramble net nls -plugins readline >app-shells/push-3.4:0 >app-shells/quoter-4.2:0 >app-text/ansifilter-2.18:0 -qt5 >app-text/build-docbook-catalog-2.2:0 >app-text/docbook-xml-dtd-4.5-r2:4.5 >app-text/docbook-xml-dtd-4.4-r3:4.4 >app-text/docbook-xml-dtd-4.2-r3:4.2 >app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 >app-text/docbook-xsl-stylesheets-1.79.1-r2:0 -ruby >app-text/manpager-1:0 >app-text/sgml-common-0.6.3-r7:0 >app-text/xmlto-0.0.28-r8:0 -latex -text >dev-db/sqlite-3.38.0:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools >dev-lang/perl-5.34.0-r8:0/5.34 -berkdb -debug -doc -gdbm ithreads -minimal -quadmath >dev-lang/python-3.10.2_p1:3.10 -bluetooth -build -examples gdbm hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig -wininst xml >dev-lang/python-3.9.10_p1:3.9 -bluetooth -build -examples gdbm hardened -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig -wininst xml >dev-lang/python-3.8.12_p2:3.8 -bluetooth -build -examples gdbm hardened ncurses readline sqlite ssl -test -tk -verify-sig -wininst xml >dev-lang/python-exec-2.4.8:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-lang/python-exec-conf-2.4.6:2 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 >dev-lang/tcl-8.6.12:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug threads >dev-libs/elfutils-0.186:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma nls -static-libs -test -threads utils -valgrind -zstd >dev-libs/expat-2.4.7:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples -static-libs unicode >dev-libs/glib-2.70.4:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -dbus -debug elf -fam -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr >dev-libs/gmp-6.2.1-r2:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cxx -doc -pic -static-libs >dev-libs/gobject-introspection-1.70.0:0 -doctool -gtk-doc -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 -test >dev-libs/gobject-introspection-common-1.70.0:0 >dev-libs/isl-0.24-r2:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/jsoncpp-1.9.5:0/25 -doc -test >dev-libs/libassuan-2.5.5:0 >dev-libs/libbsd-0.11.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/libevent-2.1.12:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 clock-gettime -debug -malloc-replacement ssl -static-libs -test threads -verbose-debug >dev-libs/libffi-3.4.2-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -exec-static-trampoline -pax-kernel -static-libs -test >dev-libs/libgcrypt-1.9.4-r1:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc -o-flag-munging -static-libs -verify-sig >dev-libs/libgpg-error-1.44:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs >dev-libs/libksba-1.6.0:0 -static-libs >dev-libs/libltdl-2.4.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/libpcre-8.45:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 cxx -jit -libedit pcre16 pcre32 readline recursion-limit split-usr -static-libs unicode zlib >dev-libs/libpcre2-10.39:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -jit -libedit pcre16 pcre32 readline recursion-limit split-usr -static-libs unicode zlib >dev-libs/libpipeline-1.5.5:0 -test >dev-libs/libtasn1-4.18.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -valgrind >dev-libs/libunistring-1.0:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs >dev-libs/libuv-1.43.0:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >dev-libs/libxml2-2.9.13-r1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -examples -icu -lzma python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 readline -static-libs -test >dev-libs/libxslt-1.1.35:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 crypt -debug -examples -static-libs >dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs >dev-libs/mpc-1.2.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/mpfr-4.1.0_p13-r1:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/nettle-3.7.3:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_neon cpu_flags_x86_aes -cpu_flags_x86_sha -doc gmp -static-libs -test >dev-libs/npth-1.6-r1:0 >dev-libs/openssl-1.1.1m:0/1.1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -rfc3779 -sctp -sslv3 -static-libs -test -tls-compression -tls-heartbeat -vanilla >dev-libs/popt-1.18:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs >dev-perl/Devel-CheckLib-1.140.0:0 -test >dev-perl/Encode-Locale-1.50.0-r1:0 -test >dev-perl/File-Listing-6.140.0:0 -test >dev-perl/HTML-Parser-3.760.0:0 -test >dev-perl/HTML-Tagset-3.200.0-r2:0 >dev-perl/HTTP-Cookies-6.100.0:0 -test >dev-perl/HTTP-Date-6.50.0:0 >dev-perl/HTTP-Message-6.330.0:0 -test -test >dev-perl/HTTP-Negotiate-6.10.0-r2:0 -test >dev-perl/IO-HTML-1.4.0:0 -test >dev-perl/IO-Socket-INET6-2.720.0-r2:0 -test >dev-perl/IO-Socket-SSL-2.74.0:0 -examples -idn -test >dev-perl/libwww-perl-6.600.0-r1:0 ssl -test >dev-perl/Locale-gettext-1.70.0-r1:0 -test >dev-perl/LWP-MediaTypes-6.40.0:0 -test >dev-perl/LWP-Protocol-https-6.100.0:0 -test >dev-perl/Module-Build-0.423.100:0 -test >dev-perl/Mozilla-CA-20999999-r1:0 -test >dev-perl/Net-HTTP-6.210.0:0 -minimal -test >dev-perl/Net-SSLeay-1.900.0:0 -examples -examples -minimal -test >dev-perl/Socket6-0.290.0:0 -test >dev-perl/TimeDate-2.330.0-r1:0 -test >dev-perl/Try-Tiny-0.310.0:0 -minimal -test >dev-perl/URI-5.100.0:0 -test >dev-perl/WWW-RobotRules-6.20.0-r2:0 -test >dev-perl/XML-Parser-2.460.0-r2:0 >dev-python/appdirs-1.4.4-r2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 >dev-python/attrs-21.4.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/certifi-3021.3.16-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/charset_normalizer-2.0.12:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/cloudpickle-2.0.0:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/cython-0.29.28:0 -doc -emacs -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/flit_core-3.7.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/idna-3.3:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 >dev-python/importlib_metadata-4.11.2:0 -doc -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/importlib_resources-5.4.0-r3:0 -doc -python_targets_pypy3 python_targets_python3_8 -test >dev-python/iniconfig-1.1.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/installer-0.5.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/jaraco-context-4.1.1-r2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/jaraco-functools-3.5.0-r2:0 -doc -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/jaraco-text-3.7.0-r2:0 -doc -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/jinja-3.0.3:0 -doc -examples -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/markupsafe-2.1.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/more-itertools-8.12.0-r1:0 -doc -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/namespace-zope-1-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 >dev-python/numpy-1.22.2:0 -doc -lapack python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/ordered-set-4.1.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/packaging-21.3-r2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/pluggy-1.0.0-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/psutil-5.9.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/py-1.11.0-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/pyparsing-3.0.7-r1:0 -examples -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/pypax-0.9.5-r1:0 -ptpax python_targets_python3_8 python_targets_python3_9 xtpax >dev-python/PySocks-1.7.1-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 >dev-python/pytest-7.0.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/requests-2.27.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -socks5 -test >dev-python/setuptools-60.9.2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/setuptools_scm-6.4.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/tomli-2.0.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/urllib3-1.26.8:0 -brotli -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/wheel-0.37.1-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/zipp-3.7.0-r1:0 -doc -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-python/zope-interface-5.4.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-util/cmake-3.22.2:0 -doc -emacs ncurses -qt5 -test -test >dev-util/desktop-file-utils-0.26-r1:0 -emacs >dev-util/glib-utils-2.70.4:0 -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 >dev-util/gperf-3.1:0 >dev-util/gtk-doc-am-1.33.2:0 >dev-util/intltool-0.51.0-r2:0 >dev-util/meson-0.61.1:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test >dev-util/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 >dev-util/ninja-1.10.2-r1:0 -doc -emacs -test -vim-syntax >dev-util/pkgconf-1.8.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -test >dev-util/re2c-2.2:0 -debug -test >dev-vcs/git-2.35.1:0 blksha1 -cgi curl -cvs -doc -emacs -gnome-keyring gpg -highlight iconv -mediawiki -mediawiki-experimental nls pcre -perforce -perl -ppcsha1 -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 -subversion -test threads -tk webdav -xinetd >media-fonts/liberation-fonts-2.1.3:0 -X -X -fontforge >media-gfx/graphite2-1.3.14_p20210810-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -perl -test >media-libs/fontconfig-2.13.1-r2:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs >media-libs/freetype-2.11.1:2 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting -debug -doc -fontforge harfbuzz -infinality png -static-libs -utils >media-libs/harfbuzz-4.0.0:0/4.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cairo -debug -doc -experimental glib graphite -icu introspection -test truetype >media-libs/libpng-1.6.37-r2:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs >net-dns/libidn2-2.3.2:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >net-firewall/iptables-1.8.7-r1:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs >net-libs/gnutls-3.7.3:0/30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cxx -dane -doc -examples -guile idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -valgrind >net-libs/libmnl-1.0.4:0/0.2.0 -examples split-usr -static-libs >net-libs/nghttp2-1.47.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx -debug -hpack-tools -jemalloc -static-libs -test threads -utils -xml >net-misc/curl-7.81.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -adns -alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls -curl_ssl_nss curl_ssl_openssl ftp -gnutls -gopher -hsts http2 -idn imap ipv6 -kerberos -ldap -mbedtls -nghttp3 -nss openssl pop3 progress-meter -quiche -rtmp -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -threads -zstd >net-misc/iputils-20210722-r1:0 arping -caps -clockdiff -doc filecaps -gcrypt -idn -nettle nls -rarpd -rdisc ssl -static -test -tftpd -tracepath -traceroute6 >net-misc/netifrc-0.7.3:0 >net-misc/openssh-8.9_p1-r1:0 -X -X509 -abi_mips_n32 -audit -debug -hpn -kerberos -ldns -libedit -livecd pam pie scp -sctp -security-key -selinux ssl -static -test -xmss >net-misc/rsync-3.2.3-r5:0 acl -examples iconv ipv6 -lz4 ssl -stunnel -system-zlib xattr -xxhash -zstd >net-misc/wget-1.21.3:0 -cookie-check -debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid zlib >perl-core/CPAN-2.290.0-r1:0 >perl-core/Encode-3.120.0:0 >perl-core/File-Temp-0.231.100:0 >perl-core/Scalar-List-Utils-1.560.0:0 >sec-keys/openpgp-keys-gentoo-release-20220101:0 -test >sys-apps/acl-2.3.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls split-usr -static-libs >sys-apps/attr-2.5.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug nls split-usr -static-libs >sys-apps/baselayout-2.8:0 -build split-usr >sys-apps/coreutils-9.0-r2:0 acl -caps -gmp -hostname -kill -multicall nls -selinux split-usr -static -test -vanilla xattr >sys-apps/dbus-1.12.22:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc elogind -selinux -static-libs -systemd -test -test >sys-apps/debianutils-5.5:0 installkernel -static >sys-apps/diffutils-3.8:0 nls -static >sys-apps/elfix-0.9.5:0 -ptpax xtpax >sys-apps/file-5.41:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -seccomp -static-libs zlib >sys-apps/findutils-4.9.0:0 nls -selinux -static -test >sys-apps/gawk-5.1.1-r1:0 -mpfr nls readline >sys-apps/gentoo-functions-0.15:0 >sys-apps/grep-3.7:0 nls pcre -static >sys-apps/groff-1.22.4:0 -X -examples -uchardet >sys-apps/help2man-1.48.5:0 nls >sys-apps/install-xattr-0.8:0 >sys-apps/iproute2-5.16.0:0 -atm -berkdb -bpf -caps -elf iptables -libbsd -minimal -selinux >sys-apps/kbd-2.4.0:0 nls pam -test >sys-apps/kmod-29:0 -debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -static-libs tools zlib -zstd >sys-apps/less-590:0 pcre unicode >sys-apps/man-db-2.10.1:0 -berkdb manpager -nls seccomp -selinux -static-libs zlib >sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static >sys-apps/openrc-0.44.10:0 -audit -bash -debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode >sys-apps/portage-3.0.30-r1:0 -apidoc -build -doc -gentoo-dev ipc native-extensions -python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 rsync-verify -selinux -test xattr >sys-apps/sandbox-2.29:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nnp >sys-apps/sed-4.8:0 acl nls -selinux -static >sys-apps/shadow-4.11.1:0/4 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr -su xattr >sys-apps/systemd-tmpfiles-249.9:0 -selinux -test >sys-apps/sysvinit-3.01:0 -ibm -selinux -static >sys-apps/texinfo-6.8:0 nls standalone -static >sys-apps/util-linux-2.37.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 readline -rtas -selinux -slang split-usr -static-libs su suid -systemd -test -tty-helpers -udev unicode >sys-apps/which-2.21:0 >sys-auth/elogind-246.10-r2:0 acl -audit cgroup-hybrid -debug -doc pam -policykit -selinux >sys-auth/pambase-20220214:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -systemd -yescrypt >sys-auth/passwdqc-2.0.2-r1:0 >sys-devel/autoconf-2.71-r1:2.71 -emacs >sys-devel/autoconf-archive-2022.02.11:0 >sys-devel/autoconf-wrapper-20220130:0 >sys-devel/automake-1.16.5:1.16 -test >sys-devel/automake-wrapper-11:0 >sys-devel/binutils-2.37_p1-r2:2.37 -cet -default-gold -doc gold -multitarget nls -pgo plugins -static-libs -test -vanilla >sys-devel/binutils-config-5.4.1:0 native-symlinks >sys-devel/bison-3.8.2:0 -examples nls -static -test >sys-devel/flex-2.6.4-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static -test >sys-devel/gcc-11.2.1_p20220115:11 -ada -cet -custom-cflags cxx -d -debug -doc -fixed-point -fortran -go graphite hardened -jit -libssp lto -multilib -nls nptl -objc -objc++ -objc-gc openmp -pch -pgo pie -sanitize ssp -systemtap -test -valgrind -vanilla -vtv -zstd >sys-devel/gcc-config-2.5-r1:0 cc-wrappers native-symlinks >sys-devel/gettext-0.21-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -cvs cxx -doc -emacs -git -java -java ncurses -nls openmp -static-libs >sys-devel/gnuconfig-20210107:0 >sys-devel/libtool-2.4.6-r6:2 -vanilla >sys-devel/m4-1.4.19:0 -examples nls >sys-devel/make-4.3:0 -guile nls -static >sys-devel/patch-2.7.6-r4:0 -static -test xattr >sys-fs/e2fsprogs-1.46.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cron -fuse -lto -nls split-usr -static-libs threads tools >sys-fs/udev-249.9:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl kmod -selinux split-usr -test >sys-fs/udev-init-scripts-35:0 >sys-kernel/installkernel-gentoo-5:0 -grub >sys-kernel/linux-headers-5.16:0 -headers-only >sys-libs/argp-standalone-1.4.1-r1:0 -static-libs >sys-libs/binutils-libs-2.37_p1-r2:0/2.37 -64-bit-bfd -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cet -multitarget nls -static-libs >sys-libs/fts-standalone-1.2.7:0 -static-libs >sys-libs/gdbm-1.23:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs >sys-libs/libcap-2.63:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 pam split-usr -static-libs -tools >sys-libs/libseccomp-2.5.3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -static-libs -test >sys-libs/musl-1.2.2-r8:0 -headers-only >sys-libs/ncurses-6.3_p20211106:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -ada cxx -debug -doc -gpm -minimal -profile split-usr -static-libs -test tinfo -trace >sys-libs/obstack-standalone-1.1:0 -static-libs >sys-libs/pam-1.5.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -berkdb -debug -filecaps -nis -selinux >sys-libs/readline-8.1_p2:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils >sys-libs/zlib-1.2.11-r4:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 minizip split-usr -static-libs >sys-process/procps-3.3.17-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux split-usr -static-libs -systemd -test unicode >sys-process/psmisc-23.4-r1:0 -X ipv6 nls -selinux >virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/awk-1:0 >virtual/dev-manager-0-r2:0 >virtual/editor-0-r3:0 >virtual/libc-1-r1:0 >virtual/libcrypt-1-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/libelf-3:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libudev-232-r5:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -systemd >virtual/man-0-r4:0 >virtual/os-headers-0-r2:0 >virtual/package-manager-1:0 >virtual/pager-0:0 >virtual/perl-Carp-1.520.0-r1:0 >virtual/perl-Compress-Raw-Bzip2-2.101.0:0 >virtual/perl-Compress-Raw-Zlib-2.101.0:0 >virtual/perl-CPAN-2.290.0:0 >virtual/perl-CPAN-Meta-2.150.10-r5:0 >virtual/perl-CPAN-Meta-Requirements-2.140.0-r7:0 >virtual/perl-CPAN-Meta-YAML-0.18.0-r7:0 >virtual/perl-Data-Dumper-2.179.0:0 >virtual/perl-Digest-MD5-2.580.0:0 >virtual/perl-Encode-3.120.0:0 >virtual/perl-Exporter-5.760.0:0 >virtual/perl-ExtUtils-CBuilder-0.280.236:0 >virtual/perl-ExtUtils-Install-2.200.0:0 >virtual/perl-ExtUtils-MakeMaker-7.620.0:0 >virtual/perl-ExtUtils-Manifest-1.730.0:0 >virtual/perl-ExtUtils-ParseXS-3.430.0:0 >virtual/perl-File-Spec-3.800.0:0 >virtual/perl-File-Temp-0.231.100:0 >virtual/perl-Getopt-Long-2.520.0:0 >virtual/perl-IO-1.460.0:0 >virtual/perl-IO-Compress-2.102.0:0 >virtual/perl-IO-Socket-IP-0.410.0:0 >virtual/perl-JSON-PP-4.60.0:0 >virtual/perl-libnet-3.130.0:0 ssl >virtual/perl-MIME-Base64-3.160.0:0 >virtual/perl-Module-Metadata-1.0.37-r1:0 >virtual/perl-parent-0.238.0-r1:0 >virtual/perl-Parse-CPAN-Meta-2.150.10-r5:0 >virtual/perl-Perl-OSType-1.10.0-r5:0 >virtual/perl-podlators-4.140.0-r2:0 >virtual/perl-Scalar-List-Utils-1.560.0:0 >virtual/perl-Test-Harness-3.430.0:0 >virtual/perl-Text-ParseWords-3.300.0-r8:0 >virtual/perl-Time-Local-1.300.0:0 >virtual/perl-version-0.992.800:0 >virtual/perl-XSLoader-0.300.0-r4:0 >virtual/pkgconfig-2-r1:0 >virtual/service-manager-1:0 >virtual/ssh-0:0 -minimal >virtual/tmpfiles-0-r1:0 >virtual/ttf-fonts-1-r1:0 >virtual/udev-217-r3:0 >virtual/yacc-0:0 >www-client/pybugz-0.13-r1:0 python_targets_python3_8 python_targets_python3_9 >x11-libs/cairo-1.16.0-r5:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug -gles2-only glib -opengl -static-libs svg -utils -valgrind >x11-libs/pixman-0.40.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs >x11-misc/shared-mime-info-2.1:0 > > >####################### ># build.log # >####################### >>>> Unpacking source... >>>> Unpacking loky-3.1.0.tar.gz to /var/tmp/portage/dev-python/loky-3.1.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/loky-3.1.0/work >>>> Preparing source in /var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0 ... > * python3_8: running distutils-r1_run_phase distutils-r1_python_compile >python3.8 setup.py build -j 16 >running build >running build_py >creating build >creating build/lib >creating build/lib/loky >copying loky/reusable_executor.py -> build/lib/loky >copying loky/process_executor.py -> build/lib/loky >copying loky/initializers.py -> build/lib/loky >copying loky/cloudpickle_wrapper.py -> build/lib/loky >copying loky/_base.py -> build/lib/loky >copying loky/__init__.py -> build/lib/loky >creating build/lib/loky/backend >copying loky/backend/utils.py -> build/lib/loky/backend >copying loky/backend/synchronize.py -> build/lib/loky/backend >copying loky/backend/spawn.py -> build/lib/loky/backend >copying loky/backend/resource_tracker.py -> build/lib/loky/backend >copying loky/backend/reduction.py -> build/lib/loky/backend >copying loky/backend/queues.py -> build/lib/loky/backend >copying loky/backend/process.py -> build/lib/loky/backend >copying loky/backend/popen_loky_win32.py -> build/lib/loky/backend >copying loky/backend/popen_loky_posix.py -> build/lib/loky/backend >copying loky/backend/fork_exec.py -> build/lib/loky/backend >copying loky/backend/context.py -> build/lib/loky/backend >copying loky/backend/_win_reduction.py -> build/lib/loky/backend >copying loky/backend/_posix_reduction.py -> build/lib/loky/backend >copying loky/backend/__init__.py -> build/lib/loky/backend >warning: build_py: byte-compiling is disabled, skipping. > > * Building the wheel for loky-3.1.0 via setuptools.build_meta:__legacy__ >running bdist_wheel >The [wheel] section is deprecated. Use [bdist_wheel] instead. >running build >running build_py >warning: build_py: byte-compiling is disabled, skipping. > >installing to build/bdist.linux-x86_64/wheel >running install >running install_lib >creating build/bdist.linux-x86_64 >creating build/bdist.linux-x86_64/wheel >creating build/bdist.linux-x86_64/wheel/loky >creating build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/__init__.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/_posix_reduction.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/_win_reduction.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/context.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/fork_exec.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/popen_loky_posix.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/popen_loky_win32.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/process.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/queues.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/reduction.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/resource_tracker.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/spawn.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/synchronize.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/utils.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/__init__.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/_base.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/cloudpickle_wrapper.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/initializers.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/process_executor.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/reusable_executor.py -> build/bdist.linux-x86_64/wheel/loky >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >creating loky.egg-info >writing loky.egg-info/PKG-INFO >writing dependency_links to loky.egg-info/dependency_links.txt >writing requirements to loky.egg-info/requires.txt >writing top-level names to loky.egg-info/top_level.txt >writing manifest file 'loky.egg-info/SOURCES.txt' >listing git files failed - pretending there aren't any >reading manifest file 'loky.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no directories found matching 'doc' >warning: no previously-included files matching '*~' found anywhere in distribution >warning: no previously-included files matching '*.swp' found anywhere in distribution >adding license file 'LICENSE.txt' >writing manifest file 'loky.egg-info/SOURCES.txt' >Copying loky.egg-info to build/bdist.linux-x86_64/wheel/loky-3.1.0-py3.8.egg-info >running install_scripts >creating build/bdist.linux-x86_64/wheel/loky-3.1.0.dist-info/WHEEL >creating '/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/wheel/tmpge_kotzs/loky-3.1.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >adding 'loky/__init__.py' >adding 'loky/_base.py' >adding 'loky/cloudpickle_wrapper.py' >adding 'loky/initializers.py' >adding 'loky/process_executor.py' >adding 'loky/reusable_executor.py' >adding 'loky/backend/__init__.py' >adding 'loky/backend/_posix_reduction.py' >adding 'loky/backend/_win_reduction.py' >adding 'loky/backend/context.py' >adding 'loky/backend/fork_exec.py' >adding 'loky/backend/popen_loky_posix.py' >adding 'loky/backend/popen_loky_win32.py' >adding 'loky/backend/process.py' >adding 'loky/backend/queues.py' >adding 'loky/backend/reduction.py' >adding 'loky/backend/resource_tracker.py' >adding 'loky/backend/spawn.py' >adding 'loky/backend/synchronize.py' >adding 'loky/backend/utils.py' >adding 'loky-3.1.0.dist-info/LICENSE.txt' >adding 'loky-3.1.0.dist-info/METADATA' >adding 'loky-3.1.0.dist-info/WHEEL' >adding 'loky-3.1.0.dist-info/top_level.txt' >adding 'loky-3.1.0.dist-info/RECORD' >removing build/bdist.linux-x86_64/wheel > * Installing the wheel to /var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install >python3.8 setup.py clean -a >running clean >removing 'build/lib' (and everything under it) >removing 'build/bdist.linux-x86_64' (and everything under it) >'build/scripts-3.8' does not exist -- can't clean it >removing 'build' >Will remove generated .c files > * python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 16 >running build >running build_py >creating build >creating build/lib >creating build/lib/loky >copying loky/reusable_executor.py -> build/lib/loky >copying loky/process_executor.py -> build/lib/loky >copying loky/initializers.py -> build/lib/loky >copying loky/cloudpickle_wrapper.py -> build/lib/loky >copying loky/_base.py -> build/lib/loky >copying loky/__init__.py -> build/lib/loky >creating build/lib/loky/backend >copying loky/backend/utils.py -> build/lib/loky/backend >copying loky/backend/synchronize.py -> build/lib/loky/backend >copying loky/backend/spawn.py -> build/lib/loky/backend >copying loky/backend/resource_tracker.py -> build/lib/loky/backend >copying loky/backend/reduction.py -> build/lib/loky/backend >copying loky/backend/queues.py -> build/lib/loky/backend >copying loky/backend/process.py -> build/lib/loky/backend >copying loky/backend/popen_loky_win32.py -> build/lib/loky/backend >copying loky/backend/popen_loky_posix.py -> build/lib/loky/backend >copying loky/backend/fork_exec.py -> build/lib/loky/backend >copying loky/backend/context.py -> build/lib/loky/backend >copying loky/backend/_win_reduction.py -> build/lib/loky/backend >copying loky/backend/_posix_reduction.py -> build/lib/loky/backend >copying loky/backend/__init__.py -> build/lib/loky/backend >warning: build_py: byte-compiling is disabled, skipping. > > * Building the wheel for loky-3.1.0 via setuptools.build_meta:__legacy__ >running bdist_wheel >The [wheel] section is deprecated. Use [bdist_wheel] instead. >running build >running build_py >warning: build_py: byte-compiling is disabled, skipping. > >installing to build/bdist.linux-x86_64/wheel >running install >running install_lib >creating build/bdist.linux-x86_64 >creating build/bdist.linux-x86_64/wheel >creating build/bdist.linux-x86_64/wheel/loky >creating build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/__init__.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/_posix_reduction.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/_win_reduction.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/context.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/fork_exec.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/popen_loky_posix.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/popen_loky_win32.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/process.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/queues.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/reduction.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/resource_tracker.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/spawn.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/synchronize.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/utils.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/__init__.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/_base.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/cloudpickle_wrapper.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/initializers.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/process_executor.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/reusable_executor.py -> build/bdist.linux-x86_64/wheel/loky >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >writing loky.egg-info/PKG-INFO >writing dependency_links to loky.egg-info/dependency_links.txt >writing requirements to loky.egg-info/requires.txt >writing top-level names to loky.egg-info/top_level.txt >listing git files failed - pretending there aren't any >reading manifest file 'loky.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no directories found matching 'doc' >warning: no previously-included files matching '*~' found anywhere in distribution >warning: no previously-included files matching '*.swp' found anywhere in distribution >adding license file 'LICENSE.txt' >writing manifest file 'loky.egg-info/SOURCES.txt' >Copying loky.egg-info to build/bdist.linux-x86_64/wheel/loky-3.1.0-py3.9.egg-info >running install_scripts >creating build/bdist.linux-x86_64/wheel/loky-3.1.0.dist-info/WHEEL >creating '/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_9/wheel/tmpsmloxug1/loky-3.1.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >adding 'loky/__init__.py' >adding 'loky/_base.py' >adding 'loky/cloudpickle_wrapper.py' >adding 'loky/initializers.py' >adding 'loky/process_executor.py' >adding 'loky/reusable_executor.py' >adding 'loky/backend/__init__.py' >adding 'loky/backend/_posix_reduction.py' >adding 'loky/backend/_win_reduction.py' >adding 'loky/backend/context.py' >adding 'loky/backend/fork_exec.py' >adding 'loky/backend/popen_loky_posix.py' >adding 'loky/backend/popen_loky_win32.py' >adding 'loky/backend/process.py' >adding 'loky/backend/queues.py' >adding 'loky/backend/reduction.py' >adding 'loky/backend/resource_tracker.py' >adding 'loky/backend/spawn.py' >adding 'loky/backend/synchronize.py' >adding 'loky/backend/utils.py' >adding 'loky-3.1.0.dist-info/LICENSE.txt' >adding 'loky-3.1.0.dist-info/METADATA' >adding 'loky-3.1.0.dist-info/WHEEL' >adding 'loky-3.1.0.dist-info/top_level.txt' >adding 'loky-3.1.0.dist-info/RECORD' >removing build/bdist.linux-x86_64/wheel > * Installing the wheel to /var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_9/install >python3.9 setup.py clean -a >running clean >removing 'build/lib' (and everything under it) >removing 'build/bdist.linux-x86_64' (and everything under it) >'build/scripts-3.9' does not exist -- can't clean it >removing 'build' >Will remove generated .c files > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile >python3.10 setup.py build -j 16 >running build >running build_py >creating build >creating build/lib >creating build/lib/loky >copying loky/reusable_executor.py -> build/lib/loky >copying loky/process_executor.py -> build/lib/loky >copying loky/initializers.py -> build/lib/loky >copying loky/cloudpickle_wrapper.py -> build/lib/loky >copying loky/_base.py -> build/lib/loky >copying loky/__init__.py -> build/lib/loky >creating build/lib/loky/backend >copying loky/backend/utils.py -> build/lib/loky/backend >copying loky/backend/synchronize.py -> build/lib/loky/backend >copying loky/backend/spawn.py -> build/lib/loky/backend >copying loky/backend/resource_tracker.py -> build/lib/loky/backend >copying loky/backend/reduction.py -> build/lib/loky/backend >copying loky/backend/queues.py -> build/lib/loky/backend >copying loky/backend/process.py -> build/lib/loky/backend >copying loky/backend/popen_loky_win32.py -> build/lib/loky/backend >copying loky/backend/popen_loky_posix.py -> build/lib/loky/backend >copying loky/backend/fork_exec.py -> build/lib/loky/backend >copying loky/backend/context.py -> build/lib/loky/backend >copying loky/backend/_win_reduction.py -> build/lib/loky/backend >copying loky/backend/_posix_reduction.py -> build/lib/loky/backend >copying loky/backend/__init__.py -> build/lib/loky/backend >warning: build_py: byte-compiling is disabled, skipping. > > * Building the wheel for loky-3.1.0 via setuptools.build_meta:__legacy__ >running bdist_wheel >The [wheel] section is deprecated. Use [bdist_wheel] instead. >running build >running build_py >warning: build_py: byte-compiling is disabled, skipping. > >installing to build/bdist.linux-x86_64/wheel >running install >running install_lib >creating build/bdist.linux-x86_64 >creating build/bdist.linux-x86_64/wheel >creating build/bdist.linux-x86_64/wheel/loky >creating build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/__init__.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/_posix_reduction.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/_win_reduction.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/context.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/fork_exec.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/popen_loky_posix.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/popen_loky_win32.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/process.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/queues.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/reduction.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/resource_tracker.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/spawn.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/synchronize.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/backend/utils.py -> build/bdist.linux-x86_64/wheel/loky/backend >copying build/lib/loky/__init__.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/_base.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/cloudpickle_wrapper.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/initializers.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/process_executor.py -> build/bdist.linux-x86_64/wheel/loky >copying build/lib/loky/reusable_executor.py -> build/bdist.linux-x86_64/wheel/loky >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >writing loky.egg-info/PKG-INFO >writing dependency_links to loky.egg-info/dependency_links.txt >writing requirements to loky.egg-info/requires.txt >writing top-level names to loky.egg-info/top_level.txt >listing git files failed - pretending there aren't any >reading manifest file 'loky.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no directories found matching 'doc' >warning: no previously-included files matching '*~' found anywhere in distribution >warning: no previously-included files matching '*.swp' found anywhere in distribution >adding license file 'LICENSE.txt' >writing manifest file 'loky.egg-info/SOURCES.txt' >Copying loky.egg-info to build/bdist.linux-x86_64/wheel/loky-3.1.0-py3.10.egg-info >running install_scripts >creating build/bdist.linux-x86_64/wheel/loky-3.1.0.dist-info/WHEEL >creating '/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_10/wheel/tmps2dwxv6a/loky-3.1.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >adding 'loky/__init__.py' >adding 'loky/_base.py' >adding 'loky/cloudpickle_wrapper.py' >adding 'loky/initializers.py' >adding 'loky/process_executor.py' >adding 'loky/reusable_executor.py' >adding 'loky/backend/__init__.py' >adding 'loky/backend/_posix_reduction.py' >adding 'loky/backend/_win_reduction.py' >adding 'loky/backend/context.py' >adding 'loky/backend/fork_exec.py' >adding 'loky/backend/popen_loky_posix.py' >adding 'loky/backend/popen_loky_win32.py' >adding 'loky/backend/process.py' >adding 'loky/backend/queues.py' >adding 'loky/backend/reduction.py' >adding 'loky/backend/resource_tracker.py' >adding 'loky/backend/spawn.py' >adding 'loky/backend/synchronize.py' >adding 'loky/backend/utils.py' >adding 'loky-3.1.0.dist-info/LICENSE.txt' >adding 'loky-3.1.0.dist-info/METADATA' >adding 'loky-3.1.0.dist-info/WHEEL' >adding 'loky-3.1.0.dist-info/top_level.txt' >adding 'loky-3.1.0.dist-info/RECORD' >removing build/bdist.linux-x86_64/wheel > * Installing the wheel to /var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_10/install >python3.10 setup.py clean -a >running clean >removing 'build/lib' (and everything under it) >removing 'build/bdist.linux-x86_64' (and everything under it) >'build/scripts-3.10' does not exist -- can't clean it >removing 'build' >Will remove generated .c files >>>> Source compiled. >>>> Test phase: dev-python/loky-3.1.0 > * python3_8: running distutils-r1_run_phase python_test >python3.8 -m pytest -vv -ra -l -Wdefault --color=no -p no:cov -p no:flake8 -p no:flakes -p no:pylint --deselect tests/test_loky_module.py::test_cpu_count_cfs_limit --deselect tests/test_reusable_executor.py::TestExecutorDeadLock::test_deadlock_kill --skip-high-memory -p no:xvfb >============================= test session starts ============================== >platform linux -- Python 3.8.12, pytest-7.0.1, pluggy-1.0.0 -- /var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install/usr/bin/python3.8 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0 >collecting ... collected 305 items / 1 deselected / 304 selected > >tests/test_cloudpickle_wrapper.py::TestCloudpickleWrapper::test_isolated_pickler_dispatch_tables PASSED [ 0%] >tests/test_cloudpickle_wrapper.py::TestCloudpickleWrapper::test_serialization_function_from_main PASSED [ 0%] >tests/test_cloudpickle_wrapper.py::TestCloudpickleWrapper::test_serialization_class_from_main PASSED [ 0%] >tests/test_cloudpickle_wrapper.py::TestCloudpickleWrapper::test_cloudpickle_flag_wrapper PASSED [ 1%] >tests/test_cloudpickle_wrapper.py::TestCloudpickleWrapper::test_set_loky_pickler[None] PASSED [ 1%] >tests/test_cloudpickle_wrapper.py::TestCloudpickleWrapper::test_set_loky_pickler[''] PASSED [ 1%] >tests/test_cloudpickle_wrapper.py::TestCloudpickleWrapper::test_set_loky_pickler['cloudpickle'] PASSED [ 2%] >tests/test_cloudpickle_wrapper.py::TestCloudpickleWrapper::test_set_loky_pickler['pickle'] PASSED [ 2%] >tests/test_cloudpickle_wrapper.py::TestCloudpickleWrapper::test_set_loky_pickler_failures PASSED [ 2%] >tests/test_futures.py::TestsFuture::test_done_callback_with_result PASSED [ 3%] >tests/test_futures.py::TestsFuture::test_done_callback_with_exception PASSED [ 3%] >tests/test_futures.py::TestsFuture::test_done_callback_with_cancel PASSED [ 3%] >tests/test_futures.py::TestsFuture::test_done_callback_raises PASSED [ 4%] >tests/test_futures.py::TestsFuture::test_done_callback_already_successful PASSED [ 4%] >tests/test_futures.py::TestsFuture::test_done_callback_already_failed PASSED [ 4%] >tests/test_futures.py::TestsFuture::test_done_callback_already_cancelled PASSED [ 5%] >tests/test_futures.py::TestsFuture::test_repr PASSED [ 5%] >tests/test_futures.py::TestsFuture::test_cancel PASSED [ 5%] >tests/test_futures.py::TestsFuture::test_cancelled PASSED [ 6%] >tests/test_futures.py::TestsFuture::test_done PASSED [ 6%] >tests/test_futures.py::TestsFuture::test_running PASSED [ 6%] >tests/test_futures.py::TestsFuture::test_result_with_timeout PASSED [ 7%] >tests/test_futures.py::TestsFuture::test_result_with_success PASSED [ 7%] >tests/test_futures.py::TestsFuture::test_result_with_cancel PASSED [ 7%] >tests/test_futures.py::TestsFuture::test_exception_with_timeout PASSED [ 8%] >tests/test_futures.py::TestsFuture::test_exception_with_success PASSED [ 8%] >tests/test_loky_backend.py::TestLokyBackend::test_current PASSED [ 8%] >tests/test_loky_backend.py::TestLokyBackend::test_daemon_argument PASSED [ 9%] >tests/test_loky_backend.py::TestLokyBackend::test_process[loky] PASSED [ 9%] >tests/test_loky_backend.py::TestLokyBackend::test_process[loky_init_main] PASSED [ 9%] >tests/test_loky_backend.py::TestLokyBackend::test_socket PASSED [ 10%] >tests/test_loky_backend.py::TestLokyBackend::test_socket_queue PASSED [ 10%] >tests/test_loky_backend.py::TestLokyBackend::test_connection PASSED [ 10%] >tests/test_loky_backend.py::TestLokyBackend::test_connection_queue PASSED [ 11%] >tests/test_loky_backend.py::TestLokyBackend::test_child_env_process PASSED [ 11%] >tests/test_loky_backend.py::TestLokyBackend::test_terminate PASSED [ 11%] >tests/test_loky_backend.py::TestLokyBackend::test_active_children PASSED [ 12%] >tests/test_loky_backend.py::TestLokyBackend::test_recursion PASSED [ 12%] >tests/test_loky_backend.py::TestLokyBackend::test_sentinel PASSED [ 12%] >tests/test_loky_backend.py::TestLokyBackend::test_wait_sentinel PASSED [ 13%] >tests/test_loky_backend.py::TestLokyBackend::test_sync_object_handling PASSED [ 13%] >tests/test_loky_backend.py::TestLokyBackend::test_compatibility_openmp <- tests/utils.py SKIPPED [ 13%] >tests/test_loky_backend.py::TestLokyBackend::test_interactively_define_process_no_main[True] PASSED [ 14%] >tests/test_loky_backend.py::TestLokyBackend::test_interactively_define_process_no_main[False] PASSED [ 14%] >tests/test_loky_backend.py::TestLokyBackend::test_interactively_define_process_fail_main PASSED [ 14%] >tests/test_loky_backend.py::TestLokyBackend::test_loky_get_context PASSED [ 15%] >tests/test_loky_backend.py::TestLokyBackend::test_interactive_contex_no_main PASSED [ 15%] >tests/test_loky_backend.py::test_kill_process_tree[True] PASSED [ 15%] >tests/test_loky_backend.py::test_kill_process_tree[False] PASSED [ 16%] >tests/test_loky_backend.py::test_default_subcontext[loky] PASSED [ 16%] >tests/test_loky_backend.py::test_default_subcontext[loky_init_main] PASSED [ 16%] >tests/test_loky_backend.py::test_default_subcontext[spawn] PASSED [ 17%] >tests/test_loky_backend.py::test_default_subcontext[fork] PASSED [ 17%] >tests/test_loky_backend.py::test_default_subcontext[forkserver] PASSED [ 17%] >tests/test_loky_module.py::test_version PASSED [ 18%] >tests/test_loky_module.py::test_cpu_count PASSED [ 18%] >tests/test_loky_module.py::test_cpu_count_affinity FAILED [ 18%] >tests/test_loky_module.py::test_cpu_count_cgroup_limit SKIPPED (dock...) [ 19%] >tests/test_loky_module.py::test_only_physical_cores_error PASSED [ 19%] >tests/test_loky_module.py::test_only_physical_cores_with_user_limitation PASSED [ 19%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_run_after_shutdown <- tests/_test_process_executor.py PASSED [ 20%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_shutdown_with_pickle_error <- tests/_test_process_executor.py PASSED [ 20%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_shutdown_with_sys_exit_at_pickle <- tests/_test_process_executor.py PASSED [ 20%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_interpreter_shutdown <- tests/_test_process_executor.py PASSED [ 21%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_hang_issue12364 <- tests/_test_process_executor.py PASSED [ 21%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_processes_terminate <- tests/_test_process_executor.py PASSED [ 21%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_processes_terminate_on_executor_gc <- tests/_test_process_executor.py PASSED [ 22%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_processes_crash_handling_after_executor_gc <- tests/_test_process_executor.py PASSED [ 22%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_context_manager_shutdown <- tests/_test_process_executor.py PASSED [ 22%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_del_shutdown <- tests/_test_process_executor.py PASSED [ 23%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_shutdown_no_wait <- tests/_test_process_executor.py PASSED [ 23%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_shutdown_deadlock_pickle <- tests/_test_process_executor.py PASSED [ 23%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_hang_issue39205 <- tests/_test_process_executor.py PASSED [ 24%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverShutdown::test_shutdown_and_kill_workers <- tests/_test_process_executor.py PASSED [ 24%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverWait::test_first_completed <- tests/_test_process_executor.py PASSED [ 24%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverWait::test_first_completed_some_already_completed <- tests/_test_process_executor.py PASSED [ 25%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverWait::test_first_exception <- tests/_test_process_executor.py PASSED [ 25%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverWait::test_first_exception_some_already_complete <- tests/_test_process_executor.py PASSED [ 25%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverWait::test_first_exception_one_already_failed <- tests/_test_process_executor.py PASSED [ 25%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverWait::test_all_completed <- tests/_test_process_executor.py PASSED [ 26%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverWait::test_timeout <- tests/_test_process_executor.py PASSED [ 26%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverAsCompleted::test_no_timeout <- tests/_test_process_executor.py PASSED [ 26%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverAsCompleted::test_zero_timeout <- tests/_test_process_executor.py PASSED [ 27%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverAsCompleted::test_duplicate_futures <- tests/_test_process_executor.py PASSED [ 27%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_submit <- tests/_test_process_executor.py PASSED [ 27%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_submit_keyword <- tests/_test_process_executor.py PASSED [ 28%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_map <- tests/_test_process_executor.py PASSED [ 28%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_map_exception <- tests/_test_process_executor.py PASSED [ 28%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_map_timeout <- tests/_test_process_executor.py PASSED [ 29%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_shutdown_race_issue12456 <- tests/_test_process_executor.py PASSED [ 29%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_no_stale_references <- tests/_test_process_executor.py PASSED [ 29%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_max_workers_negative <- tests/_test_process_executor.py PASSED [ 30%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_killed_child <- tests/_test_process_executor.py PASSED [ 30%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_map_chunksize <- tests/_test_process_executor.py PASSED [ 30%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_traceback <- tests/_test_process_executor.py PASSED [ 31%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_thread_safety <- tests/_test_process_executor.py PASSED [ 31%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_submit_from_callback <- tests/_test_process_executor.py PASSED [ 31%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_worker_timeout <- tests/_test_process_executor.py PASSED [ 32%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_serialization <- tests/_test_process_executor.py PASSED [ 32%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_max_depth[True] <- tests/_test_process_executor.py PASSED [ 32%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_max_depth[False] <- tests/_test_process_executor.py PASSED [ 33%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_no_failure_on_large_data_send <- tests/_test_process_executor.py SKIPPED [ 33%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_expected_failure_on_large_data_send <- tests/_test_process_executor.py SKIPPED [ 33%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_memory_leak_protection <- tests/_test_process_executor.py PASSED [ 34%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_reference_cycle_collection <- tests/_test_process_executor.py PASSED [ 34%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_exited_child <- tests/_test_process_executor.py [DEBUG:MainProcess:ExecutorManagerThread] terminate process ForkServerProcess-292, reason: broken executor >PASSED [ 34%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_child_env_executor <- tests/_test_process_executor.py SKIPPED [ 35%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_viztracer_profiler <- tests/_test_process_executor.py SKIPPED [ 35%] >tests/test_process_executor_forkserver.py::TestsProcessPoolForkserverExecutor::test_viztracer_profiler_with_custom_init <- tests/_test_process_executor.py SKIPPED [ 35%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_run_after_shutdown <- tests/_test_process_executor.py PASSED [ 36%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_shutdown_with_pickle_error <- tests/_test_process_executor.py PASSED [ 36%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_shutdown_with_sys_exit_at_pickle <- tests/_test_process_executor.py PASSED [ 36%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_interpreter_shutdown <- tests/_test_process_executor.py PASSED [ 37%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_hang_issue12364 <- tests/_test_process_executor.py PASSED [ 37%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_processes_terminate <- tests/_test_process_executor.py PASSED [ 37%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_processes_terminate_on_executor_gc <- tests/_test_process_executor.py PASSED [ 38%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_processes_crash_handling_after_executor_gc <- tests/_test_process_executor.py PASSED [ 38%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_context_manager_shutdown <- tests/_test_process_executor.py FAILED [ 38%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_del_shutdown <- tests/_test_process_executor.py ERROR [ 39%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_shutdown_no_wait <- tests/_test_process_executor.py ERROR [ 39%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_shutdown_deadlock_pickle <- tests/_test_process_executor.py ERROR [ 39%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_hang_issue39205 <- tests/_test_process_executor.py ERROR [ 40%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_shutdown_and_kill_workers <- tests/_test_process_executor.py ERROR [ 40%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_completed <- tests/_test_process_executor.py ERROR [ 40%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_completed_some_already_completed <- tests/_test_process_executor.py ERROR [ 41%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_exception <- tests/_test_process_executor.py ERROR [ 41%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_exception_some_already_complete <- tests/_test_process_executor.py ERROR [ 41%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_exception_one_already_failed <- tests/_test_process_executor.py ERROR [ 42%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_all_completed <- tests/_test_process_executor.py ERROR [ 42%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_timeout <- tests/_test_process_executor.py ERROR [ 42%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyAsCompleted::test_no_timeout <- tests/_test_process_executor.py ERROR [ 43%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyAsCompleted::test_zero_timeout <- tests/_test_process_executor.py ERROR [ 43%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyAsCompleted::test_duplicate_futures <- tests/_test_process_executor.py ERROR [ 43%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_submit <- tests/_test_process_executor.py ERROR [ 44%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_submit_keyword <- tests/_test_process_executor.py ERROR [ 44%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_map <- tests/_test_process_executor.py ERROR [ 44%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_map_exception <- tests/_test_process_executor.py ERROR [ 45%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_map_timeout <- tests/_test_process_executor.py ERROR [ 45%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_shutdown_race_issue12456 <- tests/_test_process_executor.py ERROR [ 45%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_no_stale_references <- tests/_test_process_executor.py ERROR [ 46%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_max_workers_negative <- tests/_test_process_executor.py ERROR [ 46%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_killed_child <- tests/_test_process_executor.py ERROR [ 46%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_map_chunksize <- tests/_test_process_executor.py ERROR [ 47%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_traceback <- tests/_test_process_executor.py ERROR [ 47%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_thread_safety <- tests/_test_process_executor.py ERROR [ 47%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_submit_from_callback <- tests/_test_process_executor.py ERROR [ 48%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_worker_timeout <- tests/_test_process_executor.py ERROR [ 48%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_serialization <- tests/_test_process_executor.py ERROR [ 48%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_max_depth[True] <- tests/_test_process_executor.py ERROR [ 49%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_max_depth[False] <- tests/_test_process_executor.py ERROR [ 49%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_no_failure_on_large_data_send <- tests/_test_process_executor.py SKIPPED [ 49%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_expected_failure_on_large_data_send <- tests/_test_process_executor.py SKIPPED [ 50%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_memory_leak_protection <- tests/_test_process_executor.py ERROR [ 50%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_reference_cycle_collection <- tests/_test_process_executor.py ERROR [ 50%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_exited_child <- tests/_test_process_executor.py ERROR [ 50%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_child_env_executor <- tests/_test_process_executor.py ERROR [ 51%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_viztracer_profiler <- tests/_test_process_executor.py ERROR [ 51%] >tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_viztracer_profiler_with_custom_init <- tests/_test_process_executor.py ERROR [ 51%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_run_after_shutdown <- tests/_test_process_executor.py ERROR [ 52%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_with_pickle_error <- tests/_test_process_executor.py ERROR [ 52%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_with_sys_exit_at_pickle <- tests/_test_process_executor.py ERROR [ 52%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_interpreter_shutdown <- tests/_test_process_executor.py ERROR [ 53%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_hang_issue12364 <- tests/_test_process_executor.py ERROR [ 53%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_processes_terminate <- tests/_test_process_executor.py ERROR [ 53%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_processes_terminate_on_executor_gc <- tests/_test_process_executor.py ERROR [ 54%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_processes_crash_handling_after_executor_gc <- tests/_test_process_executor.py ERROR [ 54%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_context_manager_shutdown <- tests/_test_process_executor.py ERROR [ 54%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_del_shutdown <- tests/_test_process_executor.py ERROR [ 55%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_no_wait <- tests/_test_process_executor.py ERROR [ 55%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_deadlock_pickle <- tests/_test_process_executor.py ERROR [ 55%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_hang_issue39205 <- tests/_test_process_executor.py ERROR [ 56%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_and_kill_workers <- tests/_test_process_executor.py ERROR [ 56%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_completed <- tests/_test_process_executor.py ERROR [ 56%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_completed_some_already_completed <- tests/_test_process_executor.py ERROR [ 57%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_exception <- tests/_test_process_executor.py ERROR [ 57%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_exception_some_already_complete <- tests/_test_process_executor.py ERROR [ 57%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_exception_one_already_failed <- tests/_test_process_executor.py ERROR [ 58%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_all_completed <- tests/_test_process_executor.py ERROR [ 58%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_timeout <- tests/_test_process_executor.py ERROR [ 58%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnAsCompleted::test_no_timeout <- tests/_test_process_executor.py ERROR [ 59%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnAsCompleted::test_zero_timeout <- tests/_test_process_executor.py ERROR [ 59%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnAsCompleted::test_duplicate_futures <- tests/_test_process_executor.py ERROR [ 59%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_submit <- tests/_test_process_executor.py ERROR [ 60%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_submit_keyword <- tests/_test_process_executor.py ERROR [ 60%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_map <- tests/_test_process_executor.py ERROR [ 60%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_map_exception <- tests/_test_process_executor.py ERROR [ 61%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_map_timeout <- tests/_test_process_executor.py ERROR [ 61%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_shutdown_race_issue12456 <- tests/_test_process_executor.py ERROR [ 61%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_no_stale_references <- tests/_test_process_executor.py ERROR [ 62%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_max_workers_negative <- tests/_test_process_executor.py ERROR [ 62%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_killed_child <- tests/_test_process_executor.py ERROR [ 62%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_map_chunksize <- tests/_test_process_executor.py ERROR [ 63%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_traceback <- tests/_test_process_executor.py ERROR [ 63%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_thread_safety <- tests/_test_process_executor.py ERROR [ 63%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_submit_from_callback <- tests/_test_process_executor.py ERROR [ 64%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_worker_timeout <- tests/_test_process_executor.py ERROR [ 64%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_serialization <- tests/_test_process_executor.py ERROR [ 64%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_max_depth[True] <- tests/_test_process_executor.py ERROR [ 65%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_max_depth[False] <- tests/_test_process_executor.py ERROR [ 65%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_no_failure_on_large_data_send <- tests/_test_process_executor.py SKIPPED [ 65%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_expected_failure_on_large_data_send <- tests/_test_process_executor.py SKIPPED [ 66%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_memory_leak_protection <- tests/_test_process_executor.py ERROR [ 66%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_reference_cycle_collection <- tests/_test_process_executor.py ERROR [ 66%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_exited_child <- tests/_test_process_executor.py ERROR [ 67%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_child_env_executor <- tests/_test_process_executor.py ERROR [ 67%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_viztracer_profiler <- tests/_test_process_executor.py ERROR [ 67%] >tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_viztracer_profiler_with_custom_init <- tests/_test_process_executor.py ERROR [ 68%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_utils[file] PASSED [ 68%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_utils[folder] PASSED [ 68%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_utils[semlock] FAILED [ 69%] >tests/test_resource_tracker.py::TestResourceTracker::test_child_retrieves_resource_tracker FAILED [ 69%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker[file] PASSED [ 69%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker[folder] PASSED [ 70%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker[semlock] PASSED [ 70%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker_refcounting[file] PASSED [ 70%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker_refcounting[folder] PASSED [ 71%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker_refcounting[semlock] PASSED [ 71%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker_sigint FAILED [ 71%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker_sigterm FAILED [ 72%] >tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker_sigkill PASSED [ 72%] >tests/test_resource_tracker.py::TestResourceTracker::test_loky_process_inherit_multiprocessing_resource_tracker PASSED [ 72%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args0-PicklingError-None] ERROR [ 73%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args1-PicklingError-None] ERROR [ 73%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args2-BrokenProcessPool-SystemExit] ERROR [ 73%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args3-TerminatedWorkerError-EXIT\\(0\\)] ERROR [ 74%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args4-BrokenProcessPool-UnpicklingError] ERROR [ 74%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args5-TerminatedWorkerError-SIGSEGV] ERROR [ 74%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[crash-args6-TerminatedWorkerError-SIGSEGV] ERROR [ 75%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[exit-args7-SystemExit-None] ERROR [ 75%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[c_exit-args8-TerminatedWorkerError-EXIT\\(0\\)] ERROR [ 75%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[raise_error-args9-RuntimeError-None] ERROR [ 75%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args10-TerminatedWorkerError-SIGSEGV] ERROR [ 76%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args11-SystemExit-None] ERROR [ 76%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args12-TerminatedWorkerError-EXIT\\(0\\)] ERROR [ 76%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args13-PicklingError-None] ERROR [ 77%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args14-BrokenProcessPool-SystemExit] ERROR [ 77%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args15-BrokenProcessPool-UnpicklingError] ERROR [ 77%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args0-PicklingError-None] ERROR [ 78%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args1-PicklingError-None] ERROR [ 78%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args2-BrokenProcessPool-SystemExit] ERROR [ 78%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args3-TerminatedWorkerError-EXIT\\(0\\)] ERROR [ 79%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args4-BrokenProcessPool-UnpicklingError] ERROR [ 79%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args5-TerminatedWorkerError-SIGSEGV] ERROR [ 79%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[crash-args6-TerminatedWorkerError-SIGSEGV] ERROR [ 80%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[exit-args7-SystemExit-None] ERROR [ 80%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[c_exit-args8-TerminatedWorkerError-EXIT\\(0\\)] ERROR [ 80%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[raise_error-args9-RuntimeError-None] ERROR [ 81%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args10-TerminatedWorkerError-SIGSEGV] ERROR [ 81%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args11-SystemExit-None] ERROR [ 81%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args12-TerminatedWorkerError-EXIT\\(0\\)] ERROR [ 82%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args13-PicklingError-None] ERROR [ 82%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args14-BrokenProcessPool-SystemExit] ERROR [ 82%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args15-BrokenProcessPool-UnpicklingError] ERROR [ 83%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_callback_crash_on_submit ERROR [ 83%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crash_races[1] ERROR [ 83%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crash_races[2] ERROR [ 84%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crash_races[5] ERROR [ 84%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_crash_races[13] ERROR [ 84%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_imap_handle_iterable_exception ERROR [ 85%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_queue_full_deadlock ERROR [ 85%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_informative_error_when_fail_at_unpickle ERROR [ 85%] >tests/test_reusable_executor.py::TestExecutorDeadLock::test_numpy_dot_parent_and_child_no_freeze ERROR [ 86%] >tests/test_reusable_executor.py::TestTerminateExecutor::test_shutdown_kill ERROR [ 86%] >tests/test_reusable_executor.py::TestTerminateExecutor::test_shutdown_deadlock ERROR [ 86%] >tests/test_reusable_executor.py::TestTerminateExecutor::test_kill_workers_on_new_options ERROR [ 87%] >tests/test_reusable_executor.py::TestTerminateExecutor::test_call_item_gc_crash_or_exit[CrashAtGCInWorker-SIGSEGV] ERROR [ 87%] >tests/test_reusable_executor.py::TestTerminateExecutor::test_call_item_gc_crash_or_exit[CExitAtGCInWorker-EXIT\\(0\\)] ERROR [ 87%] >tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize ERROR [ 88%] >tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize_many_times[True-True] ERROR [ 88%] >tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize_many_times[True-False] ERROR [ 88%] >tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize_many_times[False-True] ERROR [ 89%] >tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize_many_times[False-False] ERROR [ 89%] >tests/test_reusable_executor.py::TestResizeExecutor::test_kill_after_resize_call ERROR [ 89%] >tests/test_reusable_executor.py::TestResizeExecutor::test_resize_after_timeout ERROR [ 90%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_invalid_process_number ERROR [ 90%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_invalid_context ERROR [ 90%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_pass_start_method_name_as_context ERROR [ 91%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_interactively_defined_executor_no_main ERROR [ 91%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_reused_flag ERROR [ 91%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_interactively_defined_nested_functions ERROR [ 92%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_interactively_defined_recursive_functions ERROR [ 92%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_compat_with_concurrent_futures_exception ERROR [ 92%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_thread_safety[constant-clean_start] ERROR [ 93%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_thread_safety[constant-broken_start] ERROR [ 93%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_thread_safety[varying-clean_start] ERROR [ 93%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_thread_safety[varying-broken_start] ERROR [ 94%] >tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_reuse_true ERROR [ 94%] >tests/test_reusable_executor.py::TestExecutorInitializer::test_reusable_initializer ERROR [ 94%] >tests/test_synchronize.py::test_semlock_failure PASSED [ 95%] >tests/test_synchronize.py::TestLock::test_lock PASSED [ 95%] >tests/test_synchronize.py::TestLock::test_rlock PASSED [ 95%] >tests/test_synchronize.py::TestLock::test_lock_context PASSED [ 96%] >tests/test_synchronize.py::TestSemaphore::test_semaphore PASSED [ 96%] >tests/test_synchronize.py::TestSemaphore::test_bounded_semaphore PASSED [ 96%] >tests/test_synchronize.py::TestSemaphore::test_timeout PASSED [ 97%] >tests/test_synchronize.py::TestCondition::test_notify FAILED [ 97%] >tests/test_synchronize.py::TestCondition::test_notify_all FAILED [ 97%] >tests/test_synchronize.py::TestCondition::test_timeout FAILED [ 98%] >tests/test_synchronize.py::TestCondition::test_waitfor FAILED [ 98%] >tests/test_synchronize.py::TestCondition::test_wait_result FAILED [ 98%] >tests/test_synchronize.py::TestEvent::test_event FAILED [ 99%] >tests/test_worker_timeout.py::TestTimeoutExecutor::test_worker_timeout_mock FAILED [ 99%] >tests/test_worker_timeout.py::TestTimeoutExecutor::test_worker_timeout_with_slowly_pickling_objects FAILED [ 99%] >tests/test_worker_timeout.py::TestTimeoutExecutor::test_worker_timeout_shutdown_deadlock FAILED [100%] > >==================================== ERRORS ==================================== >_______ ERROR at setup of TestsProcessPoolLokyShutdown.test_del_shutdown _______ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea4aeb0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: > self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > except NotImplementedError as e: > self.skipTest(str(e)) >> _check_executor_started(self.executor) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea4aeb0> > >tests/_executor_mixin.py:154: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e53edf0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e036490 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e53edf0> > w = <loky.process_executor._WorkItem object at 0x7f904e0e7e00> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e53edf0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e53edf0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e036670> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e036670> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e036670> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >_____ ERROR at setup of TestsProcessPoolLokyShutdown.test_shutdown_no_wait _____ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea690a0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: > self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > except NotImplementedError as e: > self.skipTest(str(e)) >> _check_executor_started(self.executor) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea690a0> > >tests/_executor_mixin.py:154: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e1b95b0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e1b9b80 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e1b95b0> > w = <loky.process_executor._WorkItem object at 0x7f904e170700> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e1b95b0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e1b95b0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1b9a00> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1b9a00> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1b9a00> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >_ ERROR at setup of TestsProcessPoolLokyShutdown.test_shutdown_deadlock_pickle _ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea69280> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: > self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > except NotImplementedError as e: > self.skipTest(str(e)) >> _check_executor_started(self.executor) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea69280> > >tests/_executor_mixin.py:154: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d8b0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e12daf0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d8b0> > w = <loky.process_executor._WorkItem object at 0x7f904e111500> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d8b0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d8b0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e12d250> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e12d250> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e12d250> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >_____ ERROR at setup of TestsProcessPoolLokyShutdown.test_hang_issue39205 ______ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea69490> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: > self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > except NotImplementedError as e: > self.skipTest(str(e)) >> _check_executor_started(self.executor) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea69490> > >tests/_executor_mixin.py:154: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d160> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e2d7460 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d160> > w = <loky.process_executor._WorkItem object at 0x7f904e184600> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d160> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d160> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2d7610> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2d7610> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2d7610> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >_ ERROR at setup of TestsProcessPoolLokyShutdown.test_shutdown_and_kill_workers _ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea69670> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: > self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > except NotImplementedError as e: > self.skipTest(str(e)) >> _check_executor_started(self.executor) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea69670> > >tests/_executor_mixin.py:154: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e473b20> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e53e670 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e473b20> > w = <loky.process_executor._WorkItem object at 0x7f904e03b2c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e473b20> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e473b20> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e53e220> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e53e220> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e53e220> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >_______ ERROR at setup of TestsProcessPoolLokyWait.test_first_completed ________ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea69d30> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea69d30> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:1008: in __init__ > self._setup_queues(job_reducers, result_reducers) > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = (<loky.backend.synchronize.Event object at 0x7f904ea4a7c0>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d5e0> > timeout = None >loky/process_executor.py:1018: in _setup_queues > self._call_queue = _SafeQueue( > job_reducers = None > queue_size = 11 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e12d5e0> >loky/process_executor.py:289: in __init__ > super().__init__(max_size, reducers=reducers, ctx=ctx) > __class__ = <class 'loky.process_executor._SafeQueue'> > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > max_size = 11 > pending_work_items = {} > reducers = None > running_work_items = [] > self = <loky.process_executor._SafeQueue object at 0x7f904e12d2e0> > thread_wakeup = <loky.process_executor._ThreadWakeup object at 0x7f904e12dd60> >loky/backend/queues.py:33: in __init__ > super().__init__(maxsize=maxsize, ctx=ctx) > __class__ = <class 'loky.backend.queues.Queue'> > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > maxsize = 11 > reducers = None > self = <loky.process_executor._SafeQueue object at 0x7f904e12d2e0> >/usr/lib/python3.8/multiprocessing/queues.py:42: in __init__ > self._rlock = ctx.Lock() > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > maxsize = 11 > self = <loky.process_executor._SafeQueue object at 0x7f904e12d2e0> >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stdout setup ----------------------------- >setup class with <loky.backend.context.LokyContext object at 0x7f9050108730> >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >_ ERROR at setup of TestsProcessPoolLokyWait.test_first_completed_some_already_completed _ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea69ee0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea69ee0> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = (<loky.backend.synchronize.Event object at 0x7f904ea4a7c0>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e1aa460> > timeout = None >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_______ ERROR at setup of TestsProcessPoolLokyWait.test_first_exception ________ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea69400> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea69400> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = (<loky.backend.synchronize.Event object at 0x7f904ea4a7c0>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e22d730> > timeout = None >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_ ERROR at setup of TestsProcessPoolLokyWait.test_first_exception_some_already_complete _ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea4aa60> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea4aa60> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = (<loky.backend.synchronize.Event object at 0x7f904ea4a7c0>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e02e2e0> > timeout = None >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_ ERROR at setup of TestsProcessPoolLokyWait.test_first_exception_one_already_failed _ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea4a190> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea4a190> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = (<loky.backend.synchronize.Event object at 0x7f904ea4a7c0>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e0ec310> > timeout = None >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >________ ERROR at setup of TestsProcessPoolLokyWait.test_all_completed _________ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea6a040> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea6a040> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = (<loky.backend.synchronize.Event object at 0x7f904ea4a7c0>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e10f5b0> > timeout = None >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >___________ ERROR at setup of TestsProcessPoolLokyWait.test_timeout ____________ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea6a220> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyWait object at 0x7f904ea6a220> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:1008: in __init__ > self._setup_queues(job_reducers, result_reducers) > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = (<loky.backend.synchronize.Event object at 0x7f904ea4a7c0>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e43e040> > timeout = None >loky/process_executor.py:1018: in _setup_queues > self._call_queue = _SafeQueue( > job_reducers = None > queue_size = 11 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e43e040> >loky/process_executor.py:289: in __init__ > super().__init__(max_size, reducers=reducers, ctx=ctx) > __class__ = <class 'loky.process_executor._SafeQueue'> > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > max_size = 11 > pending_work_items = {} > reducers = None > running_work_items = [] > self = <loky.process_executor._SafeQueue object at 0x7f904e43e100> > thread_wakeup = <loky.process_executor._ThreadWakeup object at 0x7f904e43e970> >loky/backend/queues.py:33: in __init__ > super().__init__(maxsize=maxsize, ctx=ctx) > __class__ = <class 'loky.backend.queues.Queue'> > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > maxsize = 11 > reducers = None > self = <loky.process_executor._SafeQueue object at 0x7f904e43e100> >/usr/lib/python3.8/multiprocessing/queues.py:42: in __init__ > self._rlock = ctx.Lock() > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > maxsize = 11 > self = <loky.process_executor._SafeQueue object at 0x7f904e43e100> >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >______ ERROR at setup of TestsProcessPoolLokyAsCompleted.test_no_timeout _______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyAsCompleted'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyAsCompleted'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e0bab80> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stdout setup ----------------------------- >setup class with <loky.backend.context.LokyContext object at 0x7f9050108730> >_____ ERROR at setup of TestsProcessPoolLokyAsCompleted.test_zero_timeout ______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyAsCompleted'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyAsCompleted'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e0bab80> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >___ ERROR at setup of TestsProcessPoolLokyAsCompleted.test_duplicate_futures ___ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyAsCompleted'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyAsCompleted'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e0bab80> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >__________ ERROR at setup of TestsProcessPoolLokyExecutor.test_submit __________ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stdout setup ----------------------------- >setup class with <loky.backend.context.LokyContext object at 0x7f9050108730> >______ ERROR at setup of TestsProcessPoolLokyExecutor.test_submit_keyword ______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >___________ ERROR at setup of TestsProcessPoolLokyExecutor.test_map ____________ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >______ ERROR at setup of TestsProcessPoolLokyExecutor.test_map_exception _______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_______ ERROR at setup of TestsProcessPoolLokyExecutor.test_map_timeout ________ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_ ERROR at setup of TestsProcessPoolLokyExecutor.test_shutdown_race_issue12456 _ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >___ ERROR at setup of TestsProcessPoolLokyExecutor.test_no_stale_references ____ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >___ ERROR at setup of TestsProcessPoolLokyExecutor.test_max_workers_negative ___ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_______ ERROR at setup of TestsProcessPoolLokyExecutor.test_killed_child _______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >______ ERROR at setup of TestsProcessPoolLokyExecutor.test_map_chunksize _______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >________ ERROR at setup of TestsProcessPoolLokyExecutor.test_traceback _________ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >______ ERROR at setup of TestsProcessPoolLokyExecutor.test_thread_safety _______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >___ ERROR at setup of TestsProcessPoolLokyExecutor.test_submit_from_callback ___ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >______ ERROR at setup of TestsProcessPoolLokyExecutor.test_worker_timeout ______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >______ ERROR at setup of TestsProcessPoolLokyExecutor.test_serialization _______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_____ ERROR at setup of TestsProcessPoolLokyExecutor.test_max_depth[True] ______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_____ ERROR at setup of TestsProcessPoolLokyExecutor.test_max_depth[False] _____ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >__ ERROR at setup of TestsProcessPoolLokyExecutor.test_memory_leak_protection __ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_ ERROR at setup of TestsProcessPoolLokyExecutor.test_reference_cycle_collection _ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_______ ERROR at setup of TestsProcessPoolLokyExecutor.test_exited_child _______ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >____ ERROR at setup of TestsProcessPoolLokyExecutor.test_child_env_executor ____ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >____ ERROR at setup of TestsProcessPoolLokyExecutor.test_viztracer_profiler ____ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_ ERROR at setup of TestsProcessPoolLokyExecutor.test_viztracer_profiler_with_custom_init _ > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_loky.TestsProcessPoolLokyExecutor'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e464040> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >___ ERROR at setup of TestsProcessPoolSpawnShutdown.test_run_after_shutdown ____ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904ea63a90> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904ea63a90> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:1008: in __init__ > self._setup_queues(job_reducers, result_reducers) > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e302760> > timeout = None >loky/process_executor.py:1018: in _setup_queues > self._call_queue = _SafeQueue( > job_reducers = None > queue_size = 11 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e302760> >loky/process_executor.py:289: in __init__ > super().__init__(max_size, reducers=reducers, ctx=ctx) > __class__ = <class 'loky.process_executor._SafeQueue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > max_size = 11 > pending_work_items = {} > reducers = None > running_work_items = [] > self = <loky.process_executor._SafeQueue object at 0x7f904e4573d0> > thread_wakeup = <loky.process_executor._ThreadWakeup object at 0x7f904e457490> >loky/backend/queues.py:33: in __init__ > super().__init__(maxsize=maxsize, ctx=ctx) > __class__ = <class 'loky.backend.queues.Queue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > reducers = None > self = <loky.process_executor._SafeQueue object at 0x7f904e4573d0> >/usr/lib/python3.8/multiprocessing/queues.py:42: in __init__ > self._rlock = ctx.Lock() > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > self = <loky.process_executor._SafeQueue object at 0x7f904e4573d0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >---------------------------- Captured stdout setup ----------------------------- >setup class with <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 >_ ERROR at setup of TestsProcessPoolSpawnShutdown.test_shutdown_with_pickle_error _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904ea63130> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904ea63130> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e0bd0a0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnShutdown.test_shutdown_with_sys_exit_at_pickle _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a78e0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a78e0> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e24b070> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >__ ERROR at setup of TestsProcessPoolSpawnShutdown.test_interpreter_shutdown ___ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7250> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7250> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e083910> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_____ ERROR at setup of TestsProcessPoolSpawnShutdown.test_hang_issue12364 _____ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a74c0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a74c0> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e0cc9d0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >___ ERROR at setup of TestsProcessPoolSpawnShutdown.test_processes_terminate ___ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7580> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7580> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e083f70> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnShutdown.test_processes_terminate_on_executor_gc _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7730> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7730> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:1008: in __init__ > self._setup_queues(job_reducers, result_reducers) > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e43e5b0> > timeout = None >loky/process_executor.py:1018: in _setup_queues > self._call_queue = _SafeQueue( > job_reducers = None > queue_size = 11 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e43e5b0> >loky/process_executor.py:289: in __init__ > super().__init__(max_size, reducers=reducers, ctx=ctx) > __class__ = <class 'loky.process_executor._SafeQueue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > max_size = 11 > pending_work_items = {} > reducers = None > running_work_items = [] > self = <loky.process_executor._SafeQueue object at 0x7f904e43e820> > thread_wakeup = <loky.process_executor._ThreadWakeup object at 0x7f904e43efd0> >loky/backend/queues.py:33: in __init__ > super().__init__(maxsize=maxsize, ctx=ctx) > __class__ = <class 'loky.backend.queues.Queue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > reducers = None > self = <loky.process_executor._SafeQueue object at 0x7f904e43e820> >/usr/lib/python3.8/multiprocessing/queues.py:42: in __init__ > self._rlock = ctx.Lock() > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > self = <loky.process_executor._SafeQueue object at 0x7f904e43e820> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 >_ ERROR at setup of TestsProcessPoolSpawnShutdown.test_processes_crash_handling_after_executor_gc _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7b20> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7b20> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e1d4700> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnShutdown.test_context_manager_shutdown _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7d00> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7d00> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e2172e0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >______ ERROR at setup of TestsProcessPoolSpawnShutdown.test_del_shutdown _______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7f40> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9a7f40> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e076d00> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >____ ERROR at setup of TestsProcessPoolSpawnShutdown.test_shutdown_no_wait _____ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9be070> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9be070> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e0a5cd0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnShutdown.test_shutdown_deadlock_pickle _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9be6a0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9be6a0> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e241400> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_____ ERROR at setup of TestsProcessPoolSpawnShutdown.test_hang_issue39205 _____ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9bec40> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9bec40> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e24e3a0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnShutdown.test_shutdown_and_kill_workers _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9be880> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnShutdown object at 0x7f904e9be880> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:1008: in __init__ > self._setup_queues(job_reducers, result_reducers) > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e13a280>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e241310> > timeout = None >loky/process_executor.py:1018: in _setup_queues > self._call_queue = _SafeQueue( > job_reducers = None > queue_size = 11 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e241310> >loky/process_executor.py:289: in __init__ > super().__init__(max_size, reducers=reducers, ctx=ctx) > __class__ = <class 'loky.process_executor._SafeQueue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > max_size = 11 > pending_work_items = {} > reducers = None > running_work_items = [] > self = <loky.process_executor._SafeQueue object at 0x7f904e241d90> > thread_wakeup = <loky.process_executor._ThreadWakeup object at 0x7f904e241940> >loky/backend/queues.py:33: in __init__ > super().__init__(maxsize=maxsize, ctx=ctx) > __class__ = <class 'loky.backend.queues.Queue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > reducers = None > self = <loky.process_executor._SafeQueue object at 0x7f904e241d90> >/usr/lib/python3.8/multiprocessing/queues.py:42: in __init__ > self._rlock = ctx.Lock() > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > self = <loky.process_executor._SafeQueue object at 0x7f904e241d90> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 >_______ ERROR at setup of TestsProcessPoolSpawnWait.test_first_completed _______ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e241eb0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >---------------------------- Captured stdout setup ----------------------------- >setup class with <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >_ ERROR at setup of TestsProcessPoolSpawnWait.test_first_completed_some_already_completed _ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e241eb0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_______ ERROR at setup of TestsProcessPoolSpawnWait.test_first_exception _______ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e241eb0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnWait.test_first_exception_some_already_complete _ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e241eb0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnWait.test_first_exception_one_already_failed _ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e241eb0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >________ ERROR at setup of TestsProcessPoolSpawnWait.test_all_completed ________ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e241eb0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >___________ ERROR at setup of TestsProcessPoolSpawnWait.test_timeout ___________ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnWait'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e241eb0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >______ ERROR at setup of TestsProcessPoolSpawnAsCompleted.test_no_timeout ______ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnAsCompleted'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnAsCompleted'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e01a0d0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >---------------------------- Captured stdout setup ----------------------------- >setup class with <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >_____ ERROR at setup of TestsProcessPoolSpawnAsCompleted.test_zero_timeout _____ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnAsCompleted'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnAsCompleted'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e01a0d0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >__ ERROR at setup of TestsProcessPoolSpawnAsCompleted.test_duplicate_futures ___ > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnAsCompleted'> > > @classmethod > def setup_class(cls): > print(f"setup class with {cls.context}") > global _test_event > if _test_event is None: >> _test_event = cls.context.Event() > >cls = <class 'tests.test_process_executor_spawn.TestsProcessPoolSpawnAsCompleted'> > >tests/_executor_mixin.py:135: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.8/multiprocessing/context.py:93: in Event > return Event(ctx=self.get_context()) > Event = <class 'multiprocessing.synchronize.Event'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:324: in __init__ > self._cond = ctx.Condition(ctx.Lock()) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <multiprocessing.synchronize.Event object at 0x7f904e01a0d0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_________ ERROR at setup of TestsProcessPoolSpawnExecutor.test_submit __________ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c34c0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c34c0> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:1008: in __init__ > self._setup_queues(job_reducers, result_reducers) > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e464d60> > timeout = None >loky/process_executor.py:1018: in _setup_queues > self._call_queue = _SafeQueue( > job_reducers = None > queue_size = 11 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e464d60> >loky/process_executor.py:289: in __init__ > super().__init__(max_size, reducers=reducers, ctx=ctx) > __class__ = <class 'loky.process_executor._SafeQueue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > max_size = 11 > pending_work_items = {} > reducers = None > running_work_items = [] > self = <loky.process_executor._SafeQueue object at 0x7f904e29b400> > thread_wakeup = <loky.process_executor._ThreadWakeup object at 0x7f904e464be0> >loky/backend/queues.py:33: in __init__ > super().__init__(maxsize=maxsize, ctx=ctx) > __class__ = <class 'loky.backend.queues.Queue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > reducers = None > self = <loky.process_executor._SafeQueue object at 0x7f904e29b400> >/usr/lib/python3.8/multiprocessing/queues.py:42: in __init__ > self._rlock = ctx.Lock() > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > self = <loky.process_executor._SafeQueue object at 0x7f904e29b400> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >---------------------------- Captured stdout setup ----------------------------- >setup class with <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 >_____ ERROR at setup of TestsProcessPoolSpawnExecutor.test_submit_keyword ______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c36a0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c36a0> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904dfc9640> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >___________ ERROR at setup of TestsProcessPoolSpawnExecutor.test_map ___________ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3880> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3880> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e076a60> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >______ ERROR at setup of TestsProcessPoolSpawnExecutor.test_map_exception ______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3a60> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3a60> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e2eebe0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_______ ERROR at setup of TestsProcessPoolSpawnExecutor.test_map_timeout _______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3c40> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3c40> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e24ed00> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnExecutor.test_shutdown_race_issue12456 _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3e20> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3e20> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e200be0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >___ ERROR at setup of TestsProcessPoolSpawnExecutor.test_no_stale_references ___ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2040> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2040> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e35a340> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >__ ERROR at setup of TestsProcessPoolSpawnExecutor.test_max_workers_negative ___ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2220> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2220> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:1008: in __init__ > self._setup_queues(job_reducers, result_reducers) > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e44e130> > timeout = None >loky/process_executor.py:1018: in _setup_queues > self._call_queue = _SafeQueue( > job_reducers = None > queue_size = 11 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e44e130> >loky/process_executor.py:289: in __init__ > super().__init__(max_size, reducers=reducers, ctx=ctx) > __class__ = <class 'loky.process_executor._SafeQueue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > max_size = 11 > pending_work_items = {} > reducers = None > running_work_items = [] > self = <loky.process_executor._SafeQueue object at 0x7f904e26ca30> > thread_wakeup = <loky.process_executor._ThreadWakeup object at 0x7f904e26c190> >loky/backend/queues.py:33: in __init__ > super().__init__(maxsize=maxsize, ctx=ctx) > __class__ = <class 'loky.backend.queues.Queue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > reducers = None > self = <loky.process_executor._SafeQueue object at 0x7f904e26ca30> >/usr/lib/python3.8/multiprocessing/queues.py:42: in __init__ > self._rlock = ctx.Lock() > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > self = <loky.process_executor._SafeQueue object at 0x7f904e26ca30> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 >______ ERROR at setup of TestsProcessPoolSpawnExecutor.test_killed_child _______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3fa0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3fa0> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e370400> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >______ ERROR at setup of TestsProcessPoolSpawnExecutor.test_map_chunksize ______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3a00> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c3a00> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e28c0d0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >________ ERROR at setup of TestsProcessPoolSpawnExecutor.test_traceback ________ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e99eb80> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e99eb80> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e002e20> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >______ ERROR at setup of TestsProcessPoolSpawnExecutor.test_thread_safety ______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9a7c70> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9a7c70> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e43aca0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >__ ERROR at setup of TestsProcessPoolSpawnExecutor.test_submit_from_callback ___ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2580> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2580> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e076400> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_____ ERROR at setup of TestsProcessPoolSpawnExecutor.test_worker_timeout ______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2760> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2760> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:1008: in __init__ > self._setup_queues(job_reducers, result_reducers) > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e226c70> > timeout = None >loky/process_executor.py:1018: in _setup_queues > self._call_queue = _SafeQueue( > job_reducers = None > queue_size = 11 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e226c70> >loky/process_executor.py:289: in __init__ > super().__init__(max_size, reducers=reducers, ctx=ctx) > __class__ = <class 'loky.process_executor._SafeQueue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > max_size = 11 > pending_work_items = {} > reducers = None > running_work_items = [] > self = <loky.process_executor._SafeQueue object at 0x7f904e2267f0> > thread_wakeup = <loky.process_executor._ThreadWakeup object at 0x7f904e2263d0> >loky/backend/queues.py:33: in __init__ > super().__init__(maxsize=maxsize, ctx=ctx) > __class__ = <class 'loky.backend.queues.Queue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > reducers = None > self = <loky.process_executor._SafeQueue object at 0x7f904e2267f0> >/usr/lib/python3.8/multiprocessing/queues.py:42: in __init__ > self._rlock = ctx.Lock() > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > self = <loky.process_executor._SafeQueue object at 0x7f904e2267f0> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 >______ ERROR at setup of TestsProcessPoolSpawnExecutor.test_serialization ______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2940> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2940> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e350970> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_____ ERROR at setup of TestsProcessPoolSpawnExecutor.test_max_depth[True] _____ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2b50> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2b50> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e27cbb0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >____ ERROR at setup of TestsProcessPoolSpawnExecutor.test_max_depth[False] _____ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2d30> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c2d30> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e2a3910> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnExecutor.test_memory_leak_protection __ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4370> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4370> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e11e220> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnExecutor.test_reference_cycle_collection _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4a90> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4a90> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e14f070> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >______ ERROR at setup of TestsProcessPoolSpawnExecutor.test_exited_child _______ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4a30> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4a30> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:1008: in __init__ > self._setup_queues(job_reducers, result_reducers) > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e28ca00> > timeout = None >loky/process_executor.py:1018: in _setup_queues > self._call_queue = _SafeQueue( > job_reducers = None > queue_size = 11 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e28ca00> >loky/process_executor.py:289: in __init__ > super().__init__(max_size, reducers=reducers, ctx=ctx) > __class__ = <class 'loky.process_executor._SafeQueue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > max_size = 11 > pending_work_items = {} > reducers = None > running_work_items = [] > self = <loky.process_executor._SafeQueue object at 0x7f904e0bd790> > thread_wakeup = <loky.process_executor._ThreadWakeup object at 0x7f904e0bdd30> >loky/backend/queues.py:33: in __init__ > super().__init__(maxsize=maxsize, ctx=ctx) > __class__ = <class 'loky.backend.queues.Queue'> > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > reducers = None > self = <loky.process_executor._SafeQueue object at 0x7f904e0bd790> >/usr/lib/python3.8/multiprocessing/queues.py:42: in __init__ > self._rlock = ctx.Lock() > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > maxsize = 11 > self = <loky.process_executor._SafeQueue object at 0x7f904e0bd790> >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 >___ ERROR at setup of TestsProcessPoolSpawnExecutor.test_child_env_executor ____ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4490> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4490> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904dfb9520> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >___ ERROR at setup of TestsProcessPoolSpawnExecutor.test_viztracer_profiler ____ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c48e0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c48e0> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e13f0d0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestsProcessPoolSpawnExecutor.test_viztracer_profiler_with_custom_init _ > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4fa0> > > @pytest.fixture(autouse=True) > def setup_method(self): > global _test_event > assert _test_event is not None > try: >> self.executor = self.executor_type( > max_workers=self.worker_count, context=self.context, > initializer=initializer_event, initargs=(_test_event,)) > >self = <tests.test_process_executor_spawn.TestsProcessPoolSpawnExecutor object at 0x7f904e9c4fa0> > >tests/_executor_mixin.py:149: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > env = None > initargs = (<multiprocessing.synchronize.Event object at 0x7f904e020310>,) > initializer = <function initializer_event at 0x7f904e901280> > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e1a72b0> > timeout = None >/usr/lib/python3.8/multiprocessing/context.py:68: in Lock > return Lock(ctx=self.get_context()) > Lock = <class 'multiprocessing.synchronize.Lock'> > self = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >/usr/lib/python3.8/multiprocessing/synchronize.py:162: in __init__ > SemLock.__init__(self, SEMAPHORE, 1, 1, ctx=ctx) > ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1 > > def __init__(self, kind, value, maxvalue, *, ctx): > if ctx is None: > ctx = context._default_context.get_context() > name = ctx.get_start_method() > unlink_now = sys.platform == 'win32' or name == 'fork' > for i in range(100): > try: >> sl = self._semlock = _multiprocessing.SemLock( > kind, value, maxvalue, self._make_name(), > unlink_now) >E OSError: [Errno 24] No file descriptors available > >ctx = <multiprocessing.context.SpawnContext object at 0x7f9050287a60> >i = 0 >kind = 1 >maxvalue = 1 >name = 'spawn' >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >/usr/lib/python3.8/multiprocessing/synchronize.py:57: OSError >_ ERROR at setup of TestExecutorDeadLock.test_crashes[id-args0-PicklingError-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d550> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d550>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d550>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d550> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e44e520 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e04d700> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e44e6d0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e44e6d0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e44e6d0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Create a executor with max_workers=2. >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >_ ERROR at setup of TestExecutorDeadLock.test_crashes[id-args1-PicklingError-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8d90> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8d90>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8d90>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8d90> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e9c40a0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e1e5600> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2ee7c0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2ee7c0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2ee7c0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[id-args2-BrokenProcessPool-SystemExit] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a87c0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a87c0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a87c0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a87c0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0026d0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e247400> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e002820> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e002820> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e002820> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[id-args3-TerminatedWorkerError-EXIT\\(0\\)] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8430> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8430>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8430>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8430> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e43ac40 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e1b8ec0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e43aca0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e43aca0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e43aca0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[id-args4-BrokenProcessPool-UnpicklingError] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8340> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8340>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8340>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e9a8340> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904dfefa30 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e1f9ec0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfefa90> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfefa90> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfefa90> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[id-args5-TerminatedWorkerError-SIGSEGV] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d7f0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d7f0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d7f0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d7f0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e088370 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e10d680> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e088850> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e088850> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e088850> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[crash-args6-TerminatedWorkerError-SIGSEGV] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d610> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d610>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d610>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d610> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e1fe7c0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e7d4f80> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1fe460> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1fe460> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1fe460> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[exit-args7-SystemExit-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5de80> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5de80>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5de80>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5de80> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e2175b0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e285d00> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e217dc0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e217dc0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e217dc0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[c_exit-args8-TerminatedWorkerError-EXIT\\(0\\)] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5da00> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5da00>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5da00>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5da00> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0a1760 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e129640> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0a1790> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0a1790> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0a1790> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[raise_error-args9-RuntimeError-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d880> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d880>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d880>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d880> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e21b850 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e10de80> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e21b370> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e21b370> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e21b370> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[return_instance-args10-TerminatedWorkerError-SIGSEGV] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d220> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d220>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d220>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d220> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e28c4c0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904df48e80> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e20cf70> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e20cf70> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e20cf70> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[return_instance-args11-SystemExit-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d460> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d460>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d460>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d460> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0e22b0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904df135c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0e2bb0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0e2bb0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0e2bb0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[return_instance-args12-TerminatedWorkerError-EXIT\\(0\\)] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d4f0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d4f0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d4f0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d4f0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e119be0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e074840> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e119a00> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e119a00> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e119a00> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[return_instance-args13-PicklingError-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d3a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d3a0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d3a0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d3a0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e33ee20 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e26f180> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e33eb80> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e33eb80> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e33eb80> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[return_instance-args14-BrokenProcessPool-SystemExit] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d790> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d790>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d790>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d790> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e002520 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904dff8bc0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e002ca0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e002ca0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e002ca0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_crashes[return_instance-args15-BrokenProcessPool-UnpicklingError] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d310> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d310>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crashes of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d310>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d310> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904dff1fa0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904dff6240> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e274a90> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e274a90> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e274a90> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[id-args0-PicklingError-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5daf0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5daf0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5daf0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5daf0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e071190 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904dfae040> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e071be0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e071be0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e071be0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[id-args1-PicklingError-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5ddf0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5ddf0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5ddf0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5ddf0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e231e80 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904dfc6e80> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e231670> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e231670> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e231670> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[id-args2-BrokenProcessPool-SystemExit] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dd30> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dd30>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dd30>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dd30> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e457ac0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904dfaa300> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e457670> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e457670> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e457670> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[id-args3-TerminatedWorkerError-EXIT\\(0\\)] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d340> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d340>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d340>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d340> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e226a30 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e2858c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e226e80> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e226e80> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e226e80> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[id-args4-BrokenProcessPool-UnpicklingError] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dbb0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dbb0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dbb0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dbb0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904dfc70a0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e039c00> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfc7040> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfc7040> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfc7040> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[id-args5-TerminatedWorkerError-SIGSEGV] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d0d0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d0d0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d0d0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d0d0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e45c9a0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e04d800> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e45c190> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e45c190> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e45c190> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[crash-args6-TerminatedWorkerError-SIGSEGV] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5db50> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5db50>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5db50>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5db50> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e034670 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e099940> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1fe760> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1fe760> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1fe760> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[exit-args7-SystemExit-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d1c0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d1c0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d1c0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d1c0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e022f70 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e0b1e80> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e022af0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e022af0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e022af0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[c_exit-args8-TerminatedWorkerError-EXIT\\(0\\)] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5df70> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5df70>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5df70>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5df70> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e1d8580 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904df35640> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1d8430> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1d8430> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1d8430> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[raise_error-args9-RuntimeError-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d730> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d730>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d730>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d730> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e1d4790 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e012f40> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1d4ac0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1d4ac0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1d4ac0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[return_instance-args10-TerminatedWorkerError-SIGSEGV] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dc70> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dc70>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dc70>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5dc70> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904dfc91f0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e089c80> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e13fc40> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e13fc40> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e13fc40> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[return_instance-args11-SystemExit-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d7c0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d7c0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d7c0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904eb5d7c0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e077f40 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e3479c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e077280> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e077280> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e077280> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[return_instance-args12-TerminatedWorkerError-EXIT\\(0\\)] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f070> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f070>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f070>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f070> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e038cd0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904eb9ca40> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e038340> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e038340> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e038340> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[return_instance-args13-PicklingError-None] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f100> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f100>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f100>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f100> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e1f1b80 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e33d400> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1f1160> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1f1160> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1f1160> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[return_instance-args14-BrokenProcessPool-SystemExit] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f190> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f190>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f190>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f190> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e036610 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904dfe3a40> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfcd070> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfcd070> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfcd070> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_in_callback_submit_with_crash[return_instance-args15-BrokenProcessPool-UnpicklingError] _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f220> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f220>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_in_callback_submit_with_crash of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f220>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f220> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e241e20 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e3562c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e241a90> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e241a90> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e241a90> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_____ ERROR at setup of TestExecutorDeadLock.test_callback_crash_on_submit _____ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f2b0> >method = <bound method TestExecutorDeadLock.test_callback_crash_on_submit of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f2b0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_callback_crash_on_submit of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f2b0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f2b0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904df8c7c0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e0b6980> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df8cd90> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df8cd90> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df8cd90> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >__________ ERROR at setup of TestExecutorDeadLock.test_crash_races[1] __________ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f580> >method = <bound method TestExecutorDeadLock.test_crash_races of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f580>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crash_races of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f580>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f580> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0e2670 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e06dc80> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0e2a60> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0e2a60> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0e2a60> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >__________ ERROR at setup of TestExecutorDeadLock.test_crash_races[2] __________ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f6d0> >method = <bound method TestExecutorDeadLock.test_crash_races of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f6d0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crash_races of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f6d0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f6d0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0dc160 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904dece880> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfb9ca0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfb9ca0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfb9ca0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >__________ ERROR at setup of TestExecutorDeadLock.test_crash_races[5] __________ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f760> >method = <bound method TestExecutorDeadLock.test_crash_races of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f760>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crash_races of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f760>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f760> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e119820 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e129940> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2dd190> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2dd190> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2dd190> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_________ ERROR at setup of TestExecutorDeadLock.test_crash_races[13] __________ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f7f0> >method = <bound method TestExecutorDeadLock.test_crash_races of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f7f0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_crash_races of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f7f0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f7f0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0fe1f0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e21f400> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0fe8b0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0fe8b0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0fe8b0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >__ ERROR at setup of TestExecutorDeadLock.test_imap_handle_iterable_exception __ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f880> >method = <bound method TestExecutorDeadLock.test_imap_handle_iterable_exception of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f880>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_imap_handle_iterable_exception of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f880>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98f880> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e1f0ca0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e360380> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1f04f0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1f04f0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1f04f0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_______ ERROR at setup of TestExecutorDeadLock.test_queue_full_deadlock ________ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fa30> >method = <bound method TestExecutorDeadLock.test_queue_full_deadlock of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fa30>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_queue_full_deadlock of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fa30>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fa30> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e226d00 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e026040> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e226100> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e226100> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e226100> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_informative_error_when_fail_at_unpickle _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fbe0> >method = <bound method TestExecutorDeadLock.test_informative_error_when_fail_at_unpickle of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fbe0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_informative_error_when_fail_at_unpickle of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fbe0>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fbe0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904dee3c10 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904dfca080> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dee3d90> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dee3d90> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dee3d90> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestExecutorDeadLock.test_numpy_dot_parent_and_child_no_freeze _ > >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fd90> >method = <bound method TestExecutorDeadLock.test_numpy_dot_parent_and_child_no_freeze of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fd90>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >method = <bound method TestExecutorDeadLock.test_numpy_dot_parent_and_child_no_freeze of <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fd90>> >self = <tests.test_reusable_executor.TestExecutorDeadLock object at 0x7f904e98fd90> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0dc130 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e36b900> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df07070> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df07070> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df07070> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >__________ ERROR at setup of TestTerminateExecutor.test_shutdown_kill __________ > >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57400> >method = <bound method TestTerminateExecutor.test_shutdown_kill of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57400>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >method = <bound method TestTerminateExecutor.test_shutdown_kill of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57400>> >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57400> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e2dd190 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> > w = <loky.process_executor._WorkItem object at 0x7f904e9b8480> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2ddac0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2ddac0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e2ddac0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Creating a new executor with max_workers= 2 as the previous instance cannot be reused (shutdown). >[DEBUG:MainProcess:MainThread] shutting down executor <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e02e6a0> >[DEBUG:MainProcess:MainThread] Create a executor with max_workers=2. >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >________ ERROR at setup of TestTerminateExecutor.test_shutdown_deadlock ________ > >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb575b0> >method = <bound method TestTerminateExecutor.test_shutdown_deadlock of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb575b0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >method = <bound method TestTerminateExecutor.test_shutdown_deadlock of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb575b0>> >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb575b0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e143700 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> > w = <loky.process_executor._WorkItem object at 0x7f904ded7700> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df78370> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df78370> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df78370> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >___ ERROR at setup of TestTerminateExecutor.test_kill_workers_on_new_options ___ > >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57760> >method = <bound method TestTerminateExecutor.test_kill_workers_on_new_options of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57760>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >method = <bound method TestTerminateExecutor.test_kill_workers_on_new_options of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57760>> >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57760> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0760d0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> > w = <loky.process_executor._WorkItem object at 0x7f904e208840> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e076700> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e076700> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e076700> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestTerminateExecutor.test_call_item_gc_crash_or_exit[CrashAtGCInWorker-SIGSEGV] _ > >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57ac0> >method = <bound method TestTerminateExecutor.test_call_item_gc_crash_or_exit of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57ac0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >method = <bound method TestTerminateExecutor.test_call_item_gc_crash_or_exit of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57ac0>> >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57ac0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0bd2e0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> > w = <loky.process_executor._WorkItem object at 0x7f904e011780> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0bd040> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0bd040> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0bd040> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestTerminateExecutor.test_call_item_gc_crash_or_exit[CExitAtGCInWorker-EXIT\\(0\\)] _ > >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57b50> >method = <bound method TestTerminateExecutor.test_call_item_gc_crash_or_exit of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57b50>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >method = <bound method TestTerminateExecutor.test_call_item_gc_crash_or_exit of <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57b50>> >self = <tests.test_reusable_executor.TestTerminateExecutor object at 0x7f904eb57b50> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904df07fa0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> > w = <loky.process_executor._WorkItem object at 0x7f904e10dfc0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df074c0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df074c0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df074c0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >______ ERROR at setup of TestResizeExecutor.test_reusable_executor_resize ______ > >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3ab50> >method = <bound method TestResizeExecutor.test_reusable_executor_resize of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3ab50>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >method = <bound method TestResizeExecutor.test_reusable_executor_resize of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3ab50>> >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3ab50> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904df5eaf0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> > w = <loky.process_executor._WorkItem object at 0x7f904e1e1f40> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df5e370> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df5e370> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df5e370> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Creating a new executor with max_workers= 2 as the previous instance cannot be reused (shutdown). >[DEBUG:MainProcess:MainThread] shutting down executor <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904eb5d820> >[DEBUG:MainProcess:MainThread] Create a executor with max_workers=2. >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >_ ERROR at setup of TestResizeExecutor.test_reusable_executor_resize_many_times[True-True] _ > >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3a070> >method = <bound method TestResizeExecutor.test_reusable_executor_resize_many_times of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3a070>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >method = <bound method TestResizeExecutor.test_reusable_executor_resize_many_times of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3a070>> >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3a070> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904df2daf0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> > w = <loky.process_executor._WorkItem object at 0x7f904deeb640> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df2dc10> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df2dc10> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df2dc10> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestResizeExecutor.test_reusable_executor_resize_many_times[True-False] _ > >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3a6a0> >method = <bound method TestResizeExecutor.test_reusable_executor_resize_many_times of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3a6a0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >method = <bound method TestResizeExecutor.test_reusable_executor_resize_many_times of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3a6a0>> >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3a6a0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e038190 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> > w = <loky.process_executor._WorkItem object at 0x7f904e1bd440> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e038cd0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e038cd0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e038cd0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestResizeExecutor.test_reusable_executor_resize_many_times[False-True] _ > >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb57fd0> >method = <bound method TestResizeExecutor.test_reusable_executor_resize_many_times of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb57fd0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >method = <bound method TestResizeExecutor.test_reusable_executor_resize_many_times of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb57fd0>> >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb57fd0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e0aa4f0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> > w = <loky.process_executor._WorkItem object at 0x7f904e07a3c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0aacd0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0aacd0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0aacd0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestResizeExecutor.test_reusable_executor_resize_many_times[False-False] _ > >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904e98fd00> >method = <bound method TestResizeExecutor.test_reusable_executor_resize_many_times of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904e98fd00>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >method = <bound method TestResizeExecutor.test_reusable_executor_resize_many_times of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904e98fd00>> >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904e98fd00> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904df4c640 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> > w = <loky.process_executor._WorkItem object at 0x7f904e1ff1c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df4c3d0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df4c3d0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df4c3d0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_______ ERROR at setup of TestResizeExecutor.test_kill_after_resize_call _______ > >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904e98f9d0> >method = <bound method TestResizeExecutor.test_kill_after_resize_call of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904e98f9d0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >method = <bound method TestResizeExecutor.test_kill_after_resize_call of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904e98f9d0>> >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904e98f9d0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e34b700 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> > w = <loky.process_executor._WorkItem object at 0x7f904df72640> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e34bee0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e34bee0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e34bee0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >________ ERROR at setup of TestResizeExecutor.test_resize_after_timeout ________ > >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3ab80> >method = <bound method TestResizeExecutor.test_resize_after_timeout of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3ab80>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >method = <bound method TestResizeExecutor.test_resize_after_timeout of <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3ab80>> >self = <tests.test_reusable_executor.TestResizeExecutor object at 0x7f904eb3ab80> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e3695b0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> > w = <loky.process_executor._WorkItem object at 0x7f904e01c2c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e3695e0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e3695e0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e3695e0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >____ ERROR at setup of TestGetReusableExecutor.test_invalid_process_number _____ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3a7f0> >method = <bound method TestGetReusableExecutor.test_invalid_process_number of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3a7f0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_invalid_process_number of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3a7f0>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3a7f0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904df88550 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e345200> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df88a30> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df88a30> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df88a30> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Creating a new executor with max_workers= 2 as the previous instance cannot be reused (shutdown). >[DEBUG:MainProcess:MainThread] shutting down executor <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e33ebb0> >[DEBUG:MainProcess:MainThread] Create a executor with max_workers=2. >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >________ ERROR at setup of TestGetReusableExecutor.test_invalid_context ________ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3ac70> >method = <bound method TestGetReusableExecutor.test_invalid_context of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3ac70>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_invalid_context of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3ac70>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3ac70> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e359b50 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904df740c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e359580> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e359580> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e359580> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_pass_start_method_name_as_context _ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3aeb0> >method = <bound method TestGetReusableExecutor.test_pass_start_method_name_as_context of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3aeb0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_pass_start_method_name_as_context of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3aeb0>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb3aeb0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e353b80 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e34d300> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e353790> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e353790> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e353790> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_interactively_defined_executor_no_main _ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41100> >method = <bound method TestGetReusableExecutor.test_interactively_defined_executor_no_main of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41100>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_interactively_defined_executor_no_main of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41100>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41100> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e98f790 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904de96440> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0760d0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0760d0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e0760d0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >__________ ERROR at setup of TestGetReusableExecutor.test_reused_flag __________ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb412b0> >method = <bound method TestGetReusableExecutor.test_reused_flag of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb412b0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_reused_flag of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb412b0>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb412b0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904df9ac10 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904dfbfe00> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df9a340> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df9a340> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904df9a340> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_interactively_defined_nested_functions _ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41460> >method = <bound method TestGetReusableExecutor.test_interactively_defined_nested_functions of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41460>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_interactively_defined_nested_functions of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41460>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41460> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e1aaeb0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e055500> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1aa6a0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1aa6a0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e1aa6a0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_interactively_defined_recursive_functions _ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41610> >method = <bound method TestGetReusableExecutor.test_interactively_defined_recursive_functions of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41610>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_interactively_defined_recursive_functions of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41610>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41610> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e083ca0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904df42140> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e083bb0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e083bb0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e083bb0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_compat_with_concurrent_futures_exception _ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb417c0> >method = <bound method TestGetReusableExecutor.test_compat_with_concurrent_futures_exception of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb417c0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_compat_with_concurrent_futures_exception of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb417c0>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb417c0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e2067f0 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904df74240> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e206e80> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e206e80> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e206e80> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_reusable_executor_thread_safety[constant-clean_start] _ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41b20> >method = <bound method TestGetReusableExecutor.test_reusable_executor_thread_safety of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41b20>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_reusable_executor_thread_safety of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41b20>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41b20> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904dfe0b80 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e1c02c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfe08b0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfe08b0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfe08b0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_reusable_executor_thread_safety[constant-broken_start] _ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41bb0> >method = <bound method TestGetReusableExecutor.test_reusable_executor_thread_safety of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41bb0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_reusable_executor_thread_safety of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41bb0>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41bb0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e359c70 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904df0afc0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e359460> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e359460> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e359460> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_reusable_executor_thread_safety[varying-clean_start] _ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41c40> >method = <bound method TestGetReusableExecutor.test_reusable_executor_thread_safety of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41c40>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_reusable_executor_thread_safety of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41c40>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41c40> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e02eb50 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e36f3c0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e02e580> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e02e580> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e02e580> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_reusable_executor_thread_safety[varying-broken_start] _ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41cd0> >method = <bound method TestGetReusableExecutor.test_reusable_executor_thread_safety of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41cd0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_reusable_executor_thread_safety of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41cd0>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41cd0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904e33e130 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e44adc0> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e33e040> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e33e040> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904e33e040> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_ ERROR at setup of TestGetReusableExecutor.test_reusable_executor_reuse_true __ > >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41d60> >method = <bound method TestGetReusableExecutor.test_reusable_executor_reuse_true of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41d60>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >method = <bound method TestGetReusableExecutor.test_reusable_executor_reuse_true of <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41d60>> >self = <tests.test_reusable_executor.TestGetReusableExecutor object at 0x7f904eb41d60> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904dfbd310 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> > w = <loky.process_executor._WorkItem object at 0x7f904e2ca800> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfbdac0> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfbdac0> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dfbdac0> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Reusing existing executor with max_workers=2. >_____ ERROR at setup of TestExecutorInitializer.test_reusable_initializer ______ > >self = <tests.test_reusable_executor.TestExecutorInitializer object at 0x7f904eb623d0> >method = <bound method TestExecutorInitializer.test_reusable_initializer of <tests.test_reusable_executor.TestExecutorInitializer object at 0x7f904eb623d0>> > > def setup_method(self, method): > default_start_method = get_context().get_start_method() > assert default_start_method == "loky", default_start_method > executor = get_reusable_executor(max_workers=2) >> _check_executor_started(executor) > >default_start_method = 'loky' >executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df8c1c0> >method = <bound method TestExecutorInitializer.test_reusable_initializer of <tests.test_reusable_executor.TestExecutorInitializer object at 0x7f904eb623d0>> >self = <tests.test_reusable_executor.TestExecutorInitializer object at 0x7f904eb623d0> > >tests/_executor_mixin.py:237: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/_executor_mixin.py:111: in _check_executor_started > res = executor.submit(id, None) > executor = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df8c1c0> >loky/reusable_executor.py:176: in submit > return super().submit(fn, *args, **kwargs) > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > args = (None,) > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df8c1c0> >loky/process_executor.py:1108: in submit > self._ensure_executor_running() > args = (None,) > f = <Future at 0x7f904dea5190 state=pending> > fn = <built-in function id> > kwargs = {} > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df8c1c0> > w = <loky.process_executor._WorkItem object at 0x7f904dfc2300> >loky/process_executor.py:1082: in _ensure_executor_running > self._adjust_process_count() > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df8c1c0> >loky/process_executor.py:1060: in _adjust_process_count > worker_exit_lock = self._context.BoundedSemaphore(1) > _ = 0 > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df8c1c0> >loky/backend/context.py:260: in BoundedSemaphore > return BoundedSemaphore(value) > BoundedSemaphore = <class 'loky.backend.synchronize.BoundedSemaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:159: in __init__ > SemLock.__init__(self, SEMAPHORE, value, value) > self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dea5580> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dea5580> >kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <[AttributeError("'BoundedSemaphore' object has no attribute '_semlock'") raised in repr()] BoundedSemaphore object at 0x7f904dea5580> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] Creating a new executor with max_workers= 2 as the previous instance cannot be reused (shutdown). >[DEBUG:MainProcess:MainThread] shutting down executor <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df1a6a0> >[DEBUG:MainProcess:MainThread] Create a executor with max_workers=2. >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >=================================== FAILURES =================================== >___________________________ test_cpu_count_affinity ____________________________ > > def test_cpu_count_affinity(): > if not hasattr(os, 'sched_getaffinity') or not hasattr(shutil, 'which'): > pytest.skip() > > taskset_bin = shutil.which('taskset') > python_bin = shutil.which('python') > > if taskset_bin is None or python_bin is None: > raise pytest.skip() > > try: > os.sched_getaffinity(0) > except NotImplementedError: > pytest.skip() > > res = check_output([taskset_bin, '-c', '0', > python_bin, '-c', cpu_count_cmd.format(args='')], > text=True) > > res_physical = check_output([ > taskset_bin, '-c', '0', python_bin, '-c', > cpu_count_cmd.format(args='only_physical_cores=True')], text=True) > > assert res.strip() == '1' >> assert res_physical.strip() == '1' >E AssertionError: assert '24' == '1' >E - 1 >E + 24 > >python_bin = '/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install/usr/bin/python' >res = '1\n' >res_physical = '24\n' >taskset_bin = '/usr/bin/taskset' > >tests/test_loky_module.py:64: AssertionError >__________ TestsProcessPoolLokyShutdown.test_context_manager_shutdown __________ > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea4ad00> > > def test_context_manager_shutdown(self): >> with self.executor_type(max_workers=5, context=self.context) as e: > >self = <tests.test_process_executor_loky.TestsProcessPoolLokyShutdown object at 0x7f904ea4ad00> > >tests/_test_process_executor.py:285: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = () > initializer = None > job_reducers = None > max_workers = 5 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e293fa0> > timeout = None >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >---------------------------- Captured stderr setup ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764675584 and name "None" >[DEBUG:MainProcess:MainThread] launched python with pid 41597 and cmd: >['/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install/usr/bin/python3.8', '-m', 'loky.backend.popen_loky_posix', '--process-name', 'LokyProcess-357', '--pipe', '440'] >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764671488 and name "None" >[DEBUG:MainProcess:MainThread] launched python with pid 41598 and cmd: >['/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install/usr/bin/python3.8', '-m', 'loky.backend.popen_loky_posix', '--process-name', 'LokyProcess-358', '--pipe', '441'] >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764667392 and name "None" >[DEBUG:MainProcess:MainThread] launched python with pid 41599 and cmd: >['/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install/usr/bin/python3.8', '-m', 'loky.backend.popen_loky_posix', '--process-name', 'LokyProcess-359', '--pipe', '442'] >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764663296 and name "None" >[DEBUG:MainProcess:MainThread] launched python with pid 41600 and cmd: >['/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install/usr/bin/python3.8', '-m', 'loky.backend.popen_loky_posix', '--process-name', 'LokyProcess-360', '--pipe', '443'] >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764659200 and name "None" >[DEBUG:MainProcess:MainThread] launched python with pid 41601 and cmd: >['/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install/usr/bin/python3.8', '-m', 'loky.backend.popen_loky_posix', '--process-name', 'LokyProcess-361', '--pipe', '444'] >[DEBUG:MainProcess:MainThread] Adjust process count : {41597: <LokyProcess name='LokyProcess-357' pid=41597 parent=38477 started>, 41598: <LokyProcess name='LokyProcess-358' pid=41598 parent=38477 started>, 41599: <LokyProcess name='LokyProcess-359' pid=41599 parent=38477 started>, 41600: <LokyProcess name='LokyProcess-360' pid=41600 parent=38477 started>, 41601: <LokyProcess name='LokyProcess-361' pid=41601 parent=38477 started>} >[DEBUG:MainProcess:MainThread] _start_executor_manager_thread called >[DEBUG:MainProcess:ExecutorManagerThread] Queue._start_thread() >[DEBUG:MainProcess:ExecutorManagerThread] doing self._thread.start() >[DEBUG:MainProcess:QueueFeederThread] starting thread to feed data to pipe >[DEBUG:MainProcess:ExecutorManagerThread] ... done self._thread.start() >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257765388288 and name "/loky-38477-90k751i3" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257765384192 and name "/loky-38477-cil0wr7y" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257764945920 and name "/loky-38477-nf96q16b" >[DEBUG:LokyProcess-359:MainThread] Queue._after_fork() >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257764753408 and name "/loky-38477-bt1n6b1y" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257764749312 and name "/loky-38477-9wchuqi8" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257765388288 and name "/loky-38477-90k751i3" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257765384192 and name "/loky-38477-cil0wr7y" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257764945920 and name "/loky-38477-nf96q16b" >[DEBUG:LokyProcess-358:MainThread] Queue._after_fork() >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257764753408 and name "/loky-38477-bt1n6b1y" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257764749312 and name "/loky-38477-9wchuqi8" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257765388288 and name "/loky-38477-90k751i3" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257765384192 and name "/loky-38477-cil0wr7y" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257764945920 and name "/loky-38477-nf96q16b" >[DEBUG:LokyProcess-357:MainThread] Queue._after_fork() >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257764753408 and name "/loky-38477-bt1n6b1y" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257764749312 and name "/loky-38477-9wchuqi8" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257765388288 and name "/loky-38477-90k751i3" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257765384192 and name "/loky-38477-cil0wr7y" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257764945920 and name "/loky-38477-nf96q16b" >[DEBUG:LokyProcess-360:MainThread] Queue._after_fork() >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257764753408 and name "/loky-38477-bt1n6b1y" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257764749312 and name "/loky-38477-9wchuqi8" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257765388288 and name "/loky-38477-90k751i3" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257765384192 and name "/loky-38477-cil0wr7y" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257764945920 and name "/loky-38477-nf96q16b" >[DEBUG:LokyProcess-361:MainThread] Queue._after_fork() >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257764753408 and name "/loky-38477-bt1n6b1y" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257764749312 and name "/loky-38477-9wchuqi8" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257766805504 and name "/loky-38477-69dohdhb" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257766723584 and name "/loky-38477-sk23wob5" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257765756928 and name "/loky-38477-fp7ncpin" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257765752832 and name "/loky-38477-gcsx0c73" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257765748736 and name "/loky-38477-6w16dnnk" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257765744640 and name "/loky-38477-sgc72iio" >[DEBUG:LokyProcess-359:MainThread] recreated blocker with handle 140257764667392 and name "/loky-38477-yarlmxxn" >[INFO:LokyProcess-359:MainThread] child process calling self.run() >[DEBUG:LokyProcess-359:MainThread] Worker started with timeout=None >[DEBUG:LokyProcess-359:MainThread] psutil return memory size: 21221376 >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257766805504 and name "/loky-38477-69dohdhb" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257766723584 and name "/loky-38477-sk23wob5" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257765756928 and name "/loky-38477-fp7ncpin" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257765752832 and name "/loky-38477-gcsx0c73" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257765748736 and name "/loky-38477-6w16dnnk" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257765744640 and name "/loky-38477-sgc72iio" >[DEBUG:LokyProcess-358:MainThread] recreated blocker with handle 140257764671488 and name "/loky-38477-y2pydlns" >[INFO:LokyProcess-358:MainThread] child process calling self.run() >[DEBUG:LokyProcess-358:MainThread] Worker started with timeout=None >--------------------------- Captured stderr teardown --------------------------- >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257766805504 and name "/loky-38477-69dohdhb" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257766723584 and name "/loky-38477-sk23wob5" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257765756928 and name "/loky-38477-fp7ncpin" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257765752832 and name "/loky-38477-gcsx0c73" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257765748736 and name "/loky-38477-6w16dnnk" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257765744640 and name "/loky-38477-sgc72iio" >[DEBUG:LokyProcess-357:MainThread] recreated blocker with handle 140257764675584 and name "/loky-38477-rsf9sguj" >[INFO:LokyProcess-357:MainThread] child process calling self.run() >[DEBUG:LokyProcess-357:MainThread] Worker started with timeout=None >[DEBUG:MainProcess:MainThread] shutting down executor <loky.process_executor.ProcessPoolExecutor object at 0x7f904e4641f0> >[DEBUG:MainProcess:ExecutorManagerThread] closing call_queue >[DEBUG:MainProcess:ExecutorManagerThread] telling queue thread to quit >[DEBUG:MainProcess:ExecutorManagerThread] Queue.join_thread() >[DEBUG:MainProcess:ExecutorManagerThread] closing result_queue >[INFO:LokyProcess-359:MainThread] Shutting down worker on sentinel >[DEBUG:MainProcess:ExecutorManagerThread] closing thread_wakeup >[DEBUG:LokyProcess-359:MainThread] Exited cleanly >[INFO:LokyProcess-358:MainThread] Shutting down worker on sentinel >[INFO:LokyProcess-359:MainThread] process shutting down >[DEBUG:LokyProcess-359:MainThread] running all "atexit" finalizers with priority >= 0 >[DEBUG:LokyProcess-359:MainThread] running the remaining "atexit" finalizers >[DEBUG:MainProcess:QueueFeederThread] feeder thread got sentinel -- exiting >[INFO:LokyProcess-357:MainThread] Shutting down worker on sentinel >[INFO:LokyProcess-359:MainThread] process exiting with exitcode 0 >[DEBUG:LokyProcess-358:MainThread] Exited cleanly >[DEBUG:MainProcess:ExecutorManagerThread] joining processes >[INFO:LokyProcess-358:MainThread] process shutting down >[DEBUG:LokyProcess-358:MainThread] running all "atexit" finalizers with priority >= 0 >[DEBUG:LokyProcess-358:MainThread] running the remaining "atexit" finalizers >[DEBUG:LokyProcess-357:MainThread] Exited cleanly >[INFO:LokyProcess-358:MainThread] process exiting with exitcode 0 >[INFO:LokyProcess-357:MainThread] process shutting down >[DEBUG:LokyProcess-357:MainThread] running all "atexit" finalizers with priority >= 0 >[DEBUG:LokyProcess-357:MainThread] running the remaining "atexit" finalizers >[INFO:LokyProcess-357:MainThread] process exiting with exitcode 0 >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257766805504 and name "/loky-38477-69dohdhb" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257766723584 and name "/loky-38477-sk23wob5" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257765756928 and name "/loky-38477-fp7ncpin" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257765752832 and name "/loky-38477-gcsx0c73" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257765748736 and name "/loky-38477-6w16dnnk" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257765744640 and name "/loky-38477-sgc72iio" >[DEBUG:LokyProcess-360:MainThread] recreated blocker with handle 140257764663296 and name "/loky-38477-y6n9yz0a" >[INFO:LokyProcess-360:MainThread] child process calling self.run() >[DEBUG:LokyProcess-360:MainThread] Worker started with timeout=None >[INFO:LokyProcess-360:MainThread] Shutting down worker on sentinel >[DEBUG:LokyProcess-360:MainThread] Exited cleanly >[INFO:LokyProcess-360:MainThread] process shutting down >[DEBUG:LokyProcess-360:MainThread] running all "atexit" finalizers with priority >= 0 >[DEBUG:LokyProcess-360:MainThread] running the remaining "atexit" finalizers >[INFO:LokyProcess-360:MainThread] process exiting with exitcode 0 >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257766805504 and name "/loky-38477-69dohdhb" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257766723584 and name "/loky-38477-sk23wob5" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257765756928 and name "/loky-38477-fp7ncpin" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257765752832 and name "/loky-38477-gcsx0c73" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257765748736 and name "/loky-38477-6w16dnnk" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257765744640 and name "/loky-38477-sgc72iio" >[DEBUG:LokyProcess-361:MainThread] recreated blocker with handle 140257764659200 and name "/loky-38477-kcmnivtv" >[INFO:LokyProcess-361:MainThread] child process calling self.run() >[DEBUG:LokyProcess-361:MainThread] Worker started with timeout=None >[INFO:LokyProcess-361:MainThread] Shutting down worker on sentinel >[DEBUG:LokyProcess-361:MainThread] Exited cleanly >[INFO:LokyProcess-361:MainThread] process shutting down >[DEBUG:LokyProcess-361:MainThread] running all "atexit" finalizers with priority >= 0 >[DEBUG:LokyProcess-361:MainThread] running the remaining "atexit" finalizers >[INFO:LokyProcess-361:MainThread] process exiting with exitcode 0 >[DEBUG:MainProcess:ExecutorManagerThread] executor management thread clean shutdown of worker processes: [41597, 41598, 41599, 41600, 41601] >_______________ TestResourceTracker.test_resource_utils[semlock] _______________ > >self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a8160> >rtype = 'semlock' > > @pytest.mark.parametrize("rtype", ["file", "folder", "semlock"]) > def test_resource_utils(self, rtype): > # Check that the resouce utils work as expected in the main process > if sys.platform == "win32" and rtype == "semlock": > pytest.skip("no semlock on windows") >> name = create_resource(rtype) > >rtype = 'semlock' >self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a8160> > >tests/test_resource_tracker.py:37: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >rtype = 'semlock' > > def create_resource(rtype): > if rtype == "folder": > return mkdtemp(dir=os.getcwd()) > elif rtype == "semlock": > name = f"test-loky-{os.getpid()}-{next(_rand_name)}" >> _SemLock(1, 1, 1, name, False) >E OSError: [Errno 24] No file descriptors available > >name = 'test-loky-38477-pi7ecuht' >rtype = 'semlock' > >tests/utils.py:29: OSError >__________ TestResourceTracker.test_child_retrieves_resource_tracker ___________ > >self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a85e0> > > def test_child_retrieves_resource_tracker(self): > parent_rtracker_pid = get_rtracker_pid() >> executor = ProcessPoolExecutor(max_workers=2) > >parent_rtracker_pid = 39333 >self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a85e0> > >tests/test_resource_tracker.py:44: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = () > initializer = None > job_reducers = None > max_workers = 2 > result_reducers = None > self = <loky.process_executor.ProcessPoolExecutor object at 0x7f904e371ac0> > timeout = None >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_______________ TestResourceTracker.test_resource_tracker_sigint _______________ > >self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a8730> > > @pytest.mark.skipif(sys.platform == "win32", > reason="Limited signal support on Windows") > def test_resource_tracker_sigint(self): > # Catchable signal (ignored by resource tracker) >> self.check_resource_tracker_death(signal.SIGINT, False) > >self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a8730> > >tests/test_resource_tracker.py:265: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/test_resource_tracker.py:243: in check_resource_tracker_death > sem = ctx.Semaphore() > _resource_tracker = <loky.backend.resource_tracker.ResourceTracker object at 0x7f9050058370> > all_warn = [] > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > pid = 41665 > self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a8730> > should_die = False > signum = <Signals.SIGINT: 2> >loky/backend/context.py:255: in Semaphore > return Semaphore(value=value) > Semaphore = <class 'loky.backend.synchronize.Semaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:137: in __init__ > SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX) > self = <Semaphore(value=unknown)> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Semaphore(value=unknown)>, kind = 1, value = 1, maxvalue = 2147483647 >name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 2147483647 >name = None >self = <Semaphore(value=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >----------------------------- Captured stderr call ----------------------------- >[DEBUG:MainProcess:MainThread] launching resource tracker: ['/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install/usr/bin/python3.8', '-B', '-c', 'from loky.backend.resource_tracker import main; main(14, False)'] >______________ TestResourceTracker.test_resource_tracker_sigterm _______________ > >self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a8a60> > > @pytest.mark.skipif(sys.platform == "win32", > reason="Limited signal support on Windows") > def test_resource_tracker_sigterm(self): > # Catchable signal (ignored by resource tracker) >> self.check_resource_tracker_death(signal.SIGTERM, False) > >self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a8a60> > >tests/test_resource_tracker.py:271: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/test_resource_tracker.py:243: in check_resource_tracker_death > sem = ctx.Semaphore() > _resource_tracker = <loky.backend.resource_tracker.ResourceTracker object at 0x7f9050058370> > all_warn = [] > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > pid = 41667 > self = <tests.test_resource_tracker.TestResourceTracker object at 0x7f904e9a8a60> > should_die = False > signum = <Signals.SIGTERM: 15> >loky/backend/context.py:255: in Semaphore > return Semaphore(value=value) > Semaphore = <class 'loky.backend.synchronize.Semaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 1 >loky/backend/synchronize.py:137: in __init__ > SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX) > self = <Semaphore(value=unknown)> > value = 1 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Semaphore(value=unknown)>, kind = 1, value = 1, maxvalue = 2147483647 >name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 2147483647 >name = None >self = <Semaphore(value=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >----------------------------- Captured stderr call ----------------------------- >[DEBUG:MainProcess:MainThread] launching resource tracker: ['/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0-python3_8/install/usr/bin/python3.8', '-B', '-c', 'from loky.backend.resource_tracker import main; main(14, False)'] >__________________________ TestCondition.test_notify ___________________________ > >self = <tests.test_synchronize.TestCondition object at 0x7f904eb5dd90> > > def test_notify(self): > cond = loky_context.Condition() >> sleeping = loky_context.Semaphore(0) > >cond = <Condition(<RLock(None, 0)>, 0)> >self = <tests.test_synchronize.TestCondition object at 0x7f904eb5dd90> > >tests/test_synchronize.py:159: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:255: in Semaphore > return Semaphore(value=value) > Semaphore = <class 'loky.backend.synchronize.Semaphore'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> > value = 0 >loky/backend/synchronize.py:137: in __init__ > SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX) > self = <Semaphore(value=unknown)> > value = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Semaphore(value=unknown)>, kind = 1, value = 0, maxvalue = 2147483647 >name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 2147483647 >name = None >self = <Semaphore(value=unknown)> >unlink_now = False >value = 0 > >loky/backend/synchronize.py:64: OSError >----------------------------- Captured stderr call ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >________________________ TestCondition.test_notify_all _________________________ > >self = <tests.test_synchronize.TestCondition object at 0x7f904eb3a730> > > def test_notify_all(self): >> cond = loky_context.Condition() > >self = <tests.test_synchronize.TestCondition object at 0x7f904eb3a730> > >tests/test_synchronize.py:203: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:275: in Condition > return Condition(lock) > Condition = <class 'loky.backend.synchronize.Condition'> > lock = None > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:234: in __init__ > self._woken_count = Semaphore(0) > lock = None > self = <Condition(<RLock(None, 0)>, unknown)> >loky/backend/synchronize.py:137: in __init__ > SemLock.__init__(self, SEMAPHORE, value, SEM_VALUE_MAX) > self = <Semaphore(value=unknown)> > value = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Semaphore(value=unknown)>, kind = 1, value = 0, maxvalue = 2147483647 >name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 2147483647 >name = None >self = <Semaphore(value=unknown)> >unlink_now = False >value = 0 > >loky/backend/synchronize.py:64: OSError >----------------------------- Captured stderr call ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >__________________________ TestCondition.test_timeout __________________________ > >self = <tests.test_synchronize.TestCondition object at 0x7f904eb419d0> > > def test_timeout(self): >> cond = loky_context.Condition() > >self = <tests.test_synchronize.TestCondition object at 0x7f904eb419d0> > >tests/test_synchronize.py:270: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:275: in Condition > return Condition(lock) > Condition = <class 'loky.backend.synchronize.Condition'> > lock = None > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:232: in __init__ > self._lock = lock or RLock() > lock = None > self = <[AttributeError("'Condition' object has no attribute '_lock'") raised in repr()] Condition object at 0x7f904e353880> >loky/backend/synchronize.py:205: in __init__ > super().__init__(RECURSIVE_MUTEX, 1, 1) > __class__ = <class 'loky.backend.synchronize.RLock'> > self = <RLock(unknown, unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <RLock(unknown, unknown)>, kind = 0, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 0 >maxvalue = 1 >name = None >self = <RLock(unknown, unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >__________________________ TestCondition.test_waitfor __________________________ > >self = <tests.test_synchronize.TestCondition object at 0x7f904eb41580> > > def test_waitfor(self): > # based on test in test/lock_tests.py >> cond = loky_context.Condition() > >self = <tests.test_synchronize.TestCondition object at 0x7f904eb41580> > >tests/test_synchronize.py:290: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:275: in Condition > return Condition(lock) > Condition = <class 'loky.backend.synchronize.Condition'> > lock = None > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:232: in __init__ > self._lock = lock or RLock() > lock = None > self = <[AttributeError("'Condition' object has no attribute '_lock'") raised in repr()] Condition object at 0x7f904e0c4130> >loky/backend/synchronize.py:205: in __init__ > super().__init__(RECURSIVE_MUTEX, 1, 1) > __class__ = <class 'loky.backend.synchronize.RLock'> > self = <RLock(unknown, unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <RLock(unknown, unknown)>, kind = 0, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 0 >maxvalue = 1 >name = None >self = <RLock(unknown, unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >________________________ TestCondition.test_wait_result ________________________ > >self = <tests.test_synchronize.TestCondition object at 0x7f904eb41220> > > def test_wait_result(self): > if sys.platform != 'win32': > pid = os.getpid() > else: > pid = None > >> c = loky_context.Condition() > >pid = 38477 >self = <tests.test_synchronize.TestCondition object at 0x7f904eb41220> > >tests/test_synchronize.py:331: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:275: in Condition > return Condition(lock) > Condition = <class 'loky.backend.synchronize.Condition'> > lock = None > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:232: in __init__ > self._lock = lock or RLock() > lock = None > self = <[AttributeError("'Condition' object has no attribute '_lock'") raised in repr()] Condition object at 0x7f904deff7f0> >loky/backend/synchronize.py:205: in __init__ > super().__init__(RECURSIVE_MUTEX, 1, 1) > __class__ = <class 'loky.backend.synchronize.RLock'> > self = <RLock(unknown, unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <RLock(unknown, unknown)>, kind = 0, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 0 >maxvalue = 1 >name = None >self = <RLock(unknown, unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_____________________________ TestEvent.test_event _____________________________ > >self = <tests.test_synchronize.TestEvent object at 0x7f904eb0a040> > > def test_event(self): >> event = loky_context.Event() > >self = <tests.test_synchronize.TestEvent object at 0x7f904eb0a040> > >tests/test_synchronize.py:355: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/backend/context.py:280: in Event > return Event() > Event = <class 'loky.backend.synchronize.Event'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:355: in __init__ > self._cond = Condition(Lock()) > self = <loky.backend.synchronize.Event object at 0x7f904e44e670> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >_________________ TestTimeoutExecutor.test_worker_timeout_mock _________________ > >self = <tests.test_worker_timeout.TestTimeoutExecutor object at 0x7f904eb0a2e0> > > def test_worker_timeout_mock(self): > timeout = .001 > context = get_context() > executor = ProcessPoolExecutor( > max_workers=4, context=context, timeout=timeout) >> result_queue = DelayedSimpleQueue(ctx=context, delay=.001) > >context = <loky.backend.context.LokyContext object at 0x7f9050108730> >executor = <loky.process_executor.ProcessPoolExecutor object at 0x7f904df1a4c0> >self = <tests.test_worker_timeout.TestTimeoutExecutor object at 0x7f904eb0a2e0> >timeout = 0.001 > >tests/test_worker_timeout.py:74: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >tests/test_worker_timeout.py:27: in __init__ > super().__init__(reducers=reducers, ctx=ctx) > __class__ = <class 'tests.test_worker_timeout.DelayedSimpleQueue'> > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > delay = 0.001 > reducers = None > self = <tests.test_worker_timeout.DelayedSimpleQueue object at 0x7f904dfbac10> >loky/backend/queues.py:164: in __init__ > super().__init__(ctx=ctx) > __class__ = <class 'loky.backend.queues.SimpleQueue'> > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > reducers = None > self = <tests.test_worker_timeout.DelayedSimpleQueue object at 0x7f904dfbac10> >/usr/lib/python3.8/multiprocessing/queues.py:336: in __init__ > self._rlock = ctx.Lock() > ctx = <loky.backend.context.LokyContext object at 0x7f9050108730> > self = <tests.test_worker_timeout.DelayedSimpleQueue object at 0x7f904dfbac10> >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >----------------------------- Captured stderr call ----------------------------- >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765744640 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765388288 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257765384192 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764945920 and name "None" >[DEBUG:MainProcess:MainThread] Queue._after_fork() >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764753408 and name "None" >[DEBUG:MainProcess:MainThread] created semlock with handle 140257764749312 and name "None" >[DEBUG:MainProcess:MainThread] ProcessPoolExecutor is setup >_____ TestTimeoutExecutor.test_worker_timeout_with_slowly_pickling_objects _____ > >self = <tests.test_worker_timeout.TestTimeoutExecutor object at 0x7f904eb0a460> >n_tasks = 5 > > def test_worker_timeout_with_slowly_pickling_objects(self, n_tasks=5): > """Check that the worker timeout can be low without deadlocking > > In particular if dispatching call items to the queue is slow because of > pickling large arguments, the executor should ensure that there is an > appropriate amount of workers to move one and not get stalled. > """ > with pytest.warns(UserWarning, > match='^A worker stopped while some jobs'): > for timeout, delay in [(0.01, 0.02), (0.01, 0.1), (0.1, 0.1), > (0.001, .1)]: >> executor = get_reusable_executor(max_workers=2, > timeout=timeout) > >delay = 0.02 >n_tasks = 5 >self = <tests.test_worker_timeout.TestTimeoutExecutor object at 0x7f904eb0a460> >timeout = 0.01 > >tests/test_worker_timeout.py:98: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/reusable_executor.py:81: in get_reusable_executor > _executor, _ = _ReusablePoolExecutor.get_reusable_executor( > context = None > env = None > initargs = () > initializer = None > job_reducers = None > kill_workers = False > max_workers = 2 > result_reducers = None > reuse = 'auto' > timeout = 0.01 >loky/reusable_executor.py:162: in get_reusable_executor > return cls.get_reusable_executor(max_workers=max_workers, > cls = <class 'loky.reusable_executor._ReusablePoolExecutor'> > context = None > env = None > executor = None > initargs = () > initializer = None > job_reducers = None > kill_workers = False > kwargs = {'context': None, > 'env': None, > 'initargs': (), > 'initializer': None, > 'job_reducers': None, > 'result_reducers': None, > 'timeout': 0.01} > max_workers = 2 > reason = 'shutdown' > result_reducers = None > reuse = False > timeout = 0.01 >loky/reusable_executor.py:140: in get_reusable_executor > _executor = executor = cls( > cls = <class 'loky.reusable_executor._ReusablePoolExecutor'> > context = None > env = None > executor = None > executor_id = 5 > initargs = () > initializer = None > is_reused = False > job_reducers = None > kill_workers = False > kwargs = {'context': None, > 'env': None, > 'initargs': (), > 'initializer': None, > 'job_reducers': None, > 'result_reducers': None, > 'timeout': 0.01} > max_workers = 2 > result_reducers = None > reuse = 'auto' > timeout = 0.01 >loky/reusable_executor.py:95: in __init__ > super().__init__( > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > context = None > env = None > executor_id = 5 > initargs = () > initializer = None > job_reducers = None > max_workers = 2 > result_reducers = None > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e0831c0> > submit_resize_lock = <unlocked _thread.RLock object owner=0 count=0 at 0x7f90501014b0> > timeout = 0.01 >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = () > initializer = None > job_reducers = None > max_workers = 2 > result_reducers = None > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904e0831c0> > timeout = 0.01 >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >----------------------------- Captured stderr call ----------------------------- >[DEBUG:MainProcess:MainThread] Creating a new executor with max_workers= 2 as the previous instance cannot be reused (shutdown). >[DEBUG:MainProcess:MainThread] shutting down executor <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904df8c1c0> >[DEBUG:MainProcess:MainThread] Create a executor with max_workers=2. >__________ TestTimeoutExecutor.test_worker_timeout_shutdown_deadlock ___________ > >self = <tests.test_worker_timeout.TestTimeoutExecutor object at 0x7f904eb0a4f0> > > def test_worker_timeout_shutdown_deadlock(self): > """Check that worker timeout don't cause deadlock when shutting down. > """ > with warnings.catch_warnings(record=True) as record: >> with get_reusable_executor(max_workers=2, timeout=.001) as e: > >record = [] >self = <tests.test_worker_timeout.TestTimeoutExecutor object at 0x7f904eb0a4f0> > >tests/test_worker_timeout.py:110: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >loky/reusable_executor.py:81: in get_reusable_executor > _executor, _ = _ReusablePoolExecutor.get_reusable_executor( > context = None > env = None > initargs = () > initializer = None > job_reducers = None > kill_workers = False > max_workers = 2 > result_reducers = None > reuse = 'auto' > timeout = 0.001 >loky/reusable_executor.py:140: in get_reusable_executor > _executor = executor = cls( > cls = <class 'loky.reusable_executor._ReusablePoolExecutor'> > context = None > env = None > executor = None > executor_id = 6 > initargs = () > initializer = None > is_reused = False > job_reducers = None > kill_workers = False > kwargs = {'context': None, > 'env': None, > 'initargs': (), > 'initializer': None, > 'job_reducers': None, > 'result_reducers': None, > 'timeout': 0.001} > max_workers = 2 > result_reducers = None > reuse = 'auto' > timeout = 0.001 >loky/reusable_executor.py:95: in __init__ > super().__init__( > __class__ = <class 'loky.reusable_executor._ReusablePoolExecutor'> > context = None > env = None > executor_id = 6 > initargs = () > initializer = None > job_reducers = None > max_workers = 2 > result_reducers = None > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904de95880> > submit_resize_lock = <unlocked _thread.RLock object owner=0 count=0 at 0x7f90501014b0> > timeout = 0.001 >loky/process_executor.py:989: in __init__ > self._processes_management_lock = self._context.Lock() > context = <loky.backend.context.LokyContext object at 0x7f9050108730> > env = None > initargs = () > initializer = None > job_reducers = None > max_workers = 2 > result_reducers = None > self = <loky.reusable_executor._ReusablePoolExecutor object at 0x7f904de95880> > timeout = 0.001 >loky/backend/context.py:265: in Lock > return Lock() > Lock = <class 'loky.backend.synchronize.Lock'> > self = <loky.backend.context.LokyContext object at 0x7f9050108730> >loky/backend/synchronize.py:179: in __init__ > super().__init__(SEMAPHORE, 1, 1) > __class__ = <class 'loky.backend.synchronize.Lock'> > self = <Lock(owner=unknown)> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Lock(owner=unknown)>, kind = 1, value = 1, maxvalue = 1, name = None > > def __init__(self, kind, value, maxvalue, name=None): > # unlink_now is only used on win32 or when we are using fork. > unlink_now = False > if name is None: > # Try to find an unused name for the SemLock instance. > for _ in range(100): > try: >> self._semlock = _SemLock( > kind, value, maxvalue, SemLock._make_name(), unlink_now > ) >E OSError: [Errno 24] No file descriptors available > >_ = 0 >kind = 1 >maxvalue = 1 >name = None >self = <Lock(owner=unknown)> >unlink_now = False >value = 1 > >loky/backend/synchronize.py:64: OSError >----------------------------- Captured stderr call ----------------------------- >[DEBUG:MainProcess:MainThread] Create a executor with max_workers=2. >=============================== warnings summary =============================== >tests/test_synchronize.py::test_semlock_failure > /usr/lib/python3.8/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: <Finalize object, dead> > > Traceback (most recent call last): > File "/usr/lib/python3.8/multiprocessing/util.py", line 224, in __call__ > res = self._callback(*self._args, **self._kwargs) > File "/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0/loky/backend/synchronize.py", line 98, in _cleanup > sem_unlink(name) > FileNotFoundError: [Errno 2] No such file or directory > > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================== short test summary info ============================ >SKIPPED [1] tests/utils.py:170: Test requires parallel_sum to be compiled >SKIPPED [1] tests/test_loky_module.py:76: docker is required to run this test >SKIPPED [3] tests/_test_process_executor.py:885: --skip-high-memory option was provided >SKIPPED [3] tests/_test_process_executor.py:896: Python version supports pickling objects of size > 2 ** 31GB >SKIPPED [1] tests/_test_process_executor.py:1007: Only work with loky context >SKIPPED [1] tests/_test_process_executor.py:1021: could not import 'viztracer': No module named 'viztracer' >SKIPPED [1] tests/_test_process_executor.py:1051: could not import 'viztracer': No module named 'viztracer' >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_del_shutdown >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_shutdown_no_wait >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_shutdown_deadlock_pickle >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_hang_issue39205 >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_shutdown_and_kill_workers >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_completed >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_completed_some_already_completed >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_exception >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_exception_some_already_complete >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_first_exception_one_already_failed >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_all_completed >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyWait::test_timeout >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyAsCompleted::test_no_timeout >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyAsCompleted::test_zero_timeout >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyAsCompleted::test_duplicate_futures >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_submit >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_submit_keyword >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_map >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_map_exception >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_map_timeout >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_shutdown_race_issue12456 >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_no_stale_references >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_max_workers_negative >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_killed_child >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_map_chunksize >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_traceback >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_thread_safety >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_submit_from_callback >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_worker_timeout >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_serialization >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_max_depth[True] >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_max_depth[False] >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_memory_leak_protection >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_reference_cycle_collection >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_exited_child >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_child_env_executor >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_viztracer_profiler >ERROR tests/test_process_executor_loky.py::TestsProcessPoolLokyExecutor::test_viztracer_profiler_with_custom_init >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_run_after_shutdown >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_with_pickle_error >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_with_sys_exit_at_pickle >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_interpreter_shutdown >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_hang_issue12364 >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_processes_terminate >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_processes_terminate_on_executor_gc >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_processes_crash_handling_after_executor_gc >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_context_manager_shutdown >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_del_shutdown >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_no_wait >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_deadlock_pickle >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_hang_issue39205 >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnShutdown::test_shutdown_and_kill_workers >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_completed >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_completed_some_already_completed >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_exception >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_exception_some_already_complete >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_first_exception_one_already_failed >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_all_completed >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnWait::test_timeout >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnAsCompleted::test_no_timeout >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnAsCompleted::test_zero_timeout >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnAsCompleted::test_duplicate_futures >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_submit >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_submit_keyword >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_map >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_map_exception >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_map_timeout >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_shutdown_race_issue12456 >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_no_stale_references >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_max_workers_negative >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_killed_child >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_map_chunksize >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_traceback >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_thread_safety >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_submit_from_callback >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_worker_timeout >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_serialization >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_max_depth[True] >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_max_depth[False] >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_memory_leak_protection >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_reference_cycle_collection >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_exited_child >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_child_env_executor >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_viztracer_profiler >ERROR tests/test_process_executor_spawn.py::TestsProcessPoolSpawnExecutor::test_viztracer_profiler_with_custom_init >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args0-PicklingError-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args1-PicklingError-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args2-BrokenProcessPool-SystemExit] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args3-TerminatedWorkerError-EXIT\\(0\\)] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args4-BrokenProcessPool-UnpicklingError] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[id-args5-TerminatedWorkerError-SIGSEGV] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[crash-args6-TerminatedWorkerError-SIGSEGV] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[exit-args7-SystemExit-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[c_exit-args8-TerminatedWorkerError-EXIT\\(0\\)] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[raise_error-args9-RuntimeError-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args10-TerminatedWorkerError-SIGSEGV] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args11-SystemExit-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args12-TerminatedWorkerError-EXIT\\(0\\)] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args13-PicklingError-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args14-BrokenProcessPool-SystemExit] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crashes[return_instance-args15-BrokenProcessPool-UnpicklingError] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args0-PicklingError-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args1-PicklingError-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args2-BrokenProcessPool-SystemExit] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args3-TerminatedWorkerError-EXIT\\(0\\)] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args4-BrokenProcessPool-UnpicklingError] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[id-args5-TerminatedWorkerError-SIGSEGV] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[crash-args6-TerminatedWorkerError-SIGSEGV] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[exit-args7-SystemExit-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[c_exit-args8-TerminatedWorkerError-EXIT\\(0\\)] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[raise_error-args9-RuntimeError-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args10-TerminatedWorkerError-SIGSEGV] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args11-SystemExit-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args12-TerminatedWorkerError-EXIT\\(0\\)] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args13-PicklingError-None] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args14-BrokenProcessPool-SystemExit] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_in_callback_submit_with_crash[return_instance-args15-BrokenProcessPool-UnpicklingError] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_callback_crash_on_submit >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crash_races[1] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crash_races[2] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crash_races[5] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_crash_races[13] >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_imap_handle_iterable_exception >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_queue_full_deadlock >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_informative_error_when_fail_at_unpickle >ERROR tests/test_reusable_executor.py::TestExecutorDeadLock::test_numpy_dot_parent_and_child_no_freeze >ERROR tests/test_reusable_executor.py::TestTerminateExecutor::test_shutdown_kill >ERROR tests/test_reusable_executor.py::TestTerminateExecutor::test_shutdown_deadlock >ERROR tests/test_reusable_executor.py::TestTerminateExecutor::test_kill_workers_on_new_options >ERROR tests/test_reusable_executor.py::TestTerminateExecutor::test_call_item_gc_crash_or_exit[CrashAtGCInWorker-SIGSEGV] >ERROR tests/test_reusable_executor.py::TestTerminateExecutor::test_call_item_gc_crash_or_exit[CExitAtGCInWorker-EXIT\\(0\\)] >ERROR tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize >ERROR tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize_many_times[True-True] >ERROR tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize_many_times[True-False] >ERROR tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize_many_times[False-True] >ERROR tests/test_reusable_executor.py::TestResizeExecutor::test_reusable_executor_resize_many_times[False-False] >ERROR tests/test_reusable_executor.py::TestResizeExecutor::test_kill_after_resize_call >ERROR tests/test_reusable_executor.py::TestResizeExecutor::test_resize_after_timeout >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_invalid_process_number >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_invalid_context >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_pass_start_method_name_as_context >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_interactively_defined_executor_no_main >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_reused_flag >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_interactively_defined_nested_functions >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_interactively_defined_recursive_functions >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_compat_with_concurrent_futures_exception >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_thread_safety[constant-clean_start] >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_thread_safety[constant-broken_start] >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_thread_safety[varying-clean_start] >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_thread_safety[varying-broken_start] >ERROR tests/test_reusable_executor.py::TestGetReusableExecutor::test_reusable_executor_reuse_true >ERROR tests/test_reusable_executor.py::TestExecutorInitializer::test_reusable_initializer >FAILED tests/test_loky_module.py::test_cpu_count_affinity - AssertionError: a... >FAILED tests/test_process_executor_loky.py::TestsProcessPoolLokyShutdown::test_context_manager_shutdown >FAILED tests/test_resource_tracker.py::TestResourceTracker::test_resource_utils[semlock] >FAILED tests/test_resource_tracker.py::TestResourceTracker::test_child_retrieves_resource_tracker >FAILED tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker_sigint >FAILED tests/test_resource_tracker.py::TestResourceTracker::test_resource_tracker_sigterm >FAILED tests/test_synchronize.py::TestCondition::test_notify - OSError: [Errn... >FAILED tests/test_synchronize.py::TestCondition::test_notify_all - OSError: [... >FAILED tests/test_synchronize.py::TestCondition::test_timeout - OSError: [Err... >FAILED tests/test_synchronize.py::TestCondition::test_waitfor - OSError: [Err... >FAILED tests/test_synchronize.py::TestCondition::test_wait_result - OSError: ... >FAILED tests/test_synchronize.py::TestEvent::test_event - OSError: [Errno 24]... >FAILED tests/test_worker_timeout.py::TestTimeoutExecutor::test_worker_timeout_mock >FAILED tests/test_worker_timeout.py::TestTimeoutExecutor::test_worker_timeout_with_slowly_pickling_objects >FAILED tests/test_worker_timeout.py::TestTimeoutExecutor::test_worker_timeout_shutdown_deadlock >= 15 failed, 126 passed, 11 skipped, 1 deselected, 1 warning, 152 errors in 141.03s (0:02:21) = >[INFO:MainProcess:MainThread] process shutting down >[DEBUG:MainProcess:MainThread] running all "atexit" finalizers with priority >= 0 >[DEBUG:MainProcess:MainThread] Interpreter shutting down. Waking up executor_manager_thread [] >[DEBUG:MainProcess:MainThread] running the remaining "atexit" finalizers > * ERROR: dev-python/loky-3.1.0::gentoo failed (test phase): > * pytest failed with python3.8 > * > * Call stack: > * ebuild.sh, line 127: Called src_test > * environment, line 3212: Called distutils-r1_src_test > * environment, line 1492: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 611: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2888: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2382: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2380: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 944: Called distutils-r1_run_phase 'python_test' > * environment, line 1419: Called python_test > * environment, line 3179: Called epytest '--skip-high-memory' '-p' 'no:xvfb' > * environment, line 1893: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/loky-3.1.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/loky-3.1.0::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/loky-3.1.0:20220306-040304.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/loky-3.1.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/loky-3.1.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0' > * S: '/var/tmp/portage/dev-python/loky-3.1.0/work/loky-3.1.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 834660
: 766379